[JBoss JIRA] (JBIDE-22437) Double click on a folder in browsed workspace for resource creation causes NPE
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22437?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-22437:
----------------------------------
Steps to Reproduce:
ASSERT: Have an eclipse project in workspace which has a folder containing files without file extension.
ASSERT: Have an OpenShift 3 connection in OpenShift Explorer view.
EXEC: Select the connection and open its context menu New - Resource.
EXEC: Click on button Browse Workspace and navigate to a folder containing the folder.
EXEC: Click on the arrrow next to the folder containing file without file extension.
RESULT: NPE is thrown, see eclipse log.
EXPECTED RESULT: No NPE is thrown.
> Double click on a folder in browsed workspace for resource creation causes NPE
> ------------------------------------------------------------------------------
>
> Key: JBIDE-22437
> URL: https://issues.jboss.org/browse/JBIDE-22437
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.0.Alpha2
> Reporter: Marián Labuda
> Assignee: Dmitry Bocharov
> Labels: openshift_v3
> Fix For: 4.4.0.Alpha3
>
>
> When I double click on a folder which is empty in Select OpenShift resource shell, which is opened by click on Browse Workspace button in New OpenShift resource wizard, NPE is thrown. If I click on arrow next to a folder, arrow disappear, because there are no files in the folder, but double click, which is supposed to expand a folder throws NPE with following stack trace:
> {code}
> Unhandled event loop exception
> java.lang.NullPointerException
> at org.jboss.tools.openshift.internal.common.ui.utils.UIUtils$7.select(UIUtils.java:488)
> at org.eclipse.jface.viewers.ViewerFilter.filter(ViewerFilter.java:56)
> at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:911)
> at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:621)
> at org.eclipse.jface.viewers.AbstractTreeViewer.lambda$0(AbstractTreeViewer.java:817)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:795)
> at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:596)
> at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:766)
> at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1493)
> at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:882)
> at org.eclipse.jface.viewers.AbstractTreeViewer$3.treeExpanded(AbstractTreeViewer.java:1505)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:133)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5208)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1366)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1349)
> at org.eclipse.swt.widgets.Tree.gtk_test_expand_row(Tree.java:2206)
> at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2029)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5485)
> at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
> at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:9545)
> at org.eclipse.swt.widgets.Display.eventProc(Display.java:1275)
> at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
> at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2495)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4130)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
> at org.eclipse.jface.window.Window.open(Window.java:794)
> at org.eclipse.ui.dialogs.ElementTreeSelectionDialog.open(ElementTreeSelectionDialog.java:236)
> at org.jboss.tools.openshift.internal.ui.wizard.resource.ResourcePayloadPage$3.widgetSelected(ResourcePayloadPage.java:182)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5208)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4542)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4132)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
> at org.eclipse.jface.window.Window.open(Window.java:794)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:287)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:270)
> at org.jboss.tools.openshift.internal.ui.handler.NewResourceHandler.execute(NewResourceHandler.java:33)
> at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
> at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
> at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:54)
> at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:282)
> at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:264)
> at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
> at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
> at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
> at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:488)
> at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
> at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:427)
> at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:454)
> at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem$3.handleEvent(AbstractContributionItem.java:482)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5208)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4542)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4132)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1119)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1020)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
> 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:388)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> 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:498)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBTIS-719) Fix 'DataTransformationDeploymentEAPTest'
by Tomáš Sedmík (JIRA)
[ https://issues.jboss.org/browse/JBTIS-719?page=com.atlassian.jira.plugin.... ]
Tomáš Sedmík edited comment on JBTIS-719 at 5/31/16 4:17 AM:
-------------------------------------------------------------
{code}
Timeout after: 10 s.: console contains '(CamelContext: spring-context) started'
{code}
{code}
at org.jboss.reddeer.common.wait.AbstractWait.timeoutExceeded(AbstractWait.java:173)
at org.jboss.reddeer.common.wait.AbstractWait.wait(AbstractWait.java:126)
at org.jboss.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:91)
at org.jboss.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:61)
at org.jboss.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:46)
at org.jboss.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:34)
at org.jboss.reddeer.common.wait.WaitUntil.<init>(WaitUntil.java:25)
at org.jboss.tools.fuse.ui.bot.test.DeploymentEAPTest.testDeployment(DeploymentEAPTest.java:88)
{code}
was (Author: tsedmik):
{code}
Timeout after: 10 s.: console contains '(CamelContext: spring-context) started'
{code}
> Fix 'DataTransformationDeploymentEAPTest'
> -----------------------------------------
>
> Key: JBTIS-719
> URL: https://issues.jboss.org/browse/JBTIS-719
> Project: JBoss Tools Integration Stack
> Issue Type: Bug
> Components: Fuse IDE, QE
> Affects Versions: 4.3.0.Final
> Environment: Fuse on EAP 6.3.0.ER1
> JBDS 9.1.0.GA
> JBDSIS 9.0.0.GA
> Reporter: Tomáš Sedmík
> Assignee: Tomáš Sedmík
> Fix For: 4.3.0.Final
>
>
> Fuse on EAP log was slightly changed.
> {code}
> ...file://src/data) Creating JAXBContext...
> {code}
> to
> {code}
> ...file://src/data) Created XMLInputFactory...
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBTIS-724) Create a test for FUSETOOLS-740
by Tomáš Sedmík (JIRA)
Tomáš Sedmík created JBTIS-724:
----------------------------------
Summary: Create a test for FUSETOOLS-740
Key: JBTIS-724
URL: https://issues.jboss.org/browse/JBTIS-724
Project: JBoss Tools Integration Stack
Issue Type: Task
Components: Fuse IDE, QE
Affects Versions: 4.3.0.Final
Reporter: Tomáš Sedmík
Assignee: Tomáš Sedmík
Fix For: 4.3.1.Final
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBDS-3915) JBDS 8.1.0.GA crashes with OpenJDK 1.8.0.91-2
by Andrej Podhradsky (JIRA)
Andrej Podhradsky created JBDS-3915:
---------------------------------------
Summary: JBDS 8.1.0.GA crashes with OpenJDK 1.8.0.91-2
Key: JBDS-3915
URL: https://issues.jboss.org/browse/JBDS-3915
Project: Red Hat Developer Studio (DevStudio)
Issue Type: Bug
Affects Versions: 8.1.0.GA
Environment: Fedora 22 x86_64
java-1.8.0-openjdk-1.8.0.91-2.b14.fc22.x86_64
Reporter: Andrej Podhradsky
JBDS 8.1.0.GA crashes with OpenJDK 1.8.0.91-2 if you try to install anything (via Install Software or JBoss Central) after installing the JBDS. Note that this happens only after new installation. After rerunning the JBDS it works as expected.
There are no errors, the JBDS just disappears
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBIDE-22464) Jax-RS validation and browser doesn't understand mulitple jax-rs applicaitons in same project
by Mickael Istria (JIRA)
Mickael Istria created JBIDE-22464:
--------------------------------------
Summary: Jax-RS validation and browser doesn't understand mulitple jax-rs applicaitons in same project
Key: JBIDE-22464
URL: https://issues.jboss.org/browse/JBIDE-22464
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: webservices
Affects Versions: 4.4.0.Alpha2
Reporter: Mickael Istria
I'm testing an application with 2 Jax-RS application servlets. I've defined then in the web.xml as follows (I'm not using annotations):
{code:xml}
<servlet-mapping>
<servlet-name>my.app.services.RestServices</servlet-name>
<url-pattern>/api/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>my.app.pages.WebPages</servlet-name>
<url-pattern>/pages/*</url-pattern>
</servlet-mapping>
{code}
This cause a few issues:
* in web.xml "Multiple JAX-RS Activators are defined for the project." (error by default, I set it to warning)
* in the RestfulServices class, "The Application Path should be configured with an @ApplicationPath annotation or in the web deployment descriptor." error. It seems like the validator ignores a part of the web.xml
* In Project Explorer, the "Jax-RS Services" node shows incorrect children: it shows api/ endpoints under pages/api/... whereas pages and api are "siblings".
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months