NullPointerException when starting debug

Hi,

I got the NPE as soon as I start to debug, and tomcat died immediately.
I'm running tomcat 4.1.10. IDEA 3.0 build #676

java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:329)
at
org.apache.commons.logging.LogFactory.getCachedFactory(LogFactory.java:502)
at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:264)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:401)
at org.apache.commons.digester.Digester.]]>(Digester.java:345)
at
org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:280)
at org.apache.catalina.startup.Catalina.start(Catalina.java:441)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)


====================================


The application debug setup is as following:

Main class: org.apache.catalina.startup.Bootstrap
VM Parameters: -Djava.endorsed.dirs="C:\Program Files\Apache Group\Tomcat
4.1\bin;C:\Program Files\Apache Group\Tomcat 4.1\common\lib;C:\Program
Files\Apache Group\Tomcat 4.1\server\lib" -Dcatalina.base="C:\Program
Files\Apache Group\Tomcat 4.1" -Dcatalina.home="C:\Program Files\Apache
Group\Tomcat 4.1" -Djava.io.tmpdir="C:\Program Files\Apache Group\Tomcat
4.1"
Program parameter: start
working directory: c:\website\

Any suggestions what to do?

Thanks,
Keppel



3 comments

Any suggestions what to do?

>


For this version of tomcat you should include
"C:\Program Files\Apache Group\Tomcat 4.1\common\endorsed" instead of "C:\Program Files\Apache Group\Tomcat 4.1\common\lib" to the
endorsed path.

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


0

Thanks. But the NPE still pops up as before.
It remains even if after I upgrade IDEA to 3.0.1(#688)
From the stack trace, it looks like LogFactory can not find a valid logger.
Am I missing any jar files?
I installed a clean tomcat 4.1.10.

Any comments?



"Eugene Zhuravlev" <jeka@intellij.com> wrote in message
news:b1qdsb$r0h$1@is.intellij.net...
>

Any suggestions what to do?

>

>
>

For this version of tomcat you should include
"C:\Program Files\Apache Group\Tomcat 4.1\common\endorsed" instead of

"C:\Program Files\Apache Group\Tomcat 4.1\common\lib" to the

endorsed path.

>

--

>

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"

>
>


0

Am I missing any jar files?


Looks like that - the issue is definitely a misconfiguration.

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


0

Please sign in to leave a comment.