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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
C:\Software\pdi-ce-5.0.1.A-stable\data-integration>"java" "-Xmx768m" "-XX:MaxPermSize=450m" "-Djava.library.path=libswt\win32" "-DKETTLE_HOM E=" "-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" "-DKETTLE_JNDI_ROOT= " -jar launcher\pentaho-application-launcher-5.0.1-stable.jar -lib ..\libswt\win32 2015/01/15 12:19:36 - General - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : Error starting Spoon shell 2015/01/15 12:19:36 - General - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : java.lang.RuntimeException: Unable to create the database cache: 2015/01/15 12:19:36 - General - 2015/01/15 12:19:36 - General - Couldn't read the database cache 2015/01/15 12:19:36 - General - org.pentaho.di.core.exception.KettleFileException: 2015/01/15 12:19:36 - General - 2015/01/15 12:19:36 - General - : Unable to read row metadata from input stream 2015/01/15 12:19:36 - General - 2015/01/15 12:19:36 - General - Unable to locate value meta plugin of type (id) 131072 2015/01/15 12:19:36 - General - 2015/01/15 12:19:36 - General - Unable to locate value meta plugin of type (id) 131072 2015/01/15 12:19:36 - General - 2015/01/15 12:19:36 - General - org.pentaho.di.core.exception.KettleFileException: 2015/01/15 12:19:36 - General - 2015/01/15 12:19:36 - General - : Unable to read row metadata from input stream 2015/01/15 12:19:36 - General - 2015/01/15 12:19:36 - General - Unable to locate value meta plugin of type (id) 131072 2015/01/15 12:19:36 - General - 2015/01/15 12:19:36 - General - Unable to locate value meta plugin of type (id) 131072 2015/01/15 12:19:36 - General - 2015/01/15 12:19:36 - General - at org.pentaho.di.core.DBCache.getInstance(DBCache.java:243) 2015/01/15 12:19:36 - General - at org.pentaho.di.ui.spoon.Spoon.loadSettings(Spoon.java:6685) 2015/01/15 12:19:36 - General - at org.pentaho.di.ui.spoon.Spoon.init(Spoon.java:747) 2015/01/15 12:19:36 - General - at org.pentaho.di.ui.spoon.Spoon.createContents(Spoon.java:8641) 2015/01/15 12:19:36 - General - at org.eclipse.jface.window.Window.create(Window.java:426) 2015/01/15 12:19:36 - General - at org.eclipse.jface.window.Window.open(Window.java:785) 2015/01/15 12:19:36 - General - at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8672) 2015/01/15 12:19:36 - General - at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:625) 2015/01/15 12:19:36 - General - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2015/01/15 12:19:36 - General - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2015/01/15 12:19:36 - General - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2015/01/15 12:19:36 - General - at java.lang.reflect.Method.invoke(Method.java:597) 2015/01/15 12:19:36 - General - at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) stopping |
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: