Hi,
Hmm...  Well, RealmBase.java:428 can no longer throw an NPE, and the
resultsToArray method that replaced the previous line there seems to
handle the null case correctly.  However, even if this weren't the case,
I'm not convinced that this error you're seeing is related to the other
exception reported in this thread.  The only common thing about them is
that they're hard to reproduce.  Your error happens during request
processing, the original one reported in this thread is during server
startup.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Brent Sims [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, August 04, 2004 2:29 PM
>To: [EMAIL PROTECTED]
>Subject: RE: Intermittent exception during startup (5.0.25)
>
>Salut,
>Long time lurker, rare contributor.
>
>I've experienced the same problem for a while but no, I cannot
reproduce
>the error consistently.  In my experience, webapps startup okay but
any/all
>SSL access is blown with an error similar to:
>
>java.lang.NullPointerException
> at
>org.apache.catalina.realm.RealmBase.findSecurityConstraints(RealmBase.j
ava:
>428)
> at
>org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticato
rBas
>e.java:455)
> at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
onte
>xt.java:102)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
520)
> at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a:13
>7)
> at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
onte
>xt.java:104)
> at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
a:11
>7)
> at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
onte
>xt.java:102)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
520)
> at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
.jav
>a:109)
> at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
onte
>xt.java:104)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
520)
> at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> at
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:7
99)
> at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
Conn
>ection(Http11Protocol.java:705)
> at
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:5
77)
> at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
l.ja
>va:683)
> at java.lang.Thread.run(Thread.java:534)
>
>In my case, the error has happened with every Tomcat release from
5.0.19
>(probably before as well but definitely in the 5.0 series) through
5.0.27
>on both a Windows XP and an OS/400 (5.2) platform using their most
current
>flavours of jdk 1.4.2.
>
>HTH with a potential bug
>
>Brent Sims
>Systems Analyst 2
>KC Human Services
>-------------------------------------------------
>Road rage, air rage.  Why should I be forced to divide my rage into
>separate categories?  To me, it's just one big, all-round, everyday
rage.
>I don't have time for fine distinctions.  I'm too busy screaming at
people.
>                         - George Carlin
>
>>>> [EMAIL PROTECTED] 8/4/2004 7:05:58 AM >>>
>
>
>Hola,
>Can you reproduce the error reliably?  What are the consequences of
this
>error?  Are any webapps not started or not functioning because of it?
>We could probably make that method in MapperListener synchronized, but
>the error doesn't seem to be our fault.  It looks like an MX4J issue
>possibly.
>
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>>-----Original Message-----
>>From: Robert Hunt [mailto:[EMAIL PROTECTED]
>>Sent: Wednesday, August 04, 2004 8:36 AM
>>To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>>Subject: Re: Intermittent exception during startup (5.0.25)
>>
>>
>>Other than to restart the server and cross my fingers, no I haven't
>found a
>>solution.  Perhaps it should be submitted as a bug.
>>
>>
>>-- RH
>>
>>----- Original Message -----
>>Sent: Wednesday, August 04, 2004 2:40 AM
>>Subject: Intermittent exception during startup (5.0.25)
>>
>>
>>Hello Robert
>>
>>I got the same error as you with tomcat 5.0.27. Sometimes the error
>>occures,
>>and sometimes it doesn't!!!
>>Did you found a solution?
>>
>>
>>Here is my catalina.out:
>>
>>Aug 4, 2004 8:18:49 AM org.apache.coyote.http11.Http11Protocol start
>>INFO: Starting Coyote HTTP/1.1 on
>>http-a6ak-www-ccis-r.bedag.ch%2F162.23.4.136-8081
>>Aug 4, 2004 8:18:49 AM org.apache.coyote.tomcat5.MapperListener init
>>WARNING: Error registering contexts
>>java.util.ConcurrentModificationException
>>        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:930)
>>        at java.util.HashMap$EntryIterator.next(HashMap.java:972)
>>        at java.util.HashMap.putAllForCreate(HashMap.java:505)
>>        at java.util.HashMap.clone(HashMap.java:799)
>>        at
>>mx4j.server.DefaultMBeanRepository.clone(DefaultMBeanRepository.java:5
6
>)
>>        at
>>mx4j.server.MBeanServerImpl.findMBeansByPattern(MBeanServerImpl.java:1
6
>03)
>>        at
>>mx4j.server.MBeanServerImpl.queryObjectNames(MBeanServerImpl.java:1568
)
>>        at
>>mx4j.server.MBeanServerImpl.queryMBeans(MBeanServerImpl.java:1512)
>>        at
>>org.apache.coyote.tomcat5.MapperListener.init(MapperListener.java:115)
>>        at
>>org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1
5
>37)
>>        at
>>org.apache.catalina.core.StandardService.start(StandardService.java:48
9
>)
>>        at
>>org.apache.catalina.core.StandardServer.start(StandardServer.java:2313
)
>>        at
>org.apache.catalina.startup.Catalina.start(Catalina.java:556)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
a
>va:8
>>5
>>)
>>        at
>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
a
>va:5
>>8
>>)
>>        at
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
o
>rImp
>>l
>>.java:60)
>>        at java.lang.reflect.Method.invoke(Method.java:391)
>>        at
>org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
>>        at
>org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)
>>Aug 4, 2004 8:18:49 AM org.apache.jk.common.ChannelSocket init
>>INFO: JK2: ajp13 listening on /127.0.0.1:8010
>>Aug 4, 2004 8:18:49 AM org.apache.jk.server.JkMain start
>>INFO: Jk running ID=0 time=3/163
>>config=/a6a/a6ak/tomcat/conf/jk2.properties
>>Aug 4, 2004 8:18:50 AM org.apache.catalina.startup.Catalina start
>>INFO: Server startup in 40958 ms
>>
>>Regards,
>>Dieter Ludwig
>>Bedag Informatik AG
>>RZ Bern, EPS/NSM
>>Engehaldenstrasse 12
>>3012 Bern
>>Telefon: +41 31 633 21 21 (direkt 22 59)
>>Telefax: +41 31 633 23 69
>>E-Mail:    [EMAIL PROTECTED]
>>www.bedag.ch
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>This e-mail, including any attachments, is a confidential business
>communication, and may contain information that is confidential,
>proprietary and/or privileged.  This e-mail is intended only for the
>individual(s) to whom it is addressed, and may not be saved, copied,
>printed, disclosed or used by anyone else.  If you are not the(an)
intended
>recipient, please immediately delete this e-mail from your computer
system
>and notify the sender.  Thank you.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to