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

read-only jdb against appserver crashes with an exception trace

XMLWordPrintable

    • beta2
    • generic
    • generic

      While trying to connect read-only jdb to a Sun ONE app server process, it crashes with the following java stack trace:

      bash-2.05# jdbproc.sh 6313
      /opt/diagtest/jdk/sa/sa142/jdbproc.sh attaching to PID=6313
      Set uncaught java.lang.Throwable
      Set deferred uncaught java.lang.Throwable
      java.lang.reflect.InvocationTargetException
          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
          at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
          at sun.jvm.hotspot.utilities.ObjectReader.readInstance(ObjectReader.java:81)
          at sun.jvm.hotspot.utilities.ObjectReader.readObject(ObjectReader.java:29)
          at sun.jvm.hotspot.utilities.ObjectReader$FieldSetter.doOop(ObjectReader.java:264)
          at sun.jvm.hotspot.oops.InstanceKlass.visitField(InstanceKlass.java:492) at sun.jvm.hotspot.oops.InstanceKlass.iterateNonStaticFields(InstanceKlass.java:239)
          at sun.jvm.hotspot.oops.InstanceKlass.iterateNonStaticFields(InstanceKlass.java:227)
          at sun.jvm.hotspot.oops.Instance.iterateFields(Instance.java:39)
          at sun.jvm.hotspot.oops.Oop.iterate(Oop.java:123)
          at sun.jvm.hotspot.utilities.ObjectReader.readInstance(ObjectReader.java:85)
          at sun.jvm.hotspot.utilities.ObjectReader.readObject(ObjectReader.java:29)
          at sun.jvm.hotspot.runtime.VM$2.doOop(VM.java:692)
          at sun.jvm.hotspot.oops.InstanceKlass.visitField(InstanceKlass.java:492) at sun.jvm.hotspot.oops.InstanceKlass.iterateFields(InstanceKlass.java:211)
          at sun.jvm.hotspot.oops.Oop.iterate(Oop.java:123)
          at sun.jvm.hotspot.runtime.VM.readSystemProperties(VM.java:687)
          at sun.jvm.hotspot.runtime.VM.getSystemProperties(VM.java:680)
          at sun.jvm.hotspot.runtime.VM.getSystemProperty(VM.java:675)
          at sun.jvm.hotspot.jdi.VirtualMachineImpl.getPath(VirtualMachineImpl.java:605)
          at sun.jvm.hotspot.jdi.VirtualMachineImpl.classPath(VirtualMachineImpl.java:617)
          at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:189)
          at com.sun.tools.example.debug.tty.Env.init(Env.java:63)
          at com.sun.tools.example.debug.tty.TTY.main(TTY.java:849)
      Caused by: java.lang.NullPointerException
          at java.util.Collections$SynchronizedCollection.<init>(Collections.java:1527)
          at java.util.Collections$SynchronizedSet.<init>(Collections.java:1622)
          ... 26 more
      java.lang.RuntimeException
          at sun.jvm.hotspot.utilities.ObjectReader$FieldSetter.doOop(ObjectReader.java:267)
          at sun.jvm.hotspot.oops.InstanceKlass.visitField(InstanceKlass.java:492) at sun.jvm.hotspot.oops.InstanceKlass.iterateNonStaticFields(InstanceKlass.java:239)
          at sun.jvm.hotspot.oops.InstanceKlass.iterateNonStaticFields(InstanceKlass.java:227)
          at sun.jvm.hotspot.oops.Instance.iterateFields(Instance.java:39)
          at sun.jvm.hotspot.oops.Oop.iterate(Oop.java:123)
          at sun.jvm.hotspot.utilities.ObjectReader.readInstance(ObjectReader.java
      :85)
          at sun.jvm.hotspot.utilities.ObjectReader.readObject(ObjectReader.java:2
      9)
          at sun.jvm.hotspot.runtime.VM$2.doOop(VM.java:692)
          at sun.jvm.hotspot.oops.InstanceKlass.visitField(InstanceKlass.java:492)
          at sun.jvm.hotspot.oops.InstanceKlass.iterateFields(InstanceKlass.java:2
      11)
          at sun.jvm.hotspot.oops.Oop.iterate(Oop.java:123)
          at sun.jvm.hotspot.runtime.VM.readSystemProperties(VM.java:687)
          at sun.jvm.hotspot.runtime.VM.getSystemProperties(VM.java:680)
          at sun.jvm.hotspot.runtime.VM.getSystemProperty(VM.java:675)
          at sun.jvm.hotspot.jdi.VirtualMachineImpl.getPath(VirtualMachineImpl.jav
      a:605)
          at sun.jvm.hotspot.jdi.VirtualMachineImpl.classPath(VirtualMachineImpl.j
      ava:617)
          at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:1
      89)
          at com.sun.tools.example.debug.tty.Env.init(Env.java:63)
          at com.sun.tools.example.debug.tty.TTY.main(TTY.java:849)
      Internal exception:
      java.lang.NullPointerException
          at sun.jvm.hotspot.runtime.VM.getSystemProperty(VM.java:675)
          at sun.jvm.hotspot.jdi.VirtualMachineImpl.getPath(VirtualMachineImpl.jav
      a:605)
          at sun.jvm.hotspot.jdi.VirtualMachineImpl.classPath(VirtualMachineImpl.j
      ava:617)
          at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:1
      89)
          at com.sun.tools.example.debug.tty.Env.init(Env.java:63)
          at com.sun.tools.example.debug.tty.TTY.main(TTY.java:849)


      --

      This was reported by ###@###.###.


      ###@###.### 2004-01-05

            sundar Sundararajan Athijegannathan
            sundar Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: