https://github.com/netty/netty/issues/679
After switching to the latest Netty (3.5.8) our system now is now utterly broken thanks to this NPE:
Exception in thread "pool-4-thread-1" java.lang.ExceptionInInitializerError
at org.jboss.netty.util.HashedWheelTimer$Worker.waitForNextTick(HashedWheelTimer.java:456)
at org.jboss.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:373)
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:102)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException
at org.jboss.netty.util.internal.DetectionUtil.(DetectionUtil.java:41)
... 4 more
fix:
changes SystemPropertyUtil
so that it gets the system property on-demand. Feel free to reopen the issue if you still experience this problem.
https://github.com/netty/netty/commit/b9429c930fc5efcf9a2bf827f940f75771190b4d
Could you test out the following snapshot:
http://oss.sonatype.org/content/repositories/snapshots/io/netty/netty/3.5.9.Final-SNAPSHOT/netty-3.5.9.Final-20121024.165131-1.jar