glassfish
  1. glassfish
  2. GLASSFISH-18609

Glassfish throws NullPointerException on startup

    Details

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

      Windows Server 2008 R2 Standard SP1 & Windows XP Version 2003 SP2 x64, JDK 1.7u3, GF 3.1.2, embedded derby drivers and Oracle ojdbc6

      Description

      During GF server startup/restart the following SEVERE exception is thrown:

      [#|2012-04-09T23:29:00.171-0400|SEVERE|glassfish3.1.2|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=57;_ThreadName=Thread-2;|Exception while visiting com/sun/gjc/spi/JdbcObjectsFactory.class of size 3630
      java.lang.NullPointerException
      at org.glassfish.hk2.classmodel.reflect.impl.TypesImpl.getType(TypesImpl.java:78)
      at org.glassfish.hk2.classmodel.reflect.impl.ModelClassVisitor.visit(ModelClassVisitor.java:119)
      at org.objectweb.asm.ClassReader.accept(Unknown Source)
      at org.objectweb.asm.ClassReader.accept(Unknown Source)
      at org.glassfish.hk2.classmodel.reflect.Parser$5.on(Parser.java:363)
      at org.glassfish.hk2.classmodel.reflect.util.JarArchive.onSelectedEntries(JarArchive.java:125)
      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:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:722)

      #]

      This may be related to http://java.net/jira/browse/GLASSFISH-17061. One of our environments where we see this uses the bundled embedded derby with a GF managed Derby connection pool. The other environment we see this uses Oracle's ojdbc6 thin driver with a GF managed JDBC connection pool/resource.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Mahesh Kannan
            Reporter:
            emailnbw
          • Votes:
            21 Vote for this issue
            Watchers:
            18 Start watching this issue

            Dates

            • Created:
              Updated: