[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster-devel] htpasswd security interceptor exception



On Tue, Jun 03, 2003 at 03:14:16PM +0200, Marcel Ruff wrote:
> Michael Atighetchi wrote:
> 
> >I'm getting the following exception in the standard password security
> >interceptor (see below).
> >
> >It seems like the only thing that could cause this is if the manager
> >get's initialized with a "null" global.
> >
> Yes, i wonder how this can happen.
> 

The strange thing is that it only happens every now and then,
unpredictably, so it seems to be timing related (unsynchronized
threads ?).

> You can just try it, and code handling the NULL securityQos in the code 
> (especially in ConnectQos.java)
> and commit this to xmlBlaster.
> Probably the entry point is setting
> 
> Security.Client.DefaultPlugin=undef
> 
> for all clients
> 

Ok - it might give it a shot later this week.

BTW: I made some good progress with using .848+ in my project, and
will start looking into the fixing "minor" problems soon.

Thanks
Michael




> regards
> 
> Marcel
> 
> >
> >Thanks
> >Michael
> >
> >
> >[Jun 2, 2003 2:41:36 PM TRACE PluginManagerBase] Found I_Plugin 
> >'org.xmlBlaster.authentication.plugins.htpasswd.Manager', loaded by 
> >PluginClassLoader
> >java.lang.NullPointerException
> >       at 
> >       org.xmlBlaster.authentication.plugins.htpasswd.Session.<init>(Session.java:50)
> >       at 
> >       org.xmlBlaster.authentication.plugins.htpasswd.Manager.reserveSession(Manager.java:60)
> >       at 
> >       org.xmlBlaster.authentication.Authenticate.connect(Authenticate.java:252)
> >       at 
> >       org.xmlBlaster.protocol.corba.AuthServerImpl.connect(AuthServerImpl.java:225)
> >       at 
> >       org.xmlBlaster.protocol.corba.AuthServerImpl.connect(AuthServerImpl.java:185)
> >       at 
> >       org.xmlBlaster.protocol.corba.authenticateIdl.AuthServerPOATie.connect(AuthServerPOATie.java:48)
> >       at 
> >       org.xmlBlaster.protocol.corba.authenticateIdl.AuthServerPOA._invoke(AuthServerPOA.java:55)
> >       at 
> >       org.jacorb.poa.RequestProcessor.invokeOperation(RequestProcessor.java:247)
> >       at 
> >       org.jacorb.poa.RequestProcessor.process(RequestProcessor.java:496)
> >       at org.jacorb.poa.RequestProcessor.run(RequestProcessor.java:635)
> >[Jun 2, 2003 2:41:36 PM TRACE Authenticate-/node/djmproxy_xxx.xxx.xxx.xxx] 
> >PANIC: Access is denied: null
> >java.lang.NullPointerException
> >       at 
> >       org.xmlBlaster.authentication.plugins.htpasswd.Session.<init>(Session.java:50)
> >       at 
> >       org.xmlBlaster.authentication.plugins.htpasswd.Manager.reserveSession(Manager.java:60)
> >       at 
> >       org.xmlBlaster.authentication.Authenticate.connect(Authenticate.java:252)
> >       at 
> >       org.xmlBlaster.protocol.corba.AuthServerImpl.connect(AuthServerImpl.java:225)
> >       at 
> >       org.xmlBlaster.protocol.corba.AuthServerImpl.connect(AuthServerImpl.java:185)
> >       at 
> >       org.xmlBlaster.protocol.corba.authenticateIdl.AuthServerPOATie.connect(AuthServerPOATie.java:48)
> >       at 
> >       org.xmlBlaster.protocol.corba.authenticateIdl.AuthServerPOA._invoke(AuthServerPOA.java:55)
> >       at 
> >       org.jacorb.poa.RequestProcessor.invokeOperation(RequestProcessor.java:247)
> >       at 
> >       org.jacorb.poa.RequestProcessor.process(RequestProcessor.java:496)
> >       at org.jacorb.poa.RequestProcessor.run(RequestProcessor.java:635)
> >[Jun 2, 2003 2:41:36 PM TRACE Authenticate-/node/djmproxy_xxx.xxx.xxx.xxx] 
> >PANIC: Access is denied: null
> >
> > 
> >
> 
> 

-- 
matighet at bbn.com   BBN Technologies