org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.UnsupportedClassVersionError: org/osjava/sj/SimpleContextFactory : Unsupported major.minor version 51.0)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Google Groups by Marcus Haebler

Update "latest" to Java 8 on DockerHub.

,
Expert tip

This might be caused by and outdated version of Java, SonarQube now uses Java 8 as default. You might upgrade java or use an older version of SonarQube.

Solutions on the web

via Pentaho BI Platform Tracking by Paula Clemente, 1 year ago
Failed to execute runnable (java.lang.UnsupportedClassVersionError: org/osjava/sj/SimpleContextFactory : Unsupported major.minor version 51.0)
via Pentaho BI Platform Tracking by Philippe Barreyro, 1 year ago
Failed to execute runnable (org.eclipse.swt.SWTException: Widget is disposed)
via Pentaho BI Platform Tracking by Philippe Barreyro, 1 year ago
Failed to execute runnable (org.eclipse.swt.SWTException: Widget is disposed)
via Eclipse Bugzilla by zaphod, 1 year ago
Failed to execute runnable (java.lang.IllegalArgumentException: Index out of bounds)
via Eclipse Bugzilla by jeff.myers, 1 year ago
Failed to execute runnable (java.lang.NullPointerException)
via adobe.com by Unknown author, 1 year ago
Failed to execute runnable (java.lang.OutOfMemoryError: Java heap space)
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.UnsupportedClassVersionError: org/osjava/sj/SimpleContextFactory : Unsupported major.minor version 51.0)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:249)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.(InitialContext.java:175)
at org.pentaho.di.core.database.util.DatabaseUtil.getDataSourceFromJndi(DatabaseUtil.java:77)
at org.pentaho.di.core.database.util.DatabaseUtil.getNamedDataSource(DatabaseUtil.java:55)
at org.pentaho.di.core.database.Database.connectUsingJNDIDataSource(Database.java:467)
at org.pentaho.di.core.database.Database.normalConnect(Database.java:403)
at org.pentaho.di.core.database.Database.connect(Database.java:358)
at org.pentaho.di.core.database.Database.connect(Database.java:311)
at org.pentaho.di.core.database.Database.connect(Database.java:301)
at org.pentaho.di.ui.trans.steps.tableoutput.TableOutputDialog$26.run(TableOutputDialog.java:1083)
at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
at org.pentaho.di.ui.core.dialog.ErrorDialog.showErrorDialog(ErrorDialog.java:266)
at org.pentaho.di.ui.core.dialog.ErrorDialog.(ErrorDialog.java:89)
at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:186)
at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8712)
at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:3061)
at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:747)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1319)
at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939)
at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9190)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)

Users with the same issue

Once, 2 days ago
Samebug visitor profile picture
Unknown user
Once, 4 days ago
Once, 1 week ago
9 times, 1 month ago
4 times, 1 month ago
337 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.