[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.gef] Zest: Use of setUseHashlookup(false)

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.AbstractStructuredGraphViewer.inputChanged(AbstractStructuredGraphViewer.java:496)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:274)
at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1603)


If i switch the HashMaps to IdentityHashMap no more problem. Is there a way to implement the method setUseHashlookup(false)?