[JBoss JIRA] (JBIDE-23668) Move integration-tests parent pom configuration to jbosstools-build/parent/pom.xml
by Lukáš Valach (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23668?page=com.atlassian.jira.plugi... ]
Lukáš Valach closed JBIDE-23668.
--------------------------------
Verified, builds works fine with this modification, closing.
> Move integration-tests parent pom configuration to jbosstools-build/parent/pom.xml
> ----------------------------------------------------------------------------------
>
> Key: JBIDE-23668
> URL: https://issues.jboss.org/browse/JBIDE-23668
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: build, integration-tests
> Reporter: Pavol Srna
> Assignee: Rastislav Wagner
> Fix For: 4.4.3.AM2
>
>
> This configuration needs to be moved from [1] to build/parent/pom.xml
> {code}
> <properties>
> <surefire.timeout>7200</surefire.timeout>
> <integrationTestsSystemProperties>-Dusage_reporting_enabled=false</integrationTestsSystemProperties>
> <devstudio.repository>https://devstudio.redhat.com/10.0/snapshots/updates/</devstudio.repository>
> <testProduct>com.jboss.devstudio.core.product</testProduct>
> </properties>
> {code}
> {code}
> <profile>
> <id>mac-installPath</id>
> <activation>
> <os>
> <family>mac</family>
> </os>
> </activation>
> <properties>
> <test.installPath.OSX>/devstudio.app/Contents/Eclipse/</test.installPath.OSX>
> </properties>
> </profile>
> <profile>
> <id>install-base</id>
> <activation>
> <property>
> <name>test.installBase</name>
> </property>
> </activation>
> <properties>
> <test.installPath>${test.installBase}${test.installPath.OSX}</test.installPath>
> </properties>
> <build>
> <plugins>
> <plugin>
> <groupId>org.eclipse.tycho</groupId>
> <artifactId>tycho-surefire-plugin</artifactId>
> <configuration>
> <work>${test.installPath}</work>
> <product>${testProduct}</product>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </profile>
> <profile>
> <!-- Workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=388084 -->
> <id>osx</id>
> <activation>
> <os>
> <family>mac</family>
> </os>
> </activation>
> <properties>
> <platformSystemProperties> -XstartOnFirstThread </platformSystemProperties>
> </properties>
> </profile>
> <profile>
> <id>download-devstudio</id>
> <activation>
> <property>
> <name>!test.installBase</name>
> </property>
> </activation>
> <build>
> <plugins>
> <plugin>
> <groupId>org.eclipse.tycho</groupId>
> <artifactId>tycho-surefire-plugin</artifactId>
> <configuration>
> <product>${testProduct}</product>
> </configuration>
> </plugin>
> <plugin>
> <groupId>org.eclipse.tycho</groupId>
> <artifactId>target-platform-configuration</artifactId>
> <configuration>
> <dependency-resolution>
> <extraRequirements>
> <requirement>
> <type>p2-installable-unit</type>
> <id>com.jboss.devstudio.core.feature.feature.group</id>
> <versionRange>0.0.0</versionRange>
> </requirement>
> </extraRequirements>
> </dependency-resolution>
> </configuration>
> </plugin>
> </plugins>
> </build>
> <repositories>
> <repository>
> <id>devstudio-repo</id>
> <name>devstudio-repo</name>
> <layout>p2</layout>
> <url>${devstudio.repository}</url>
> </repository>
> </repositories>
> </profile>
> {code}
> {code}
> <build>
> <plugins>
> <plugin>
> <groupId>org.eclipse.tycho</groupId>
> <artifactId>tycho-surefire-plugin</artifactId>
> <configuration>
> <useUIThread>false</useUIThread>
> <appArgLine>-pluginCustomization ${basedir}/../pluginCustomization.ini</appArgLine>
> <systemProperties>
> <org.eclipse.update.reconcile>false</org.eclipse.update.reconcile>
> <!-- JBDS-4077 this should be passed in from Jenkins or commandline -->
> <tpc.version>${TARGET_PLATFORM_VERSION_MAX}</tpc.version>
> </systemProperties>
> <explodedBundles>
> <bundle>org.mozilla.xulrunner.cocoa.macosx</bundle>
> <bundle>org.mozilla.xulrunner.gtk.linux.x86</bundle>
> <bundle>org.mozilla.xulrunner.gtk.linux.x86_64</bundle>
> <bundle>org.mozilla.xulrunner.win32.win32.x86</bundle>
> </explodedBundles>
> </configuration>
> </plugin>
> </plugins>
> </build>
> {code}
> We need to find out how to deal with pluginCustomization.ini [2]. Download from somewhere?
> [1] https://github.com/jbosstools/jbosstools-integration-tests/blob/master/te...
> [2] https://github.com/jbosstools/jbosstools-integration-tests/blob/master/te...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (JBIDE-23759) Avoid caught NPE in GettingStartedHtmlPage.getLoadProxyWizardsScript
by Aurélien Pupier (JIRA)
Aurélien Pupier created JBIDE-23759:
---------------------------------------
Summary: Avoid caught NPE in GettingStartedHtmlPage.getLoadProxyWizardsScript
Key: JBIDE-23759
URL: https://issues.jboss.org/browse/JBIDE-23759
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: central
Affects Versions: 4.4.2.Final
Reporter: Aurélien Pupier
Priority: Minor
{noformat}
java.lang.NullPointerException
at org.jboss.tools.central.editors.GettingStartedHtmlPage.getLoadProxyWizardsScript(GettingStartedHtmlPage.java:519)
at org.jboss.tools.central.editors.GettingStartedHtmlPage.access$10(GettingStartedHtmlPage.java:518)
at org.jboss.tools.central.editors.GettingStartedHtmlPage$4.function(GettingStartedHtmlPage.java:234)
at org.eclipse.swt.browser.WebSite.Invoke(WebSite.java:833)
at org.eclipse.swt.browser.WebSite$7.method6(WebSite.java:184)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2552)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3814)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
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)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (JBIDE-23758) Avoid caught NPE in wst StopAction by providing an empty list instead of null
by Aurélien Pupier (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23758?page=com.atlassian.jira.plugi... ]
Aurélien Pupier updated JBIDE-23758:
------------------------------------
Description:
when starting JBDS, there is a silent caught NPE in AsbtractServerAction.selectionChanged because org.jboss.ide.eclipse.as.ui.actions.AbstractServerActionDelegate$4 is returning null instead of an empty selection
{noformat}
Thread [main] (Suspended (exception NullPointerException))
owns: RunnableLock (id=138)
StopAction(AbstractServerAction).selectionChanged(IStructuredSelection) line: 75
StopAction.<init>(Shell, ISelectionProvider) line: 36
StopServerActionDelegate.init(IWorkbenchWindow) line: 24
WWinPluginAction.initDelegate() line: 187
WWinPluginAction(PluginAction).createDelegate() line: 125
WWinPluginAction.refreshActionList() line: 167
AbstractUIPlugin$1.run() line: 482
RunnableLock.run() line: 35
UISynchronizer(Synchronizer).runAsyncMessages(boolean) line: 182
Display.runAsyncMessages(boolean) line: 4203
Display.readAndDispatch() line: 3819
PartRenderingEngine$4.run() line: 1121
Realm.runWithDefault(Realm, Runnable) line: 336
PartRenderingEngine.run(MApplicationElement, IEclipseContext) line: 1022
E4Workbench.createAndRunUI(MApplicationElement) line: 150
Workbench$5.run() line: 687
Realm.runWithDefault(Realm, Runnable) line: 336
Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 604
PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 148
IDEApplication.start(IApplicationContext) line: 138
EclipseAppHandle.run(Object) line: 196
EclipseAppLauncher.runApplication(Object) line: 134
EclipseAppLauncher.start(Object) line: 104
EclipseStarter.run(Object) line: 388
EclipseStarter.run(String[], Runnable) line: 243
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
NativeMethodAccessorImpl.invoke(Object, Object[]) line: 62
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43
Method.invoke(Object, Object...) line: 498
Main.invokeFramework(String[], URL[]) line: 673
Main.basicRun(String[]) line: 610
Main.run(String[]) line: 1519
Main.main(String[]) line: 1492
{noformat}
was:
when starting JBDS, there is a silent caught NPE in AsbtractServerAction.selectionChanged because org.jboss.ide.eclipse.as.ui.actions.AbstractServerActionDelegate$4 is returning null instead of an empty list
{noformat}
Thread [main] (Suspended (exception NullPointerException))
owns: RunnableLock (id=138)
StopAction(AbstractServerAction).selectionChanged(IStructuredSelection) line: 75
StopAction.<init>(Shell, ISelectionProvider) line: 36
StopServerActionDelegate.init(IWorkbenchWindow) line: 24
WWinPluginAction.initDelegate() line: 187
WWinPluginAction(PluginAction).createDelegate() line: 125
WWinPluginAction.refreshActionList() line: 167
AbstractUIPlugin$1.run() line: 482
RunnableLock.run() line: 35
UISynchronizer(Synchronizer).runAsyncMessages(boolean) line: 182
Display.runAsyncMessages(boolean) line: 4203
Display.readAndDispatch() line: 3819
PartRenderingEngine$4.run() line: 1121
Realm.runWithDefault(Realm, Runnable) line: 336
PartRenderingEngine.run(MApplicationElement, IEclipseContext) line: 1022
E4Workbench.createAndRunUI(MApplicationElement) line: 150
Workbench$5.run() line: 687
Realm.runWithDefault(Realm, Runnable) line: 336
Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 604
PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 148
IDEApplication.start(IApplicationContext) line: 138
EclipseAppHandle.run(Object) line: 196
EclipseAppLauncher.runApplication(Object) line: 134
EclipseAppLauncher.start(Object) line: 104
EclipseStarter.run(Object) line: 388
EclipseStarter.run(String[], Runnable) line: 243
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
NativeMethodAccessorImpl.invoke(Object, Object[]) line: 62
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43
Method.invoke(Object, Object...) line: 498
Main.invokeFramework(String[], URL[]) line: 673
Main.basicRun(String[]) line: 610
Main.run(String[]) line: 1519
Main.main(String[]) line: 1492
{noformat}
> Avoid caught NPE in wst StopAction by providing an empty list instead of null
> -----------------------------------------------------------------------------
>
> Key: JBIDE-23758
> URL: https://issues.jboss.org/browse/JBIDE-23758
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 4.4.2.Final
> Reporter: Aurélien Pupier
>
> when starting JBDS, there is a silent caught NPE in AsbtractServerAction.selectionChanged because org.jboss.ide.eclipse.as.ui.actions.AbstractServerActionDelegate$4 is returning null instead of an empty selection
> {noformat}
> Thread [main] (Suspended (exception NullPointerException))
> owns: RunnableLock (id=138)
> StopAction(AbstractServerAction).selectionChanged(IStructuredSelection) line: 75
> StopAction.<init>(Shell, ISelectionProvider) line: 36
> StopServerActionDelegate.init(IWorkbenchWindow) line: 24
> WWinPluginAction.initDelegate() line: 187
> WWinPluginAction(PluginAction).createDelegate() line: 125
> WWinPluginAction.refreshActionList() line: 167
> AbstractUIPlugin$1.run() line: 482
> RunnableLock.run() line: 35
> UISynchronizer(Synchronizer).runAsyncMessages(boolean) line: 182
> Display.runAsyncMessages(boolean) line: 4203
> Display.readAndDispatch() line: 3819
> PartRenderingEngine$4.run() line: 1121
> Realm.runWithDefault(Realm, Runnable) line: 336
> PartRenderingEngine.run(MApplicationElement, IEclipseContext) line: 1022
> E4Workbench.createAndRunUI(MApplicationElement) line: 150
> Workbench$5.run() line: 687
> Realm.runWithDefault(Realm, Runnable) line: 336
> Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 604
> PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 148
> IDEApplication.start(IApplicationContext) line: 138
> EclipseAppHandle.run(Object) line: 196
> EclipseAppLauncher.runApplication(Object) line: 134
> EclipseAppLauncher.start(Object) line: 104
> EclipseStarter.run(Object) line: 388
> EclipseStarter.run(String[], Runnable) line: 243
> NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
> NativeMethodAccessorImpl.invoke(Object, Object[]) line: 62
> DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43
> Method.invoke(Object, Object...) line: 498
> Main.invokeFramework(String[], URL[]) line: 673
> Main.basicRun(String[]) line: 610
> Main.run(String[]) line: 1519
> Main.main(String[]) line: 1492
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months