You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org> on 2006/09/14 11:29:23 UTC

[jira] Created: (DIRSERVER-741) NullPointerException raised occasionally in ASN1Decoder when Logging is activated

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/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (DIRSERVER-741) NullPointerException raised occasionally in ASN1Decoder when Logging is activated

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRSERVER-741?page=all ]

Pierre-Arnaud Marcelot closed DIRSERVER-741.
--------------------------------------------


NullPointerException is no longer raised.

I close this issue.

Thanks Emmanuel.

> 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/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (DIRSERVER-741) NullPointerException raised occasionally in ASN1Decoder when Logging is activated

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRSERVER-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/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira