Pentaho Spoon java.lang.RuntimeException: Unable to create the database cache

I got this error while starting Spoon on a PC that gets a lot of blue screens due to crappy hardware. In fact, that problem prevents Spoon from starting.

I don’t know why, but this is the same error at each blue screen: java.lang.RuntimeException: Unable to create the database cache

 

 

To fix the issue, you need to delete the db.cache file.

On my Windows computer, it’s located under C:\Users\patlaf\.kettle\db.cache-5.0.1-stable .

Then you can start Spoon again!

References:

Problems with Pentaho Spoon and libgobject

I got some problems with Spoon after upgrading Kubuntu 13.04 to 13.10. Nothing really noticeable at first, but suddenly it starts to randomly crash:

Or

Same thing with different version of Java

I found that starting spoon with a none-GTK3 theme fixes the problem.. It doesn’t crash anymore but I do have a lot of warning related to libgobject in the log.

I tried to change the swt.jar to different versions but it didn’t change anything. I’m stuck with the insane amount of warnings, but at least I can use Spoon !

If you have a solution, please let me know !

References: