[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exception found location=Authenticate.java:383
Marcel Ruff a écrit :
> Cyrille Giquello wrote:
> >
> > Hi,
> >
> > this exception happend :
> > Exception found location=Authenticate.java:383
> >
> > when I'd hust publish a message a then try a dump.
> >
> > Publication seem to works because I can get the published message,
> > it's just that I can't ask xmlBlaster to dump in a file .
> >
> > Error is :
> >
> > Exception found location=Authenticate.java:383
> > 6 juin 01 15:02:19 ERROR Authenticate.java:383-Authenticate:
> > Inconsistent client maps, aomCli
> > entInfoMap.size()=1 and loginNameClientInfoMap.size()=2
> > Exception in thread "XmlBlaster MainThread"
> > java.lang.NullPointerException:
> > at
> > org.xmlBlaster.engine.ClientInfo.getUniqueKey(ClientInfo.java:297)
> > at org.xmlBlaster.engine.ClientInfo.toXml(ClientInfo.java:357)
> > at
> > org.xmlBlaster.authentication.Authenticate.toXml(Authenticate.java:389)
> > at
> > org.xmlBlaster.authentication.Authenticate.toXml(Authenticate.java:365)
> > at org.xmlBlaster.Main.checkForKeyboardInput(Main.java:341)
> > at org.xmlBlaster.Main.init(Main.java:163)
> > at org.xmlBlaster.Main.<init>(Main.java:100)
> > at org.xmlBlaster.Main.main(Main.java:462)
> >
> > Do U get a idea ?
> > Cyrille
>
> First: There are old, CORBA related, names in Authenticate.java
> which are relicts from past time ... Authenticate.java is now
> protocol independend, i have to fix this.
>
> How can i reproduce this bug?
> thanks,
> Marcel
I just send a message with xml-rpc protocol (perl a Frontier::Client) :
my $sessionId = $server->call('authenticate.login', "toto_1", "mypass",
"<qos></qos>", "");
$message = $server->call(
'xmlBlaster.publish', $sessionId, "<key oid='theMessage'></key>",
"the message body",
"<qos><isDurable /><destination queryType='EXACT'>toto_3<ForceQueuing
/></destination></qos>"
);
And before the destinataire login, I ask xmlBlaster :
d /home/mad/dump3.txt
Here is the copy of the xmlBlaster console :
----------------------------------------------------------
Following interactive keyboard input is recognized:
Key:
g Popup the control panel GUI.
d <file name> Dump internal state of xmlBlaster to file.
q Quit xmlBlaster.
----------------------------------------------------------
11 juin 01 09:46:46 INFO Authenticate: Successful login for client toto_1
11 juin 01 09:46:46 INFO Authenticate: Successful logout for client toto_1
d /home/mad/dump3.txt
Exception found location=Authenticate.java:383
11 juin 01 09:46:59 ERROR Authenticate.java:383-Authenticate: Inconsistent
client maps, aomCl
ientInfoMap.size()=1 and loginNameClientInfoMap.size()=2
Exception in thread "XmlBlaster MainThread" java.lang.NullPointerException:
at org.xmlBlaster.engine.ClientInfo.getUniqueKey(ClientInfo.java:297)
at org.xmlBlaster.engine.ClientInfo.toXml(ClientInfo.java:357)
at
org.xmlBlaster.authentication.Authenticate.toXml(Authenticate.java:389)
at
org.xmlBlaster.authentication.Authenticate.toXml(Authenticate.java:365)
at org.xmlBlaster.Main.checkForKeyboardInput(Main.java:341)
at org.xmlBlaster.Main.init(Main.java:163)
at org.xmlBlaster.Main.<init>(Main.java:100)
at org.xmlBlaster.Main.main(Main.java:462)
Cyrille
a perl user ;o)