After setting up a new Eclipse instance, checking out my current GWT project it's time for a first test, so I fire up the DevMode and: NullPointerException at SwingUI(42) That particular class is part of the GWT DevMode and tries to load an image from the class path by requesting it from SwingUI's class loader … Continue reading NPE when starting Google Dev Mode
Tag: Troubleshooting
Cache collision and ehcache spring annotations module
If you are looking for a way to implement declarative caching with Spring, there is no way around Ehcache Spring Annotations [1]. This superimposes a transparent aspect on methods of any proxied bean, taking the method arguments as a key. Little known but easy to stumble upon [2] is an implementation (design?) quirk which expects … Continue reading Cache collision and ehcache spring annotations module
Ant terminating immediately in Eclipse without any errors
Recently all ant builds started failing when started from within Eclipse without an apparent reason. When the ant target is invoked, the console briefly opens and closes again, without any message or error. /workspace/.metadata/.log finally reveals the cause: java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildException Some Ant classes seem to be missing, strange. A look at Window -> Preferences -> … Continue reading Ant terminating immediately in Eclipse without any errors
Speeding up Ubuntu 11.04 boot time
Just because I have nothing else to do on a lazy, rainy Sunday morning I thought it would be fun to see how much I can slash off the startup time for Ubuntu 11.04 64Bit on my HP Probook 4720s. The OS boots from a class 6 SD card (16 Mbyte/sec read) and 6 GB … Continue reading Speeding up Ubuntu 11.04 boot time
Enabling the powerbutton in Ubuntu Server 10.04 on an AMD box
While shutdown –h does the trick of shutting down a server just fine, occasionally I’d prefer the haptic version. While I’ve never had problems getting the powerbutton to work with Ubuntu desktop versions, it didn’t work out of the box on my AMD Athlon XP. Fortunately the solution seems to be quite simple: sudo apt-get … Continue reading Enabling the powerbutton in Ubuntu Server 10.04 on an AMD box
