[PJUG Javamail] I don't understand this error

Christian Pich cmpich at cs.uoregon.edu
Wed Feb 6 23:04:56 UTC 2008


At some time I also encountered fatal exceptions in Tomcat during 
startup and would often only get an
inconspicuous one-line error message rather than a full stack trace when 
one of my custom
servlet filters were not able to start and caused a RuntimeException.

The way I got more info was starting Tomcat in debug mode:
catalina debug
that starts Tomcat in a command-line version with more output. Once you 
see the
 > sign type in 'run'
I always got a few exceptions to start that I had to ignore (hate to do 
that).
This might give you a bit more info about where the problem is.


Joe Hoffman wrote:
>   Rob,
>
> Line 257 of StandardWrapperValve calls  
> org.apache.catalina.core.ApplicationFilterChain.doFilter() so I'd be  
> guessing that some unexpected  NPE is happening down inside the  
> 'doing' of the filters.  Which leads us to wonder what non-standard  
> filters/valves are installed in your tomcat.
>
> Examine the StandardWrapperValve class to see if anything enlightens  
> you.
>
> Drink more coffee.
>
> </dumb ideas>
>
>
> On Feb 6, 2008, at 2:26 PM, Rob Tanner wrote:
>
>   
>> Hi,
>>
>> I am running tomcat v5.5.23 and java runtime v1.5.0_03 on my  
>> server.  I
>> don't get this error very often but I have no idea what it means or  
>> what
>> is causing it.  Also, the error does not appear to be limited to the
>> single servlet named in the error message.
>>
>> 12:14:02 06 Feb 2008 (StandardWrapperValve.java:257) --
>> Servlet.service() for servlet ForwardSetupRequest threw exception
>> java.lang.NullPointerException
>>
>>
>> Can anyone enlighten me?
>>
>> Thanks,
>> Rob
>>
>>
>>
>> -- 
>> Rob Tanner
>> UNIX Services Manager
>> Linfield College, McMinnville OR
>> _______________________________________________
>> Web Site - http://www.pjug.org/
>> Javamail mailing list
>> Javamail at pjug.org
>> http://www.pjug.org/mailman/listinfo/javamail
>>     
>
> _______________________________________________
> Web Site - http://www.pjug.org/
> Javamail mailing list
> Javamail at pjug.org
> http://www.pjug.org/mailman/listinfo/javamail
>   

-- 
------------------------------------------------------------------------
Christian Pich, Ph.D.
University of Oregon
Zebrafish Information Network
Phone: 541-346-1581
Email: cmpich at cs.uoregon.edu
Web: http://zfin.org
------------------------------------------------------------------------



More information about the Javamail mailing list