Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find repository error #91

Open
HiromuHota opened this issue Jan 20, 2018 · 0 comments
Open

Unable to find repository error #91

HiromuHota opened this issue Jan 20, 2018 · 0 comments
Labels

Comments

@HiromuHota
Copy link
Owner

This is a regression of 4dcb443.

How to reproduce

  1. Create $CATALINA_HOME/system/kettle/slave-server-config.xml with the following content:
<slave_config>
  <max_log_lines>10000</max_log_lines>
  <max_log_timeout_minutes>2880</max_log_timeout_minutes>
  <object_timeout_minutes>240</object_timeout_minutes>
  <repository>
  <name>repo8.0</name>
  <username>admin</username>
    <password>password</password>
  </repository>
</slave_config> 
  1. Enable user authentication and log-in (e.g., user=chrome), but chrome/repositories.xml does not define a repository called repo8.0.

The following error is recorded in catalina.out.

2018/01/19 14:45:50 - RepositoriesMeta - Reading repositories XML file: /Users/hiromu/.kettle/users/chrome/repositories.xml
2018/01/19 14:45:50 - Servlet - ERROR (version 8.0.0.0-28-13, build 8.0.0.0-28-13 from 2018-01-18 09.58.14 by jenkins) : Unable to connect to repository
2018/01/19 14:45:50 - Servlet - ERROR (version 8.0.0.0-28-13, build 8.0.0.0-28-13 from 2018-01-18 09.58.14 by jenkins) : org.pentaho.di.core.exception.KettleException: 
2018/01/19 14:45:50 - Servlet - Unable to open repository connection
2018/01/19 14:45:50 - Servlet - 
2018/01/19 14:45:50 - Servlet - Unable to find repository: repo8.0
2018/01/19 14:45:50 - Servlet - 
2018/01/19 14:45:50 - Servlet - 
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.www.SlaveServerConfig.openRepository(SlaveServerConfig.java:318)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.www.SlaveServerConfig.getRepository(SlaveServerConfig.java:591)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.trans.dataservice.www.ServletRepositoryAdapter.get(ServletRepositoryAdapter.java:42)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.trans.dataservice.www.ServletRepositoryProvider.getRepository(ServletRepositoryProvider.java:40)
2018/01/19 14:45:50 - Servlet -         at Proxyb865e11b_08f7_4575_9cea_cb8afc26bb2a.getRepository(Unknown Source)
2018/01/19 14:45:50 - Servlet -         at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
2018/01/19 14:45:50 - Servlet -         at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1357)
2018/01/19 14:45:50 - Servlet -         at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
2018/01/19 14:45:50 - Servlet -         at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
2018/01/19 14:45:50 - Servlet -         at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
2018/01/19 14:45:50 - Servlet -         at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
2018/01/19 14:45:50 - Servlet -         at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
2018/01/19 14:45:50 - Servlet -         at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
2018/01/19 14:45:50 - Servlet -         at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.osgi.kettle.repository.locator.api.impl.KettleRepositoryLocatorImpl.getRepository(KettleRepositoryLocatorImpl.java:37)
2018/01/19 14:45:50 - Servlet -         at Proxye77d44fc_24b2_4adb_a6e6_4f8e03e651bb.getRepository(Unknown Source)
2018/01/19 14:45:50 - Servlet -         at Proxy93cd6837_2860_4555_b300_2621c76fde96.getRepository(Unknown Source)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.osgi.metastore.locator.impl.repository.RepositoryMetastoreProvider.getMetastore(RepositoryMetastoreProvider.java:36)
2018/01/19 14:45:50 - Servlet -         at Proxy91eb4ef7_3fb6_425e_92a3_40c734ba1d37.getMetastore(Unknown Source)
2018/01/19 14:45:50 - Servlet -         at Proxy4147b925_ecf0_44c3_b6a5_6196cb648fcc.getMetastore(Unknown Source)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.osgi.metastore.locator.api.impl.MetastoreLocatorImpl.getExplicitMetastore(MetastoreLocatorImpl.java:40)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.osgi.metastore.locator.api.impl.MetastoreLocatorImpl.getMetastore(MetastoreLocatorImpl.java:50)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.osgi.metastore.locator.api.impl.MetastoreLocatorImpl.getMetastore(MetastoreLocatorImpl.java:45)
2018/01/19 14:45:50 - Servlet -         at Proxy06cfde72_ffdb_46eb_8e0f_e34ed0f011b6.getMetastore(Unknown Source)
2018/01/19 14:45:50 - Servlet -         at Proxy381bf9ba_3316_4677_b753_57f750997ac7.getMetastore(Unknown Source)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.engine.configuration.impl.MetaStoreRunConfigurationFactory.getMetastoreFactory(MetaStoreRunConfigurationFactory.java:57)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.engine.configuration.impl.pentaho.DefaultRunConfigurationProvider.getMetaStoreFactory(DefaultRunConfigurationProvider.java:79)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.engine.configuration.impl.MetaStoreRunConfigurationFactory.load(MetaStoreRunConfigurationFactory.java:89)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.engine.configuration.impl.pentaho.DefaultRunConfigurationProvider.load(DefaultRunConfigurationProvider.java:85)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.engine.configuration.impl.RunConfigurationManager.load(RunConfigurationManager.java:52)
2018/01/19 14:45:50 - Servlet -         at Proxybe116e39_385f_42c5_8a0e_8a4bc4c8b1f6.load(Unknown Source)
2018/01/19 14:45:50 - Servlet -         at Proxy82f05682_280f_44ec_bf1e_8bdb97d79865.load(Unknown Source)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.engine.ui.RunConfigurationDelegate.load(RunConfigurationDelegate.java:96)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.engine.ui.RunConfigurationViewTreeExtension.refreshTree(RunConfigurationViewTreeExtension.java:76)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.engine.ui.RunConfigurationViewTreeExtension.callExtensionPoint(RunConfigurationViewTreeExtension.java:60)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.core.extension.ExtensionPointMap.callExtensionPoint(ExtensionPointMap.java:151)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.core.extension.ExtensionPointHandler.callExtensionPoint(ExtensionPointHandler.java:45)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.ui.spoon.Spoon.refreshSelectionTreeExtension(Spoon.java:6503)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.ui.spoon.Spoon.refreshTree(Spoon.java:6267)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.tabSelected(SpoonTabsDelegate.java:477)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.ui.spoon.Spoon.tabSelected(Spoon.java:3373)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.xul.swt.tab.TabSet.notifySelectListeners(TabSet.java:134)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.xul.swt.tab.TabSet.setSelected(TabSet.java:236)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.addTransGraph(SpoonTransformationDelegate.java:213)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.ui.spoon.Spoon.addTransGraph(Spoon.java:8741)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.di.ui.spoon.Spoon.newTransFile(Spoon.java:4768)
2018/01/19 14:45:50 - Servlet -         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2018/01/19 14:45:50 - Servlet -         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2018/01/19 14:45:50 - Servlet -         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2018/01/19 14:45:50 - Servlet -         at java.lang.reflect.Method.invoke(Method.java:498)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:313)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:157)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:141)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.ui.xul.jface.tags.JfaceMenuitem.access$100(JfaceMenuitem.java:43)
2018/01/19 14:45:50 - Servlet -         at org.pentaho.ui.xul.jface.tags.JfaceMenuitem$1.run(JfaceMenuitem.java:106)
2018/01/19 14:45:50 - Servlet -         at org.eclipse.jface.action.Action.runWithEvent(Action.java:493)
2018/01/19 14:45:50 - Servlet -         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:575)
2018/01/19 14:45:50 - Servlet -         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:492)
2018/01/19 14:45:50 - Servlet -         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:403)
2018/01/19 14:45:50 - Servlet -         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:109)
2018/01/19 14:45:50 - Servlet -         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:687)
2018/01/19 14:45:50 - Servlet -         at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:594)
2018/01/19 14:45:50 - Servlet -         at org.eclipse.swt.widgets.Display.executeNextEvent(Display.java:1217)
2018/01/19 14:45:50 - Servlet -         at org.eclipse.swt.widgets.Display.runPendingMessages(Display.java:1198)
2018/01/19 14:45:50 - Servlet -         at org.eclipse.swt.widgets.Display.safeReadAndDispatch(Display.java:1181)
2018/01/19 14:45:50 - Servlet -         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1173)
2018/01/19 14:45:50 - Servlet -         at org.eclipse.rap.rwt.application.AbstractEntryPoint.createUI(AbstractEntryPoint.java:69)
2018/01/19 14:45:50 - Servlet -         at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:177)
2018/01/19 14:45:50 - Servlet -         at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:290)
2018/01/19 14:45:50 - Servlet -         at java.lang.Thread.run(Thread.java:748)
2018/01/19 14:45:50 - Servlet -         at org.eclipse.rap.rwt.internal.lifecycle.UIThread.run(UIThread.java:107)
2018/01/19 14:45:50 - Servlet - Caused by: org.pentaho.di.core.exception.KettleException:
@HiromuHota HiromuHota added the bug label Sep 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant