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

NullPointerException on inner class

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.2fcs
    • CPU:
      sparc
    • OS:
      solaris_2.6
    • Verification:
      Verified

      Description

      JDK Version: 1.2fcs-C
      OS: Solaris 2.6
      Locale: zh, C

      Some class will call javap to generate Exception.

      Please set jdk 1o 1.2fcs-C, use javap to attached class file:

      javap MyClassLoader
      An Exception will generate as follows:
      Exception in thread "main" java.lang.NullPointerException
              at sun.tools.java.BinaryClass.initInnerClasses(Compiled Code)
              at sun.tools.java.BinaryClass.loadNested(Compiled Code)
              at sun.tools.javap.JavaPEnvironment.loadDefinition(Compiled Code)
              at sun.tools.java.ClassDeclaration.getClassDefinition(Compiled Code)
              at sun.tools.java.ClassDefinition.collectOneClass(Compiled Code)
              at sun.tools.java.ClassDefinition.collectInheritedMethods(Compiled Code)
              at sun.tools.java.BinaryClass.basicCheck(Compiled Code)
              at sun.tools.java.ClassDeclaration.getClassDefinition(Compiled Code)
              at sun.tools.java.Environment.getClassDefinition(Compiled Code)
              at sun.tools.javap.JavaP.displayResults(Compiled Code)
              at sun.tools.javap.JavaP.perform(Compiled Code)
              at sun.tools.javap.JavaP.entry(Compiled Code)
              at sun.tools.javap.JavaP.main(Compiled Code)


      jim.hu@prc 1998-07-27

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              wmaddoxsunw William Maddox (Inactive)
              Reporter:
              jhusunw Jim Hu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: