Zest: Use of setUseHashlookup(false) [message #485900] |
Tue, 15 September 2009 13:56 |
Eclipse User |
|
|
|
Originally posted by: eclipse.cs-dev.de
I've a problem, in the class AbstractStructuredGraphViewer are HashMaps
used. But my Objects changes his HashCode. After that, i got an exception.
Caused by: java.lang.NullPointerException
at
org.eclipse.zest.core.viewers.internal.AbstractStructuredGra phViewer.inputChanged(AbstractStructuredGraphViewer.java:496 )
at
org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:274)
at
org.eclipse.jface.viewers.StructuredViewer.setInput(Structur edViewer.java:1603)
If i switch the HashMaps to IdentityHashMap no more problem. Is there a
way to implement the method setUseHashlookup(false)?
|
|
|
Powered by
FUDForum. Page generated in 0.02629 seconds