[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6241) ModelUiAllTests.testOpenJarProperties failing for 13 builds

Nick Boldt (JIRA) jira-events at lists.jboss.org
Tue May 18 14:30:06 EDT 2010


    [ https://jira.jboss.org/browse/JBIDE-6241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12531309#action_12531309 ] 

Nick Boldt commented on JBIDE-6241:
-----------------------------------

Not sure about 3.1.x branch, but shouldn't the class just be able to unjar the plugin to get the project dir, instead of failing? It's great to trap the error and tell the test writer what went wrong, but that doesn't get us closer to a working test when run w/ Tycho.

See also https://jira.jboss.org/browse/JBIDE-6304

> ModelUiAllTests.testOpenJarProperties failing for 13 builds
> -----------------------------------------------------------
>
>                 Key: JBIDE-6241
>                 URL: https://jira.jboss.org/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
>
>         Attachments: ResourcesUtils_6241.patch
>
>
> 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.1.x/lastCompletedBuild/testReport/%28root%29/ModelUiAllTests/testOpenJarProperties/
> 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/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list