Menu

#9 NPE during negotiation with nexus

open
nobody
Internals (9)
5
2007-03-01
2007-03-01
No

Exception in thread "Thread-73" java.lang.NullPointerException
at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
at java.util.regex.Matcher.reset(Matcher.java:291)
at java.util.regex.Matcher.<init>(Matcher.java:211)
at java.util.regex.Pattern.matcher(Pattern.java:885)
at net.sf.jml.protocol.incoming.IncomingUSR$1.getPassportUrlSlow(IncomingUSR.java:136)
at net.sf.jml.protocol.incoming.IncomingUSR$1.getPassportUrl(IncomingUSR.java:151)
at net.sf.jml.protocol.incoming.IncomingUSR$1.run(IncomingUSR.java:195)

Looks like I'm arbitrarily assuming that I get a response that includes PasswordURLs. Need to do a null check on that. Quite frankly I should be doing a "did I actually connect" check as well, but hey.

Discussion


Log in to post a comment.