-
Bug
-
Resolution: Done
-
Major
-
1.12.0.Final
-
None
-
None
java.lang.NoClassDefFoundError: org/apache/geode/internal/net/BufferPool$1java.lang.NoClassDefFoundError: org/apache/geode/internal/net/BufferPool$1 at org.apache.geode.internal.net.BufferPool.releaseBuffer(BufferPool.java:288) at org.apache.geode.internal.net.ByteBufferVendor$ByteBufferSharingInternalImpl.releaseBuffer(ByteBufferVendor.java:219) at org.apache.geode.internal.net.ByteBufferVendor.dropReference(ByteBufferVendor.java:150) at org.apache.geode.internal.net.ByteBufferVendor.destruct(ByteBufferVendor.java:115) at org.apache.geode.internal.tcp.Connection.run(Connection.java:1519) at java.lang.Thread.run(Thread.java:748)
A NoClassDefFoundError for an anonymous inner class is thrown when using a switch statement on an enum. The problem goes away if the switch is replaced with an if/else. This should not happen, switch statements should not break.