Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.2.2
    • Fix Version/s: None
    • Component/s: hk2
    • Labels:
      None
    • Environment:

      Solaris 10

      Description

      Starting GF logs errors

      [#|2013-01-09T14:53:31.596+0100|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=16;_ThreadName=Thread-2;|Exception while visiting netscape/applet/DerivedAppletFrame.class of size 0
      java.lang.ArrayIndexOutOfBoundsException: 8
      	at org.objectweb.asm.ClassReader.readUnsignedShort(Unknown Source)
      	at org.objectweb.asm.ClassReader.<init>(Unknown Source)
      	at org.objectweb.asm.ClassReader.<init>(Unknown Source)
      	at org.objectweb.asm.ClassReader.<init>(Unknown Source)
      	at org.glassfish.hk2.classmodel.reflect.Parser$5.on(Parser.java:362)
      	at com.sun.enterprise.v3.server.ReadableArchiveScannerAdapter.handleEntry(ReadableArchiveScannerAdapter.java:171)
      	at com.sun.enterprise.v3.server.ReadableArchiveScannerAdapter.onSelectedEntries(ReadableArchiveScannerAdapter.java:133)
      	at org.glassfish.hk2.classmodel.reflect.Parser.doJob(Parser.java:348)
      	at org.glassfish.hk2.classmodel.reflect.Parser.access$300(Parser.java:70)
      	at org.glassfish.hk2.classmodel.reflect.Parser$3.call(Parser.java:307)
      	at org.glassfish.hk2.classmodel.reflect.Parser$3.call(Parser.java:296)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:662)
      |#]
      
      [#|2013-01-09T14:53:31.611+0100|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=16;_ThreadName=Thread-2;|Exception while visiting netscape/security/PrivilegeManager.class of size 0
      java.lang.ArrayIndexOutOfBoundsException: 8
      	at org.objectweb.asm.ClassReader.readUnsignedShort(Unknown Source)
      	at org.objectweb.asm.ClassReader.<init>(Unknown Source)
      	at org.objectweb.asm.ClassReader.<init>(Unknown Source)
      	at org.objectweb.asm.ClassReader.<init>(Unknown Source)
      	at org.glassfish.hk2.classmodel.reflect.Parser$5.on(Parser.java:362)
      	at com.sun.enterprise.v3.server.ReadableArchiveScannerAdapter.handleEntry(ReadableArchiveScannerAdapter.java:171)
      	at com.sun.enterprise.v3.server.ReadableArchiveScannerAdapter.onSelectedEntries(ReadableArchiveScannerAdapter.java:133)
      	at org.glassfish.hk2.classmodel.reflect.Parser.doJob(Parser.java:348)
      	at org.glassfish.hk2.classmodel.reflect.Parser.access$300(Parser.java:70)
      	at org.glassfish.hk2.classmodel.reflect.Parser$3.call(Parser.java:307)
      	at org.glassfish.hk2.classmodel.reflect.Parser$3.call(Parser.java:296)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:662)
      |#]
      
      [#|2013-01-09T14:53:31.615+0100|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=16;_ThreadName=Thread-2;|Exception while visiting com/ms/security/PolicyEngine.class of size 0
      java.lang.ArrayIndexOutOfBoundsException: 8
      	at org.objectweb.asm.ClassReader.readUnsignedShort(Unknown Source)
      	at org.objectweb.asm.ClassReader.<init>(Unknown Source)
      	at org.objectweb.asm.ClassReader.<init>(Unknown Source)
      	at org.objectweb.asm.ClassReader.<init>(Unknown Source)
      	at org.glassfish.hk2.classmodel.reflect.Parser$5.on(Parser.java:362)
      	at com.sun.enterprise.v3.server.ReadableArchiveScannerAdapter.handleEntry(ReadableArchiveScannerAdapter.java:171)
      	at com.sun.enterprise.v3.server.ReadableArchiveScannerAdapter.onSelectedEntries(ReadableArchiveScannerAdapter.java:133)
      	at org.glassfish.hk2.classmodel.reflect.Parser.doJob(Parser.java:348)
      	at org.glassfish.hk2.classmodel.reflect.Parser.access$300(Parser.java:70)
      	at org.glassfish.hk2.classmodel.reflect.Parser$3.call(Parser.java:307)
      	at org.glassfish.hk2.classmodel.reflect.Parser$3.call(Parser.java:296)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:662)
      |#]
      
      [#|2013-01-09T14:53:33.009+0100|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=16;_ThreadName=Thread-2;|Exception while visiting netscape/applet/DerivedAppletFrame.class of size 0
      java.lang.ArrayIndexOutOfBoundsException
      |#]
      
      [#|2013-01-09T14:53:33.071+0100|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=16;_ThreadName=Thread-2;|Exception while visiting netscape/security/PrivilegeManager.class of size 0
      java.lang.ArrayIndexOutOfBoundsException
      |#]
      
      [#|2013-01-09T14:53:33.073+0100|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=16;_ThreadName=Thread-2;|Exception while visiting com/ms/security/PolicyEngine.class of size 0
      java.lang.ArrayIndexOutOfBoundsException
      |#]
      

        Activity

        Hide
        kumara added a comment -

        Do you have more information on which jar file contains the classes netscape/security/PrivilegeManager.class and com/ms/security/PolicyEngine.class. Are these signed jar files?

        Show
        kumara added a comment - Do you have more information on which jar file contains the classes netscape/security/PrivilegeManager.class and com/ms/security/PolicyEngine.class. Are these signed jar files?
        Hide
        cobre420 added a comment -

        There is one application jar (Oracle waveset) in which are these classes. This jars are not signed. Does signin it will resolve this problem?

        Show
        cobre420 added a comment - There is one application jar (Oracle waveset) in which are these classes. This jars are not signed. Does signin it will resolve this problem?
        Hide
        kumara added a comment -

        Signing is unlikely to fix this issue. This needs further investigation but the application server is going to start (and applications will load) even with this exception recorded in the log file. Is it possible to attach a small test case to reproduce this.

        Show
        kumara added a comment - Signing is unlikely to fix this issue. This needs further investigation but the application server is going to start (and applications will load) even with this exception recorded in the log file. Is it possible to attach a small test case to reproduce this.
        Hide
        realdocsnyder added a comment -

        @cobre420

        I've got the same problem when starting glassfish 3.1.22 with netbeans 7.2.1 for IDM (Exception while visiting netscape/applet/DerivedAppletFrame.class of size 0).

        Did you resolve your problem?

        Show
        realdocsnyder added a comment - @cobre420 I've got the same problem when starting glassfish 3.1.22 with netbeans 7.2.1 for IDM (Exception while visiting netscape/applet/DerivedAppletFrame.class of size 0). Did you resolve your problem?

          People

          • Assignee:
            Mahesh Kannan
            Reporter:
            cobre420
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: