dev@glassfish.java.net

v3 - NullPointerException due to SnifferManager during application loading

From: Jagadish Prasath Ramu <Jagadish.Ramu_at_Sun.COM>
Date: Mon, 19 May 2008 19:19:43 +0530

I am unable to access a web application.
Deployment succeeds and works fine for the first time.
Once GlassFish is restarted, it does not work any more.
I see the following exception in server.log.

Issue seems to be due to "SnifferManager" in ApplicationLoaderService
not initialized (NPE).


Thanks,
-Jagadish

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[#|2008-05-19T19:10:37.247+0530|SEVERE|GlassFish10.0|null|
_ThreadID=12;_ThreadName=Thread-4;|java.lang.NullPointerException|#]
[#|2008-05-19T19:10:37.248+0530|SEVERE|GlassFish10.0|null|
_ThreadID=12;_ThreadName=Thread-4;| at
com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:219)|#]
[#|2008-05-19T19:10:37.248+0530|SEVERE|GlassFish10.0|null|
_ThreadID=12;_ThreadName=Thread-4;| at
com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:108)|#]
[#|2008-05-19T19:10:37.248+0530|SEVERE|GlassFish10.0|null|
_ThreadID=12;_ThreadName=Thread-4;| at
com.sun.enterprise.v3.server.ApplicationLoaderInjector.postConstruct(ApplicationLoaderInjector.java:55)|#]
[#|2008-05-19T19:10:37.248+0530|SEVERE|GlassFish10.0|null|
_ThreadID=12;_ThreadName=Thread-4;| at
com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150)|#]
[#|2008-05-19T19:10:37.249+0530|SEVERE|GlassFish10.0|null|
_ThreadID=12;_ThreadName=Thread-4;| at
com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:86)|#]
[#|2008-05-19T19:10:37.249+0530|SEVERE|GlassFish10.0|null|
_ThreadID=12;_ThreadName=Thread-4;| at
com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)|#]
[#|2008-05-19T19:10:37.249+0530|SEVERE|GlassFish10.0|null|
_ThreadID=12;_ThreadName=Thread-4;| at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)|#]
[#|2008-05-19T19:10:37.250+0530|SEVERE|GlassFish10.0|null|
_ThreadID=12;_ThreadName=Thread-4;| at
com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)|#]
[#|2008-05-19T19:10:37.255+0530|SEVERE|GlassFish10.0|null|
_ThreadID=12;_ThreadName=Thread-4;| at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)|#]
[#|2008-05-19T19:10:37.256+0530|SEVERE|GlassFish10.0|null|
_ThreadID=12;_ThreadName=Thread-4;| at
com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:107)|#]
[#|2008-05-19T19:10:37.256+0530|SEVERE|GlassFish10.0|null|
_ThreadID=12;_ThreadName=Thread-4;| at
com.sun.enterprise.module.bootstrap.Main.launch(Main.java:431)|#]
[#|2008-05-19T19:10:37.256+0530|SEVERE|GlassFish10.0|null|
_ThreadID=12;_ThreadName=Thread-4;| at
com.sun.enterprise.module.bootstrap.Main.launch(Main.java:376)|#]
[#|2008-05-19T19:10:37.257+0530|SEVERE|GlassFish10.0|null|
_ThreadID=12;_ThreadName=Thread-4;| at
com.sun.enterprise.module.bootstrap.Main.launch(Main.java:310)|#]
[#|2008-05-19T19:10:37.257+0530|SEVERE|GlassFish10.0|null|
_ThreadID=12;_ThreadName=Thread-4;| at
com.sun.enterprise.module.bootstrap.Main.start(Main.java:172)|#]
[#|2008-05-19T19:10:37.257+0530|SEVERE|GlassFish10.0|null|
_ThreadID=12;_ThreadName=Thread-4;| at
com.sun.enterprise.module.bootstrap.Main$1.run(Main.java:102)|#]
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------