Apache Directory Project - [jira] Resolved: (DIRSERVER-741) NullPointerException raised

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > September 2006 > [jira] Resolved: (DIRSERVER-741) NullPointerException raised





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Resolved: (DIRSERVER-741) NullPointerException raised
Emmanuel Lecharny (JIRA)

2006-09-16, 1:12 pm

[ http://issues.apache.org/jira/brows...ER-741?page=all ]

Emmanuel Lecharny resolved DIRSERVER-741.
-----------------------------------------

Resolution: Fixed

Uh oh... Good catch, PAM.

I have added some defensive tests to avoid this kind of situation. Can you confirm that the issue has been fixed ?

Thanks a lot !

> NullPointerException raised occasionally in ASN1Decoder when Logging is activated
> ---------------------------------------------------------------------------------
>
> Key: DIRSERVER-741
> URL: http://issues.apache.org/jira/browse/DIRSERVER-741
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: asn1
> Reporter: Pierre-Arnaud Marcelot
>
> Working with Asn1Decoder (package org.apache.directory.shared.asn1.ber), sometimes I have a NullPointerException raised by a null TLV at line 981.
> ------
> java.lang.NullPointerException
> at org.apache.directory.shared.asn1.ber.Asn1Decoder.decode(Asn1Decoder.java:981)
> at org.safehaus.ldapstudio.dsmlv2.engine.Dsmlv2Engine.readResponse(Dsmlv2Engine.java:483)
> at org.safehaus.ldapstudio.dsmlv2.engine.Dsmlv2Engine.processRequest(Dsmlv2Engine.java:342)
> at org.safehaus.ldapstudio.dsmlv2.engine.Dsmlv2Engine.processDSML(Dsmlv2Engine.java:207)
> at org.safehaus.ldapstudio.dsmlv2.engine.Dsmlv2Engine.processDSML(Dsmlv2Engine.java:107)
> at org.safehaus.ldapstudio.dsmlv2.engine.MainEngine.main(MainEngine.java:23)
> ------
> This only occurs when logging is activated.


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com