org.pentaho.di.core.exception.KettleException: Unable to save repository element [Test/1] at org.pentaho.commons.launcher.Launcher.main (Launcher.java:134) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.spoon.Spoon.main (Spoon.java:578) at org.pentaho.di.ui.spoon.Spoon.start (Spoon.java:8302) at org.pentaho.di.ui.spoon.Spoon.waitForDispose (Spoon.java:7042) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch (Spoon.java:1219) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.RunnableLock.run (null:-1) at org.pentaho.di.ui.spoon.Spoon$20$1.run (Spoon.java:3550) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show (RepositoryExplorer.java:133) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:304) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:378) at org.eclipse.jface.window.Window.open (Window.java:796) at org.eclipse.jface.window.Window.runEventLoop (Window.java:820) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runDeferredEvents (null:-1) at org.eclipse.swt.widgets.Widget.sendEvent (null:-1) at org.eclipse.swt.widgets.EventTable.sendEvent (null:-1) at org.eclipse.swt.widgets.TypedListener.handleEvent (null:-1) at org.pentaho.ui.xul.swt.tags.SwtButton$2.mouseUp (SwtButton.java:87) at org.pentaho.ui.xul.swt.tags.SwtButton.access$300 (SwtButton.java:26) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:123) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke (AbstractXulDomContainer.java:329) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.ConnectionsController.editConnection (ConnectionsController.java:240) at org.pentaho.di.repository.pur.PurRepository.save (SourceFile:1748) at org.pentaho.di.repository.pur.PurRepository.saveDatabaseMeta (SourceFile:1972) at org.pentaho.di.repository.pur.PurRepository.b (SourceFile:1803) at org.pentaho.di.repository.pur.PurRepository.a (SourceFile:1796) at org.pentaho.di.repository.pur.PurRepository.checkAndSanitize (SourceFile:2201)

