Re: Null Pointer when deleting the identity in WoT

Volodya <[email protected]>
Newsgroups gmane.network.freenet.support
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/30/2011 12:46 PM, Volodya wrote:
> java.lang.NullPointerException
> 	at plugins.WebOfTrust.Identity.equals(Identity.java:669)
> 	at java.util.HashMap.get(HashMap.java:305)
> 	at plugins.WebOfTrust.WebOfTrust.computeAllScoresWithoutCommit(WebOfTrust.java:701)
> 	at plugins.WebOfTrust.WebOfTrust.deleteWithoutCommit(WebOfTrust.java:1201)
> 	at plugins.WebOfTrust.WebOfTrust.deleteIdentity(WebOfTrust.java:1987)
> 	at
> plugins.WebOfTrust.ui.web.DeleteOwnIdentityPage.make(DeleteOwnIdentityPage.java:31)
> 	at
> plugins.WebOfTrust.ui.web.WebInterfaceToadlet.handleMethodPOST(WebInterfaceToadlet.java:69)
> 	at
> plugins.WebOfTrust.ui.web.WebInterface$DeleteOwnIdentityWebInterfaceToadlet.handleMethodPOST(WebInterface.java:225)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at freenet.clients.http.ToadletContextImpl.handle(ToadletContextImpl.java:544)
> 	at
> freenet.clients.http.SimpleToadletServer$SocketHandler.run(SimpleToadletServer.java:875)
> 	at freenet.support.PooledExecutor$MyThread.realRun(PooledExecutor.java:227)
> 	at freenet.support.io.NativeThread.run(NativeThread.java:130)
> 
> 

I did some more looking around:

To reproduce:
1. create identity with the character '!'.
2. try to delete that identity
3. You will get the exception mentioned above.


- -- 
http://freedom.libsyn.com/     Echo of Freedom, Radical Podcast

 "None of us are free until all of us are free."    ~ Mihail Bakunin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNkvGQAAoJENW9VI+wmYasiwMH/3uvSrcSfSnxNfpetEe6Hjnr
lx7rYdD0tGYAELyhwmg0iNG8UR8ljUbWQL/568O4ZKhauQNa6exNlDSrwldTHgeu
ffYhKenl5MVj2VNRXp027T2TKo62apFieuCE24naVOQMnlySfzCj2dHXK+A5GexA
Td1+b8fhBgsCM8TS6lslFET8LuCOS38X/+sRDdvu89c4XR/IAVGkCgDsmdmgA8Ce
eeybdCMHj+eDv+uNaV7F1b5D9qF5Y5so5zptE2hOLYdkSIVe3nHJ8o2icOhfjCC3
bmALjndz0t8bX4NSti/p61SRFqwByu+wwzmEsfCw8GC3k0Kpljtj2vY7kLu7oYs=
=l1W6
-----END PGP SIGNATURE-----
_______________________________________________
Support mailing list
[email protected]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-request-RdDMkVZAZeuJnvDnx1genB2eb7JE58TQ@public.gmane.org?subject=unsubscribe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.