[JBoss JIRA] (JBIDE-21742) Secure storage of OpenShift 3 token does not work
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21742?page=com.atlassian.jira.plugi... ]
Marián Labuda edited comment on JBIDE-21742 at 2/26/16 6:25 AM:
----------------------------------------------------------------
It is working. But still there is an error in error log with following stack. Is this desired? Should not we hide this message, because we are handling it with that warning dialog and this is not something unexpected? Otherwise it is verified on lates nightly JBT build with OpenShift tooling build B197.
{code}
org.jboss.tools.openshift.internal.common.core.security.SecureStoreException: Could not store value token: XXX
at org.jboss.tools.openshift.internal.common.core.security.SecureStore.store(SecureStore.java:104)
at org.jboss.tools.openshift.internal.common.core.security.SecureStore.put(SecureStore.java:57)
at org.jboss.tools.openshift.core.connection.Connection.saveOrClear(Connection.java:191)
at org.jboss.tools.openshift.core.connection.Connection.save(Connection.java:162)
at org.jboss.tools.openshift.core.connection.Connection.connect(Connection.java:216)
at org.jboss.tools.openshift.internal.common.ui.connection.ConnectionWizardPageModel.connect(ConnectionWizardPageModel.java:355)
at org.jboss.tools.openshift.internal.common.ui.connection.ConnectionWizardPage$ConnectJob.doRun(ConnectionWizardPage.java:476)
at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.eclipse.equinox.security.storage.StorageException: No password provided.
at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getModulePassword(SecurePreferencesRoot.java:304)
at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePreferencesRoot.java:224)
at org.eclipse.equinox.internal.security.storage.SecurePreferences.put(SecurePreferences.java:224)
at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put(SecurePreferencesWrapper.java:110)
at org.jboss.tools.openshift.internal.common.core.security.SecureStore.store(SecureStore.java:102)
... 8 more
{code}
was (Author: mlabuda):
It is working. But still there is an error in error log with following stack. Is this desired? Should not we hide this message, because we are handling it with that warning dialog and this is not something unexpected?
{code}
org.jboss.tools.openshift.internal.common.core.security.SecureStoreException: Could not store value token: XXX
at org.jboss.tools.openshift.internal.common.core.security.SecureStore.store(SecureStore.java:104)
at org.jboss.tools.openshift.internal.common.core.security.SecureStore.put(SecureStore.java:57)
at org.jboss.tools.openshift.core.connection.Connection.saveOrClear(Connection.java:191)
at org.jboss.tools.openshift.core.connection.Connection.save(Connection.java:162)
at org.jboss.tools.openshift.core.connection.Connection.connect(Connection.java:216)
at org.jboss.tools.openshift.internal.common.ui.connection.ConnectionWizardPageModel.connect(ConnectionWizardPageModel.java:355)
at org.jboss.tools.openshift.internal.common.ui.connection.ConnectionWizardPage$ConnectJob.doRun(ConnectionWizardPage.java:476)
at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.eclipse.equinox.security.storage.StorageException: No password provided.
at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getModulePassword(SecurePreferencesRoot.java:304)
at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePreferencesRoot.java:224)
at org.eclipse.equinox.internal.security.storage.SecurePreferences.put(SecurePreferences.java:224)
at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put(SecurePreferencesWrapper.java:110)
at org.jboss.tools.openshift.internal.common.core.security.SecureStore.store(SecureStore.java:102)
... 8 more
{code}
> Secure storage of OpenShift 3 token does not work
> -------------------------------------------------
>
> Key: JBIDE-21742
> URL: https://issues.jboss.org/browse/JBIDE-21742
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Marián Labuda
> Assignee: Viacheslav Kabanovich
> Labels: connection, openshift_v3, security_domain
> Fix For: 4.3.1.CR1
>
> Attachments: SecureStorageAccessFailure.png
>
>
> When I have already user secure storage in another session (password is set) and I fill in valid token and check checkbox to store token in secure storage, confirmation dialog of secure storage is shown upon hitting Finish button. Upon filling invalid secure storage password for first time, dialog is invoked again to enter password. After second filling of invalid password for secure storage, it looks like it passed - no other prompt nor error dialog (just in error log see stack trace) and even in Connection dialog (opened via Edit context menu item on the connection) is checkbox for secure storage checked, what is wrong, because it is not stored (checked secure storage preference page and its content and also after restart of eclipse it was not stored).
> {code}
> org.jboss.tools.openshift.internal.common.core.security.SecureStoreException: Could not store value token: iQKo-5jRkMeaegCi3mljsFsAXhNaogmzwaKeaQNUAxc
> at org.jboss.tools.openshift.internal.common.core.security.SecureStore.store(SecureStore.java:104)
> at org.jboss.tools.openshift.internal.common.core.security.SecureStore.put(SecureStore.java:57)
> at org.jboss.tools.openshift.core.connection.Connection.saveOrClear(Connection.java:187)
> at org.jboss.tools.openshift.core.connection.Connection.save(Connection.java:159)
> at org.jboss.tools.openshift.core.connection.Connection.connect(Connection.java:207)
> at org.jboss.tools.openshift.core.connection.Connection.retryList(Connection.java:424)
> at org.jboss.tools.openshift.core.connection.Connection.getResources(Connection.java:368)
> at org.jboss.tools.openshift.core.connection.Connection.getResources(Connection.java:355)
> at org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectCache.getProjectsFor(OpenShiftProjectCache.java:60)
> at org.jboss.tools.openshift.internal.ui.explorer.OpenShiftExplorerContentProvider.getChildrenFor(OpenShiftExplorerContentProvider.java:95)
> at org.jboss.tools.openshift.internal.common.ui.explorer.BaseExplorerContentProvider$1.run(BaseExplorerContentProvider.java:167)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: org.eclipse.equinox.security.storage.StorageException: No password provided.
> at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getModulePassword(SecurePreferencesRoot.java:304)
> at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePreferencesRoot.java:224)
> at org.eclipse.equinox.internal.security.storage.SecurePreferences.put(SecurePreferences.java:224)
> at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put(SecurePreferencesWrapper.java:110)
> at org.jboss.tools.openshift.internal.common.core.security.SecureStore.store(SecureStore.java:102)
> ... 11 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21742) Secure storage of OpenShift 3 token does not work
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21742?page=com.atlassian.jira.plugi... ]
Marián Labuda commented on JBIDE-21742:
---------------------------------------
It is working. But still there is an error in error log with following stack. Is this desired? Should not we hide this message, because we are handling it with that warning dialog and this is not something unexpected?
{code}
org.jboss.tools.openshift.internal.common.core.security.SecureStoreException: Could not store value token: XXX
at org.jboss.tools.openshift.internal.common.core.security.SecureStore.store(SecureStore.java:104)
at org.jboss.tools.openshift.internal.common.core.security.SecureStore.put(SecureStore.java:57)
at org.jboss.tools.openshift.core.connection.Connection.saveOrClear(Connection.java:191)
at org.jboss.tools.openshift.core.connection.Connection.save(Connection.java:162)
at org.jboss.tools.openshift.core.connection.Connection.connect(Connection.java:216)
at org.jboss.tools.openshift.internal.common.ui.connection.ConnectionWizardPageModel.connect(ConnectionWizardPageModel.java:355)
at org.jboss.tools.openshift.internal.common.ui.connection.ConnectionWizardPage$ConnectJob.doRun(ConnectionWizardPage.java:476)
at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.eclipse.equinox.security.storage.StorageException: No password provided.
at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getModulePassword(SecurePreferencesRoot.java:304)
at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePreferencesRoot.java:224)
at org.eclipse.equinox.internal.security.storage.SecurePreferences.put(SecurePreferences.java:224)
at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put(SecurePreferencesWrapper.java:110)
at org.jboss.tools.openshift.internal.common.core.security.SecureStore.store(SecureStore.java:102)
... 8 more
{code}
> Secure storage of OpenShift 3 token does not work
> -------------------------------------------------
>
> Key: JBIDE-21742
> URL: https://issues.jboss.org/browse/JBIDE-21742
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Marián Labuda
> Assignee: Viacheslav Kabanovich
> Labels: connection, openshift_v3, security_domain
> Fix For: 4.3.1.CR1
>
> Attachments: SecureStorageAccessFailure.png
>
>
> When I have already user secure storage in another session (password is set) and I fill in valid token and check checkbox to store token in secure storage, confirmation dialog of secure storage is shown upon hitting Finish button. Upon filling invalid secure storage password for first time, dialog is invoked again to enter password. After second filling of invalid password for secure storage, it looks like it passed - no other prompt nor error dialog (just in error log see stack trace) and even in Connection dialog (opened via Edit context menu item on the connection) is checkbox for secure storage checked, what is wrong, because it is not stored (checked secure storage preference page and its content and also after restart of eclipse it was not stored).
> {code}
> org.jboss.tools.openshift.internal.common.core.security.SecureStoreException: Could not store value token: iQKo-5jRkMeaegCi3mljsFsAXhNaogmzwaKeaQNUAxc
> at org.jboss.tools.openshift.internal.common.core.security.SecureStore.store(SecureStore.java:104)
> at org.jboss.tools.openshift.internal.common.core.security.SecureStore.put(SecureStore.java:57)
> at org.jboss.tools.openshift.core.connection.Connection.saveOrClear(Connection.java:187)
> at org.jboss.tools.openshift.core.connection.Connection.save(Connection.java:159)
> at org.jboss.tools.openshift.core.connection.Connection.connect(Connection.java:207)
> at org.jboss.tools.openshift.core.connection.Connection.retryList(Connection.java:424)
> at org.jboss.tools.openshift.core.connection.Connection.getResources(Connection.java:368)
> at org.jboss.tools.openshift.core.connection.Connection.getResources(Connection.java:355)
> at org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectCache.getProjectsFor(OpenShiftProjectCache.java:60)
> at org.jboss.tools.openshift.internal.ui.explorer.OpenShiftExplorerContentProvider.getChildrenFor(OpenShiftExplorerContentProvider.java:95)
> at org.jboss.tools.openshift.internal.common.ui.explorer.BaseExplorerContentProvider$1.run(BaseExplorerContentProvider.java:167)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: org.eclipse.equinox.security.storage.StorageException: No password provided.
> at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getModulePassword(SecurePreferencesRoot.java:304)
> at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePreferencesRoot.java:224)
> at org.eclipse.equinox.internal.security.storage.SecurePreferences.put(SecurePreferences.java:224)
> at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put(SecurePreferencesWrapper.java:110)
> at org.jboss.tools.openshift.internal.common.core.security.SecureStore.store(SecureStore.java:102)
> ... 11 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21753) Explorer: connection name overlaps its icon until expanded with GTK3
by Jan Richter (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21753?page=com.atlassian.jira.plugi... ]
Jan Richter commented on JBIDE-21753:
-------------------------------------
I just found out this issue only happens when the openshift explorer is opened and selected right after start. Any manipulation with it will rectify the problem.
And yes, I have tested Neon on fc22 -> could not reproduce this there.
> Explorer: connection name overlaps its icon until expanded with GTK3
> --------------------------------------------------------------------
>
> Key: JBIDE-21753
> URL: https://issues.jboss.org/browse/JBIDE-21753
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift, upstream
> Affects Versions: 4.3.1.CR1
> Reporter: Jan Richter
> Assignee: Snjezana Peco
> Priority: Minor
> Labels: gtk3
> Fix For: 4.4.0.Alpha1
>
> Attachments: connection.png, explorer-view-connections.png
>
>
> This is what the explorer looks like when I start up the tooling with GTK3:
> !connection.png|thumbnail!
> Expanding the connection will shift the text to its proper position.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21753) Explorer: connection name overlaps its icon until expanded with GTK3
by Snjezana Peco (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21753?page=com.atlassian.jira.plugi... ]
Snjezana Peco commented on JBIDE-21753:
---------------------------------------
I have tried to reproduce it using Mars.2 RC4 and different GTK versions, but haven't succeeded.
It is possible that there is a problem with some GTK theme.
Have you tested Neon on fc22?
> Explorer: connection name overlaps its icon until expanded with GTK3
> --------------------------------------------------------------------
>
> Key: JBIDE-21753
> URL: https://issues.jboss.org/browse/JBIDE-21753
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift, upstream
> Affects Versions: 4.3.1.CR1
> Reporter: Jan Richter
> Assignee: Snjezana Peco
> Priority: Minor
> Labels: gtk3
> Fix For: 4.4.0.Alpha1
>
> Attachments: connection.png, explorer-view-connections.png
>
>
> This is what the explorer looks like when I start up the tooling with GTK3:
> !connection.png|thumbnail!
> Expanding the connection will shift the text to its proper position.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21771) Simplest java project is imported sometimes as JDT, sometimes not.
by Radim Hopp (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21771?page=com.atlassian.jira.plugi... ]
Radim Hopp commented on JBIDE-21771:
------------------------------------
Yes, the project is usable either way... I've tried to compare two projects, one imported as "Java" one as "Java, JDT"... and they are identical (except for name).
> Simplest java project is imported sometimes as JDT, sometimes not.
> ------------------------------------------------------------------
>
> Key: JBIDE-21771
> URL: https://issues.jboss.org/browse/JBIDE-21771
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: easymport
> Affects Versions: 4.3.1.CR1
> Reporter: Radim Hopp
> Assignee: Mickael Istria
> Attachments: PlainJavaProject
>
>
> Importing simplest java project (in attachment) gets sometimes imported as "Java, JDT" and sometimes only as "Java". I am not able to provide exact steps to reproduce, as it seems to do that randomly.
> Looking at http://git.eclipse.org/c/e4/org.eclipse.e4.ui.git/tree/bundles/org.eclips..., project should be detected as JDT, in case ".classpath" is found in the project. Couldn't be the issue the order of executing configurators? Like when Java configurator is called first, it creates .classpath and then JDT configurator is called and it sees the .classpath file. When the order is opposite, JDT is not configured, because .classpath is not there yet?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21737) Error while selecting a project in the OpenShift Explorer view
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21737?page=com.atlassian.jira.plugi... ]
Xavier Coulon commented on JBIDE-21737:
---------------------------------------
[~fbricon], do you have the same problem on MacOSX ? [~adietish] told me he could not reproduce it on Linux.. Or am I missing something in my workspace ?
> Error while selecting a project in the OpenShift Explorer view
> --------------------------------------------------------------
>
> Key: JBIDE-21737
> URL: https://issues.jboss.org/browse/JBIDE-21737
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Reporter: Xavier Coulon
>
> I have the following exception *many times* in the console when I select a project in the OpenShift Explorer view:
> {code}
> org.eclipse.core.commands.common.NotDefinedException: Cannot get the parent identifier from an undefined context. org.jboss.tools.openshift.explorer.context.connection
> at org.eclipse.core.commands.contexts.Context.getParentId(Context.java:197)
> at org.eclipse.e4.ui.bindings.internal.ContextSet$CComp.getLevel(ContextSet.java:49)
> at org.eclipse.e4.ui.bindings.internal.ContextSet$CComp.compare(ContextSet.java:38)
> at org.eclipse.e4.ui.bindings.internal.ContextSet$CComp.compare(ContextSet.java:1)
> at java.util.TimSort.binarySort(TimSort.java:292)
> at java.util.TimSort.sort(TimSort.java:217)
> at java.util.Arrays.sort(Arrays.java:1512)
> at java.util.ArrayList.sort(ArrayList.java:1454)
> at java.util.Collections.sort(Collections.java:175)
> at org.eclipse.e4.ui.bindings.internal.ContextSet.<init>(ContextSet.java:77)
> at org.eclipse.e4.ui.bindings.internal.BindingTableManager.createContextSet(BindingTableManager.java:90)
> at org.eclipse.e4.ui.bindings.internal.BindingServiceImpl.setContextIds(BindingServiceImpl.java:177)
> at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
> at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:90)
> at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:111)
> at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:341)
> at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:356)
> at org.eclipse.e4.ui.internal.services.ContextContextService.activateContext(ContextContextService.java:56)
> at org.eclipse.ui.internal.contexts.ContextService.activateContext(ContextService.java:170)
> at org.eclipse.ui.internal.contexts.ContextService.activateContext(ContextService.java:102)
> at org.jboss.tools.openshift.internal.common.ui.explorer.OpenShiftExplorerView$Contexts.activate(OpenShiftExplorerView.java:201)
> at org.jboss.tools.openshift.internal.common.ui.explorer.OpenShiftExplorerView$OpenShiftExplorerContextsHandler$2.selectionChanged(OpenShiftExplorerView.java:187)
> at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:163)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
> at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
> at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2197)
> at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1228)
> at org.eclipse.ui.navigator.CommonViewer.handleSelect(CommonViewer.java:461)
> at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1257)
> at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:242)
> at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:236)
> at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:408)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
> at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:5045)
> at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5432)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
> at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1121)
> at org.eclipse.swt.widgets.Tree.mouseDownSuper(Tree.java:2066)
> at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1113)
> at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2571)
> at org.eclipse.swt.widgets.Tree.mouseDown(Tree.java:2034)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5692)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
> at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2130)
> at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2337)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5756)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5193)
> at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5342)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
> at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3695)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21774) Error when trying to create server adapter before first build completed
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21774?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-21774:
-------------------------------------
Fix Version/s: 4.3.1.CR1
> Error when trying to create server adapter before first build completed
> ------------------------------------------------------------------------
>
> Key: JBIDE-21774
> URL: https://issues.jboss.org/browse/JBIDE-21774
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Labels: openshift_v3, server_adapter_wizard
> Fix For: 4.3.1.CR1
>
>
> I just got the following error when trying to create a Server Adapter using the wizard from JBIDE-21447 (although it might happen with the regular Server creation wizard):
> {code}
> !ENTRY org.eclipse.core.jobs 4 2 2016-02-26 09:36:11.271
> !MESSAGE An internal error occurred during: "Loading projects and services...".
> !STACK 0
> com.openshift.restclient.OpenShiftException: Could not get resource eap-app:latest in namespace sample: {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {},
> "status": "Failure",
> "message": "imageStreamTag \"eap-app:latest\" not found",
> "reason": "NotFound",
> "details": {
> "name": "eap-app:latest",
> "kind": "imageStreamTag"
> },
> "code": 404
> }
>
> at com.openshift.internal.restclient.DefaultClient.createOpenShiftException(DefaultClient.java:481)
> at com.openshift.internal.restclient.DefaultClient.get(DefaultClient.java:306)
> at org.jboss.tools.openshift.core.connection.Connection.getResource(Connection.java:378)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper.lambda$5(DeploymentResourceMapper.java:106)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper$$Lambda$67/1157417615.apply(Unknown Source)
> at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
> at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1540)
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper.getImageStreamTagsFor(DeploymentResourceMapper.java:107)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper.lambda$2(DeploymentResourceMapper.java:87)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper$$Lambda$62/2102889287.apply(Unknown Source)
> at java.util.stream.Collectors.lambda$toMap$172(Collectors.java:1321)
> at java.util.stream.Collectors$$Lambda$57/318338413.accept(Unknown Source)
> at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
> at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1540)
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper.getAllImageStreamTags(DeploymentResourceMapper.java:85)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel$ProjectImageStreamTags.createImageStreamsMap(ServerSettingsViewModel.java:334)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel$ProjectImageStreamTags.<init>(ServerSettingsViewModel.java:327)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel.lambda$1(ServerSettingsViewModel.java:279)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel$$Lambda$54/494343192.apply(Unknown Source)
> at java.util.stream.Collectors.lambda$toMap$172(Collectors.java:1321)
> at java.util.stream.Collectors$$Lambda$57/318338413.accept(Unknown Source)
> at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
> at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel.createImageStreamTagsMap(ServerSettingsViewModel.java:277)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel.loadResources(ServerSettingsViewModel.java:261)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel.loadResources(ServerSettingsViewModel.java:255)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsWizardPage$2.run(ServerSettingsWizardPage.java:188)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: com.openshift.internal.restclient.http.NotFoundException: {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {},
> "status": "Failure",
> "message": "imageStreamTag \"eap-app:latest\" not found",
> "reason": "NotFound",
> "details": {
> "name": "eap-app:latest",
> "kind": "imageStreamTag"
> },
> "code": 404
> }
>
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:230)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:165)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:141)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.get(UrlConnectionHttpClient.java:103)
> at com.openshift.internal.restclient.DefaultClient.get(DefaultClient.java:302)
> ... 41 more
> Caused by: java.io.FileNotFoundException: https://10.2.2.2:8443/oapi/v1/namespaces/sample/imagestreamtags/eap-app:l...
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1835)
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
> at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:161)
> ... 44 more
> {code}
> From my understanding, this error happened because the first build job did not complete at the time the wizard was opened, and thus, the Docker image for the app was not available locally. Once the build job completed, the error disappeared on subsequent wizard calls.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21774) Error when trying to create server adapter before first build completed
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21774?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-21774:
-------------------------------------
Labels: openshift_v3 server_adapter_wizard (was: )
> Error when trying to create server adapter before first build completed
> ------------------------------------------------------------------------
>
> Key: JBIDE-21774
> URL: https://issues.jboss.org/browse/JBIDE-21774
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Labels: openshift_v3, server_adapter_wizard
> Fix For: 4.3.1.CR1
>
>
> I just got the following error when trying to create a Server Adapter using the wizard from JBIDE-21447 (although it might happen with the regular Server creation wizard):
> {code}
> !ENTRY org.eclipse.core.jobs 4 2 2016-02-26 09:36:11.271
> !MESSAGE An internal error occurred during: "Loading projects and services...".
> !STACK 0
> com.openshift.restclient.OpenShiftException: Could not get resource eap-app:latest in namespace sample: {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {},
> "status": "Failure",
> "message": "imageStreamTag \"eap-app:latest\" not found",
> "reason": "NotFound",
> "details": {
> "name": "eap-app:latest",
> "kind": "imageStreamTag"
> },
> "code": 404
> }
>
> at com.openshift.internal.restclient.DefaultClient.createOpenShiftException(DefaultClient.java:481)
> at com.openshift.internal.restclient.DefaultClient.get(DefaultClient.java:306)
> at org.jboss.tools.openshift.core.connection.Connection.getResource(Connection.java:378)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper.lambda$5(DeploymentResourceMapper.java:106)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper$$Lambda$67/1157417615.apply(Unknown Source)
> at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
> at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1540)
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper.getImageStreamTagsFor(DeploymentResourceMapper.java:107)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper.lambda$2(DeploymentResourceMapper.java:87)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper$$Lambda$62/2102889287.apply(Unknown Source)
> at java.util.stream.Collectors.lambda$toMap$172(Collectors.java:1321)
> at java.util.stream.Collectors$$Lambda$57/318338413.accept(Unknown Source)
> at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
> at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1540)
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper.getAllImageStreamTags(DeploymentResourceMapper.java:85)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel$ProjectImageStreamTags.createImageStreamsMap(ServerSettingsViewModel.java:334)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel$ProjectImageStreamTags.<init>(ServerSettingsViewModel.java:327)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel.lambda$1(ServerSettingsViewModel.java:279)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel$$Lambda$54/494343192.apply(Unknown Source)
> at java.util.stream.Collectors.lambda$toMap$172(Collectors.java:1321)
> at java.util.stream.Collectors$$Lambda$57/318338413.accept(Unknown Source)
> at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
> at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel.createImageStreamTagsMap(ServerSettingsViewModel.java:277)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel.loadResources(ServerSettingsViewModel.java:261)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel.loadResources(ServerSettingsViewModel.java:255)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsWizardPage$2.run(ServerSettingsWizardPage.java:188)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: com.openshift.internal.restclient.http.NotFoundException: {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {},
> "status": "Failure",
> "message": "imageStreamTag \"eap-app:latest\" not found",
> "reason": "NotFound",
> "details": {
> "name": "eap-app:latest",
> "kind": "imageStreamTag"
> },
> "code": 404
> }
>
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:230)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:165)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:141)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.get(UrlConnectionHttpClient.java:103)
> at com.openshift.internal.restclient.DefaultClient.get(DefaultClient.java:302)
> ... 41 more
> Caused by: java.io.FileNotFoundException: https://10.2.2.2:8443/oapi/v1/namespaces/sample/imagestreamtags/eap-app:l...
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1835)
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
> at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:161)
> ... 44 more
> {code}
> From my understanding, this error happened because the first build job did not complete at the time the wizard was opened, and thus, the Docker image for the app was not available locally. Once the build job completed, the error disappeared on subsequent wizard calls.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21774) Error when trying to create server adapter before first build completed
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21774?page=com.atlassian.jira.plugi... ]
Andre Dietisheim resolved JBIDE-21774.
--------------------------------------
Resolution: Duplicate Issue
> Error when trying to create server adapter before first build completed
> ------------------------------------------------------------------------
>
> Key: JBIDE-21774
> URL: https://issues.jboss.org/browse/JBIDE-21774
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Labels: openshift_v3, server_adapter_wizard
> Fix For: 4.3.1.CR1
>
>
> I just got the following error when trying to create a Server Adapter using the wizard from JBIDE-21447 (although it might happen with the regular Server creation wizard):
> {code}
> !ENTRY org.eclipse.core.jobs 4 2 2016-02-26 09:36:11.271
> !MESSAGE An internal error occurred during: "Loading projects and services...".
> !STACK 0
> com.openshift.restclient.OpenShiftException: Could not get resource eap-app:latest in namespace sample: {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {},
> "status": "Failure",
> "message": "imageStreamTag \"eap-app:latest\" not found",
> "reason": "NotFound",
> "details": {
> "name": "eap-app:latest",
> "kind": "imageStreamTag"
> },
> "code": 404
> }
>
> at com.openshift.internal.restclient.DefaultClient.createOpenShiftException(DefaultClient.java:481)
> at com.openshift.internal.restclient.DefaultClient.get(DefaultClient.java:306)
> at org.jboss.tools.openshift.core.connection.Connection.getResource(Connection.java:378)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper.lambda$5(DeploymentResourceMapper.java:106)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper$$Lambda$67/1157417615.apply(Unknown Source)
> at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
> at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1540)
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper.getImageStreamTagsFor(DeploymentResourceMapper.java:107)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper.lambda$2(DeploymentResourceMapper.java:87)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper$$Lambda$62/2102889287.apply(Unknown Source)
> at java.util.stream.Collectors.lambda$toMap$172(Collectors.java:1321)
> at java.util.stream.Collectors$$Lambda$57/318338413.accept(Unknown Source)
> at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
> at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1540)
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> at org.jboss.tools.openshift.internal.ui.models.DeploymentResourceMapper.getAllImageStreamTags(DeploymentResourceMapper.java:85)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel$ProjectImageStreamTags.createImageStreamsMap(ServerSettingsViewModel.java:334)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel$ProjectImageStreamTags.<init>(ServerSettingsViewModel.java:327)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel.lambda$1(ServerSettingsViewModel.java:279)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel$$Lambda$54/494343192.apply(Unknown Source)
> at java.util.stream.Collectors.lambda$toMap$172(Collectors.java:1321)
> at java.util.stream.Collectors$$Lambda$57/318338413.accept(Unknown Source)
> at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
> at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel.createImageStreamTagsMap(ServerSettingsViewModel.java:277)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel.loadResources(ServerSettingsViewModel.java:261)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsViewModel.loadResources(ServerSettingsViewModel.java:255)
> at org.jboss.tools.openshift.internal.ui.server.ServerSettingsWizardPage$2.run(ServerSettingsWizardPage.java:188)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: com.openshift.internal.restclient.http.NotFoundException: {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {},
> "status": "Failure",
> "message": "imageStreamTag \"eap-app:latest\" not found",
> "reason": "NotFound",
> "details": {
> "name": "eap-app:latest",
> "kind": "imageStreamTag"
> },
> "code": 404
> }
>
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:230)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:165)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:141)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.get(UrlConnectionHttpClient.java:103)
> at com.openshift.internal.restclient.DefaultClient.get(DefaultClient.java:302)
> ... 41 more
> Caused by: java.io.FileNotFoundException: https://10.2.2.2:8443/oapi/v1/namespaces/sample/imagestreamtags/eap-app:l...
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1835)
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
> at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:161)
> ... 44 more
> {code}
> From my understanding, this error happened because the first build job did not complete at the time the wizard was opened, and thus, the Docker image for the app was not available locally. Once the build job completed, the error disappeared on subsequent wizard calls.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month