[jboss-user] [JBossCache] - Re: JBC 2 performance

aditsu do-not-reply at jboss.com
Sun Jul 29 23:32:24 EDT 2007


Thanks, I updated from CVS and the first thing I found is a NPE:

 java.lang.NullPointerException
	at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:846)
	at java.util.concurrent.ConcurrentHashMap.putAll(ConcurrentHashMap.java:888)
	at org.jboss.cache.UnversionedNode.putAllDirect(UnversionedNode.java:540)
	at org.jboss.cache.CacheImpl._put(CacheImpl.java:2279)
	at org.jboss.cache.CacheImpl._put(CacheImpl.java:2236)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[...]

Apparently ConcurrentHashMap doesn't allow null values.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068588#4068588

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068588



More information about the jboss-user mailing list