Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8171896

Nullpointer exception while try to unmarshal value from the RMI

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_8, aix

      Description

      FULL PRODUCT VERSION :
      Using JRE version 1.8.0_45-b14 Java HotSpot(TM) 64-Bit Server VM

      ADDITIONAL OS VERSION INFORMATION :
      Server OS AIX 6.1 6100-09
      Client Windows 8

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      RMI Server JVM
      java version "1.6.0"
      Java(TM) SE Runtime Environment (build pap3260sr16fp1-20140706_01(SR16 FP1))
      IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc-32 jvmap3260sr16-20140626_204542 (JIT enabled, AOT enabled)
      J9VM - 20140626_204542
      JIT - r9_20130920_46510ifx7
      GC - GA24_Java6_SR16_20140626_1848_B204542)
      JCL - 20140704_01

      Client JVM
      Using JRE version 1.8.0_45-b14 Java HotSpot(TM) 64-Bit Server VM

      Java Web Start 11.45.2.14




      A DESCRIPTION OF THE PROBLEM :
      NUllpointer exception seldom (daily) appear on webstart java console causing some UI (Swing) issues.
      28/11 10:57:49.012 java.lang.NullPointerException
      at com.sun.deploy.security.CPCallbackHandler.isAuthenticated(Unknown Source)
      at java.net.URLClassLoader$1.run(Unknown Source)
      at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at c2.prm.ReadResult.readExternal(ReadResult.java:56)
      at java.io.ObjectInputStream.readExternalData(Unknown Source)
      at sun.rmi.server.UnicastRef.unmarshalValue(Unknown Source)
      at c2.server.Server_Stub.read(Unknown Source)
      at c2.prm.DefaultServerImpl.read(DefaultServerImpl.java:134)
      at c2.prm.PrmFunc.readIData(PrmFunc.java:302)
      at c2.prm.PrmFunc.readIData(PrmFunc.java:272)


      and

      29/11 17:31:24.944
      java.lang.NullPointerException
      at com.sun.deploy.security.CPCallbackHandler.isAuthenticated(Unknown Source)
      at com.sun.deploy.security.CPCallbackHandler.access$1600(Unknown Source)
      at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.Class.getDeclaredFields0(Native Method)
      at java.lang.Class.privateGetDeclaredFields(Unknown Source)
      at java.lang.Class.getDeclaredFields(Unknown Source)
      at java.io.ObjectStreamClass.getDefaultSerialFields(Unknown Source)
      at java.io.ObjectStreamClass.getSerialFields(Unknown Source)
      at java.io.ObjectStreamClass.access$800(Unknown Source)
      at java.io.ObjectStreamClass$2.run(Unknown Source)
      at java.io.ObjectStreamClass$2.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.io.ObjectStreamClass.<init>(Unknown Source)
      at java.io.ObjectStreamClass.lookup(Unknown Source)
      at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
      at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
      at java.io.ObjectInputStream.readClassDesc(Unknown Source)
      at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
      at java.io.ObjectInputStream.readObject0(Unknown Source)
      at java.io.ObjectInputStream.readObject(Unknown Source)
      at c2.util.Serialize.readObject(Serialize.java:148)
      at c2.util.Serialize.readObject(Serialize.java:138)



      REGRESSION. Last worked in version 8u92

      ADDITIONAL REGRESSION INFORMATION:
      Using JRE version 1.8.0_45-b14 Java HotSpot(TM) 64-Bit Server VM

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Access RMI application fails to marshal the results from the client jvm

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Access RMI application to marshal return object
      ACTUAL -
      Access RMI application fails to marshal the results from the client jvm
      NullPointerException

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      28/11 10:57:49.012 java.lang.NullPointerException
      at com.sun.deploy.security.CPCallbackHandler.isAuthenticated(Unknown Source)
      at java.net.URLClassLoader$1.run(Unknown Source)
      at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at c2.prm.ReadResult.readExternal(ReadResult.java:56)
      at java.io.ObjectInputStream.readExternalData(Unknown Source)
      at sun.rmi.server.UnicastRef.unmarshalValue(Unknown Source)
      at c2.server.Server_Stub.read(Unknown Source)
      at c2.prm.DefaultServerImpl.read(DefaultServerImpl.java:134)
      at c2.prm.PrmFunc.readIData(PrmFunc.java:302)
      at c2.prm.PrmFunc.readIData(PrmFunc.java:272)


      and

      29/11 17:31:24.944
      java.lang.NullPointerException
      at com.sun.deploy.security.CPCallbackHandler.isAuthenticated(Unknown Source)
      at com.sun.deploy.security.CPCallbackHandler.access$1600(Unknown Source)
      at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.Class.getDeclaredFields0(Native Method)
      at java.lang.Class.privateGetDeclaredFields(Unknown Source)
      at java.lang.Class.getDeclaredFields(Unknown Source)
      at java.io.ObjectStreamClass.getDefaultSerialFields(Unknown Source)
      at java.io.ObjectStreamClass.getSerialFields(Unknown Source)
      at java.io.ObjectStreamClass.access$800(Unknown Source)
      at java.io.ObjectStreamClass$2.run(Unknown Source)
      at java.io.ObjectStreamClass$2.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.io.ObjectStreamClass.<init>(Unknown Source)
      at java.io.ObjectStreamClass.lookup(Unknown Source)
      at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
      at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
      at java.io.ObjectInputStream.readClassDesc(Unknown Source)
      at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
      at java.io.ObjectInputStream.readObject0(Unknown Source)
      at java.io.ObjectInputStream.readObject(Unknown Source)
      at c2.util.Serialize.readObject(Serialize.java:148)
      at c2.util.Serialize.readObject(Serialize.java:138)


      REPRODUCIBILITY :
      This bug can be reproduced often.

      SUPPORT :
      YES

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pardesha Pardeep Sharma
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: