[
https://jira.jboss.org/jira/browse/JBIDE-6241?page=com.atlassian.jira.plu...
]
Viacheslav Kabanovich commented on JBIDE-6241:
----------------------------------------------
The test fails both in trunk as well. Issue is not reproduced when test is run from
Eclipse. It is not test itself that fails, but the import of test project. It is done in
the same manner as import of all other our test projects. Exception happens in
ImportOperation class where unexpectedly it receives null container for a file to be
imported.
I would suspect that test plugin is run as jar, then test project location would be
resolved as file (rather than folder) location and it can explain that ImportOperation
tries import root of test project itself as a file but has no container for it.
Nick, could you check it?
ModelUiAllTests.testOpenJarProperties failing for 13 builds
-----------------------------------------------------------
Key: JBIDE-6241
URL:
https://jira.jboss.org/jira/browse/JBIDE-6241
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common
Affects Versions: 3.1.x
Reporter: Nick Boldt
Assignee: Viacheslav Kabanovich
Fix For: 3.1.1
org.jboss.tools.common.model.ui.test.ModelUiAllTests has been failing for 4 builds:
http://hudson.qa.jboss.com/hudson/view/DevStudio/job/jbosstools-nightly-3...
java.lang.NullPointerException
at
org.eclipse.ui.wizards.datatransfer.ImportOperation.importFile(ImportOperation.java:521)
at
org.eclipse.ui.wizards.datatransfer.ImportOperation.importRecursivelyFrom(ImportOperation.java:713)
at
org.eclipse.ui.wizards.datatransfer.ImportOperation.execute(ImportOperation.java:374)
at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at
org.jboss.tools.test.util.ResourcesUtils.importProjectIntoWorkspace(ResourcesUtils.java:233)
at org.jboss.tools.test.util.ResourcesUtils.importProject(ResourcesUtils.java:57)
at org.jboss.tools.test.util.ResourcesUtils.importProject(ResourcesUtils.java:159)
at
org.jboss.tools.common.test.util.TestProjectProvider.<init>(TestProjectProvider.java:62)
at
org.jboss.tools.common.model.ui.jarproperties.JarPropertiesTest.setUp(JarPropertiesTest.java:30)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:195)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:138)
at org.eclipse.test.UITestApplication.run(UITestApplication.java:60)
at org.eclipse.test.UITestApplication.start(UITestApplication.java:210)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
at org.eclipse.core.launcher.Main.main(Main.java:34)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira