Skip to main content

NPE in server log

1 reply [Last post]
pcmreddy
Offline
Joined: 2004-06-09

Hi Team,

We found the following exception in GlassFish server log. Is this is a known issue? Is there any work around for this problem?

I do not have any special steps to reproduce this. How ever this Exception appeared on two different machines with the following configuration.

Server details :
GlassFish V2
jdk1.6.0_05
Solaris 10 on T2K

java.lang.NullPointerException
at java.lang.String.startsWith(String.java:1422)
at java.lang.String.startsWith(String.java:1451)
at org.apache.naming.resources.FileDirContext.file(FileDirContext.java:916)
at org.apache.naming.resources.FileDirContext.getAttributes(FileDirContext.java:491)
at org.apache.naming.resources.BaseDirContext.getAttributes(BaseDirContext.java:774)
at org.apache.naming.resources.ProxyDirContext.revalidate(ProxyDirContext.java:1519)
at org.apache.naming.resources.ProxyDirContext.cacheLookup(ProxyDirContext.java:1475)
at org.apache.naming.resources.ProxyDirContext.lookup(ProxyDirContext.java:306)
at org.apache.tomcat.util.http.mapper.Mapper.internalMapWrapper(Mapper.java:903)
at org.apache.tomcat.util.http.mapper.Mapper.internalMap(Mapper.java:785)
at org.apache.tomcat.util.http.mapper.Mapper.map(Mapper.java:644)
at org.apache.coyote.tomcat5.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:436)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:237)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Jeanfrancois Arcand

Hi,

can you file an issue here:

https://glassfish.dev.java.net/servlets/ProjectIssues

first time I see that stack trace :-) Can you share your application
that produce this exception? Was the war deployment successful?

Thanks

--Jeanfrancois

glassfish@javadesktop.org wrote:
> Hi Team,
>
> We found the following exception in GlassFish server log. Is this is a known issue? Is there any work around for this problem?
>
> I do not have any special steps to reproduce this. How ever this Exception appeared on two different machines with the following configuration.
>
> Server details :
> GlassFish V2
> jdk1.6.0_05
> Solaris 10 on T2K
>
> java.lang.NullPointerException
> at java.lang.String.startsWith(String.java:1422)
> at java.lang.String.startsWith(String.java:1451)
> at org.apache.naming.resources.FileDirContext.file(FileDirContext.java:916)
> at org.apache.naming.resources.FileDirContext.getAttributes(FileDirContext.java:491)
> at org.apache.naming.resources.BaseDirContext.getAttributes(BaseDirContext.java:774)
> at org.apache.naming.resources.ProxyDirContext.revalidate(ProxyDirContext.java:1519)
> at org.apache.naming.resources.ProxyDirContext.cacheLookup(ProxyDirContext.java:1475)
> at org.apache.naming.resources.ProxyDirContext.lookup(ProxyDirContext.java:306)
> at org.apache.tomcat.util.http.mapper.Mapper.internalMapWrapper(Mapper.java:903)
> at org.apache.tomcat.util.http.mapper.Mapper.internalMap(Mapper.java:785)
> at org.apache.tomcat.util.http.mapper.Mapper.map(Mapper.java:644)
> at org.apache.coyote.tomcat5.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:436)
> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:237)
> at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
> at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
> at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
> at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
> at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
> at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
> at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
> at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
> at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
> [Message sent by forum member 'pcmreddy' (pcmreddy)]
>
> http://forums.java.net/jive/thread.jspa?messageID=265821
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net