Pentaho BI Platform Tracking | Doug Bora | 4 years ago
  1. 0

    I had an already created EE Repository DB connection defined, and decided to give it a more descriptive name and entered, "e2Open/SCM - Staging". I believe I received an error message when I tried to update the connection, but I can't remember for certain. 1) Open EE Repository connection. 2) Explore repository. 3) Open "Connections" tab. 4) Create new connection and set the following parameters: Connection Type = "Oracle" Access = "Native (JDBC)" Connection Name = "Test" Database Name = (any valid database name) 5) Hit "OK". 6) Select the new DB connection entry and hit "Edit" 7) Change the Connection Name to "Test/1" 8) Hit "OK". You receive the following error details: org.pentaho.di.core.exception.KettleException: Unable to save repository element [Test/1] at org.pentaho.commons.launcher.Launcher.main (Launcher.java:134) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.spoon.Spoon.main (Spoon.java:578) at org.pentaho.di.ui.spoon.Spoon.start (Spoon.java:8302) at org.pentaho.di.ui.spoon.Spoon.waitForDispose (Spoon.java:7042) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch (Spoon.java:1219) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.RunnableLock.run (null:-1) at org.pentaho.di.ui.spoon.Spoon$20$1.run (Spoon.java:3550) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show (RepositoryExplorer.java:133) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:304) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:378) at org.eclipse.jface.window.Window.open (Window.java:796) at org.eclipse.jface.window.Window.runEventLoop (Window.java:820) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runDeferredEvents (null:-1) at org.eclipse.swt.widgets.Widget.sendEvent (null:-1) at org.eclipse.swt.widgets.EventTable.sendEvent (null:-1) at org.eclipse.swt.widgets.TypedListener.handleEvent (null:-1) at org.pentaho.ui.xul.swt.tags.SwtButton$2.mouseUp (SwtButton.java:87) at org.pentaho.ui.xul.swt.tags.SwtButton.access$300 (SwtButton.java:26) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:123) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke (AbstractXulDomContainer.java:329) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.ConnectionsController.editConnection (ConnectionsController.java:240) at org.pentaho.di.repository.pur.PurRepository.save (SourceFile:1748) at org.pentaho.di.repository.pur.PurRepository.saveDatabaseMeta (SourceFile:1972) at org.pentaho.di.repository.pur.PurRepository.b (SourceFile:1803) at org.pentaho.di.repository.pur.PurRepository.a (SourceFile:1796) at org.pentaho.di.repository.pur.PurRepository.checkAndSanitize (SourceFile:2201) at org.pentaho.di.repository.pur.PurRepository.save(SourceFile:1764) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.ConnectionsController.editConnection(ConnectionsController.java:240) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtButton.access$300(SwtButton.java:26) at org.pentaho.ui.xul.swt.tags.SwtButton$2.mouseUp(SwtButton.java:87) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:378) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:133) at org.pentaho.di.ui.spoon.Spoon$20$1.run(Spoon.java:3550) 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.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1219) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7042) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8302) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.IllegalArgumentException at org.pentaho.di.repository.pur.PurRepository.checkAndSanitize(SourceFile:2201) at org.pentaho.di.repository.pur.PurRepository.a(SourceFile:1796) at org.pentaho.di.repository.pur.PurRepository.b(SourceFile:1803) at org.pentaho.di.repository.pur.PurRepository.saveDatabaseMeta(SourceFile:1972) at org.pentaho.di.repository.pur.PurRepository.save(SourceFile:1748) ... 34 more 9) Hit "OK" to exit error dialog. 10) You should now see a "Test/1" connection despite the save error message above. Select it, and hit either edit or delete. You receive another similar error: org.pentaho.di.core.exception.KettleException: Unable to get ID for database [Test/1] at org.pentaho.commons.launcher.Launcher.main (Launcher.java:134) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.spoon.Spoon.main (Spoon.java:578) at org.pentaho.di.ui.spoon.Spoon.start (Spoon.java:8302) at org.pentaho.di.ui.spoon.Spoon.waitForDispose (Spoon.java:7042) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch (Spoon.java:1219) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.RunnableLock.run (null:-1) at org.pentaho.di.ui.spoon.Spoon$20$1.run (Spoon.java:3550) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show (RepositoryExplorer.java:133) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:304) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:378) at org.eclipse.jface.window.Window.open (Window.java:796) at org.eclipse.jface.window.Window.runEventLoop (Window.java:820) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runDeferredEvents (null:-1) at org.eclipse.swt.widgets.Widget.sendEvent (null:-1) at org.eclipse.swt.widgets.EventTable.sendEvent (null:-1) at org.eclipse.swt.widgets.TypedListener.handleEvent (null:-1) at org.pentaho.ui.xul.swt.tags.SwtButton$2.mouseUp (SwtButton.java:87) at org.pentaho.ui.xul.swt.tags.SwtButton.access$300 (SwtButton.java:26) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:123) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke (AbstractXulDomContainer.java:329) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.ConnectionsController.editConnection (ConnectionsController.java:227) at org.pentaho.di.repository.pur.PurRepository.getDatabaseID (SourceFile:810) at org.pentaho.di.repository.pur.PurRepository.a (SourceFile:821) at org.pentaho.di.repository.pur.PurRepository.a (SourceFile:733) at org.pentaho.di.repository.pur.PurRepository.checkAndSanitize (SourceFile:2201) at org.pentaho.di.repository.pur.PurRepository.getDatabaseID(SourceFile:812) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.ConnectionsController.editConnection(ConnectionsController.java:227) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtButton.access$300(SwtButton.java:26) at org.pentaho.ui.xul.swt.tags.SwtButton$2.mouseUp(SwtButton.java:87) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:378) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:133) at org.pentaho.di.ui.spoon.Spoon$20$1.run(Spoon.java:3550) 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.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1219) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7042) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8302) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.IllegalArgumentException at org.pentaho.di.repository.pur.PurRepository.checkAndSanitize(SourceFile:2201) at org.pentaho.di.repository.pur.PurRepository.a(SourceFile:733) at org.pentaho.di.repository.pur.PurRepository.a(SourceFile:821) at org.pentaho.di.repository.pur.PurRepository.getDatabaseID(SourceFile:810) ... 34 more Closing the repository or completely exiting spoon has no impact on this DB entry. It appears to be saved. I can't find a way to edit or delete the invalid connection, so any suggestions on an interim workaround would be great! :)

    Pentaho BI Platform Tracking | 4 years ago | Doug Bora
    org.pentaho.di.core.exception.KettleException: Unable to save repository element [Test/1] at org.pentaho.commons.launcher.Launcher.main (Launcher.java:134) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.spoon.Spoon.main (Spoon.java:578) at org.pentaho.di.ui.spoon.Spoon.start (Spoon.java:8302) at org.pentaho.di.ui.spoon.Spoon.waitForDispose (Spoon.java:7042) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch (Spoon.java:1219) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.RunnableLock.run (null:-1) at org.pentaho.di.ui.spoon.Spoon$20$1.run (Spoon.java:3550) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show (RepositoryExplorer.java:133) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:304) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:378) at org.eclipse.jface.window.Window.open (Window.java:796) at org.eclipse.jface.window.Window.runEventLoop (Window.java:820) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runDeferredEvents (null:-1) at org.eclipse.swt.widgets.Widget.sendEvent (null:-1) at org.eclipse.swt.widgets.EventTable.sendEvent (null:-1) at org.eclipse.swt.widgets.TypedListener.handleEvent (null:-1) at org.pentaho.ui.xul.swt.tags.SwtButton$2.mouseUp (SwtButton.java:87) at org.pentaho.ui.xul.swt.tags.SwtButton.access$300 (SwtButton.java:26) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:123) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke (AbstractXulDomContainer.java:329) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.ConnectionsController.editConnection (ConnectionsController.java:240) at org.pentaho.di.repository.pur.PurRepository.save (SourceFile:1748) at org.pentaho.di.repository.pur.PurRepository.saveDatabaseMeta (SourceFile:1972) at org.pentaho.di.repository.pur.PurRepository.b (SourceFile:1803) at org.pentaho.di.repository.pur.PurRepository.a (SourceFile:1796) at org.pentaho.di.repository.pur.PurRepository.checkAndSanitize (SourceFile:2201)
  2. 0

    I had an already created EE Repository DB connection defined, and decided to give it a more descriptive name and entered, "e2Open/SCM - Staging". I believe I received an error message when I tried to update the connection, but I can't remember for certain. 1) Open EE Repository connection. 2) Explore repository. 3) Open "Connections" tab. 4) Create new connection and set the following parameters: Connection Type = "Oracle" Access = "Native (JDBC)" Connection Name = "Test" Database Name = (any valid database name) 5) Hit "OK". 6) Select the new DB connection entry and hit "Edit" 7) Change the Connection Name to "Test/1" 8) Hit "OK". You receive the following error details: org.pentaho.di.core.exception.KettleException: Unable to save repository element [Test/1] at org.pentaho.commons.launcher.Launcher.main (Launcher.java:134) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.spoon.Spoon.main (Spoon.java:578) at org.pentaho.di.ui.spoon.Spoon.start (Spoon.java:8302) at org.pentaho.di.ui.spoon.Spoon.waitForDispose (Spoon.java:7042) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch (Spoon.java:1219) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.RunnableLock.run (null:-1) at org.pentaho.di.ui.spoon.Spoon$20$1.run (Spoon.java:3550) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show (RepositoryExplorer.java:133) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:304) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:378) at org.eclipse.jface.window.Window.open (Window.java:796) at org.eclipse.jface.window.Window.runEventLoop (Window.java:820) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runDeferredEvents (null:-1) at org.eclipse.swt.widgets.Widget.sendEvent (null:-1) at org.eclipse.swt.widgets.EventTable.sendEvent (null:-1) at org.eclipse.swt.widgets.TypedListener.handleEvent (null:-1) at org.pentaho.ui.xul.swt.tags.SwtButton$2.mouseUp (SwtButton.java:87) at org.pentaho.ui.xul.swt.tags.SwtButton.access$300 (SwtButton.java:26) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:123) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke (AbstractXulDomContainer.java:329) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.ConnectionsController.editConnection (ConnectionsController.java:240) at org.pentaho.di.repository.pur.PurRepository.save (SourceFile:1748) at org.pentaho.di.repository.pur.PurRepository.saveDatabaseMeta (SourceFile:1972) at org.pentaho.di.repository.pur.PurRepository.b (SourceFile:1803) at org.pentaho.di.repository.pur.PurRepository.a (SourceFile:1796) at org.pentaho.di.repository.pur.PurRepository.checkAndSanitize (SourceFile:2201) at org.pentaho.di.repository.pur.PurRepository.save(SourceFile:1764) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.ConnectionsController.editConnection(ConnectionsController.java:240) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtButton.access$300(SwtButton.java:26) at org.pentaho.ui.xul.swt.tags.SwtButton$2.mouseUp(SwtButton.java:87) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:378) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:133) at org.pentaho.di.ui.spoon.Spoon$20$1.run(Spoon.java:3550) 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.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1219) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7042) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8302) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.IllegalArgumentException at org.pentaho.di.repository.pur.PurRepository.checkAndSanitize(SourceFile:2201) at org.pentaho.di.repository.pur.PurRepository.a(SourceFile:1796) at org.pentaho.di.repository.pur.PurRepository.b(SourceFile:1803) at org.pentaho.di.repository.pur.PurRepository.saveDatabaseMeta(SourceFile:1972) at org.pentaho.di.repository.pur.PurRepository.save(SourceFile:1748) ... 34 more 9) Hit "OK" to exit error dialog. 10) You should now see a "Test/1" connection despite the save error message above. Select it, and hit either edit or delete. You receive another similar error: org.pentaho.di.core.exception.KettleException: Unable to get ID for database [Test/1] at org.pentaho.commons.launcher.Launcher.main (Launcher.java:134) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.spoon.Spoon.main (Spoon.java:578) at org.pentaho.di.ui.spoon.Spoon.start (Spoon.java:8302) at org.pentaho.di.ui.spoon.Spoon.waitForDispose (Spoon.java:7042) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch (Spoon.java:1219) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.RunnableLock.run (null:-1) at org.pentaho.di.ui.spoon.Spoon$20$1.run (Spoon.java:3550) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show (RepositoryExplorer.java:133) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:304) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:378) at org.eclipse.jface.window.Window.open (Window.java:796) at org.eclipse.jface.window.Window.runEventLoop (Window.java:820) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runDeferredEvents (null:-1) at org.eclipse.swt.widgets.Widget.sendEvent (null:-1) at org.eclipse.swt.widgets.EventTable.sendEvent (null:-1) at org.eclipse.swt.widgets.TypedListener.handleEvent (null:-1) at org.pentaho.ui.xul.swt.tags.SwtButton$2.mouseUp (SwtButton.java:87) at org.pentaho.ui.xul.swt.tags.SwtButton.access$300 (SwtButton.java:26) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:123) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke (AbstractXulDomContainer.java:329) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.ConnectionsController.editConnection (ConnectionsController.java:227) at org.pentaho.di.repository.pur.PurRepository.getDatabaseID (SourceFile:810) at org.pentaho.di.repository.pur.PurRepository.a (SourceFile:821) at org.pentaho.di.repository.pur.PurRepository.a (SourceFile:733) at org.pentaho.di.repository.pur.PurRepository.checkAndSanitize (SourceFile:2201) at org.pentaho.di.repository.pur.PurRepository.getDatabaseID(SourceFile:812) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.ConnectionsController.editConnection(ConnectionsController.java:227) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtButton.access$300(SwtButton.java:26) at org.pentaho.ui.xul.swt.tags.SwtButton$2.mouseUp(SwtButton.java:87) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:378) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:133) at org.pentaho.di.ui.spoon.Spoon$20$1.run(Spoon.java:3550) 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.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1219) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7042) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8302) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.IllegalArgumentException at org.pentaho.di.repository.pur.PurRepository.checkAndSanitize(SourceFile:2201) at org.pentaho.di.repository.pur.PurRepository.a(SourceFile:733) at org.pentaho.di.repository.pur.PurRepository.a(SourceFile:821) at org.pentaho.di.repository.pur.PurRepository.getDatabaseID(SourceFile:810) ... 34 more Closing the repository or completely exiting spoon has no impact on this DB entry. It appears to be saved. I can't find a way to edit or delete the invalid connection, so any suggestions on an interim workaround would be great! :)

    Pentaho BI Platform Tracking | 4 years ago | Doug Bora
    org.pentaho.di.core.exception.KettleException: Unable to save repository element [Test/1] at org.pentaho.commons.launcher.Launcher.main (Launcher.java:134) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.spoon.Spoon.main (Spoon.java:578) at org.pentaho.di.ui.spoon.Spoon.start (Spoon.java:8302) at org.pentaho.di.ui.spoon.Spoon.waitForDispose (Spoon.java:7042) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch (Spoon.java:1219) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.RunnableLock.run (null:-1) at org.pentaho.di.ui.spoon.Spoon$20$1.run (Spoon.java:3550) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show (RepositoryExplorer.java:133) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:304) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:378) at org.eclipse.jface.window.Window.open (Window.java:796) at org.eclipse.jface.window.Window.runEventLoop (Window.java:820) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runDeferredEvents (null:-1) at org.eclipse.swt.widgets.Widget.sendEvent (null:-1) at org.eclipse.swt.widgets.EventTable.sendEvent (null:-1) at org.eclipse.swt.widgets.TypedListener.handleEvent (null:-1) at org.pentaho.ui.xul.swt.tags.SwtButton$2.mouseUp (SwtButton.java:87) at org.pentaho.ui.xul.swt.tags.SwtButton.access$300 (SwtButton.java:26) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:123) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke (AbstractXulDomContainer.java:329) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.ConnectionsController.editConnection (ConnectionsController.java:240) at org.pentaho.di.repository.pur.PurRepository.save (SourceFile:1748) at org.pentaho.di.repository.pur.PurRepository.saveDatabaseMeta (SourceFile:1972) at org.pentaho.di.repository.pur.PurRepository.b (SourceFile:1803) at org.pentaho.di.repository.pur.PurRepository.a (SourceFile:1796) at org.pentaho.di.repository.pur.PurRepository.checkAndSanitize (SourceFile:2201)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    IronGolem crash

    GitHub | 5 months ago | InventivetalentDev
    java.lang.RuntimeException: Failed to invoke @Watch method void damageArmor(float) with args: [3.0, SuperSwitch(state=PASS)]
  5. 0

    FinancingMonthlyPayment no return currencyID

    GitHub | 2 months ago | felipegirotti
    java.lang.IllegalArgumentException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      No message provided

      at org.pentaho.di.repository.pur.PurRepository.checkAndSanitize()
    2. org.pentaho.di
      ConnectionsController.editConnection
      1. org.pentaho.di.repository.pur.PurRepository.checkAndSanitize(SourceFile:2201)
      2. org.pentaho.di.repository.pur.PurRepository.a(SourceFile:1796)
      3. org.pentaho.di.repository.pur.PurRepository.b(SourceFile:1803)
      4. org.pentaho.di.repository.pur.PurRepository.saveDatabaseMeta(SourceFile:1972)
      5. org.pentaho.di.repository.pur.PurRepository.save(SourceFile:1748)
      6. org.pentaho.di.ui.repository.repositoryexplorer.controllers.ConnectionsController.editConnection(ConnectionsController.java:240)
      6 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    4. org.pentaho.ui
      SwtButton$2.mouseUp
      1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329)
      2. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139)
      3. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123)
      4. org.pentaho.ui.xul.swt.tags.SwtButton.access$300(SwtButton.java:26)
      5. org.pentaho.ui.xul.swt.tags.SwtButton$2.mouseUp(SwtButton.java:87)
      5 frames
    5. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      5 frames
    6. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
      2. org.eclipse.jface.window.Window.open(Window.java:796)
      2 frames
    7. org.pentaho.ui
      SwtDialog.show
      1. org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:378)
      2. org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304)
      2 frames
    8. org.pentaho.di
      Spoon$20$1.run
      1. org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:133)
      2. org.pentaho.di.ui.spoon.Spoon$20$1.run(Spoon.java:3550)
      2 frames
    9. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      4 frames
    10. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1219)
      2. org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7042)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8302)
      4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:578)
      4 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    12. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
      1 frame