[SOLVED] Issues when creating second RCPTT Project on same AUT in Eclipse (Not visible, NPE) [message #1710412] |
Tue, 06 October 2015 09:33  |
Eclipse User |
|
|
|
Scenario:
1. Run Eclipse Mars with RCPTT plugins installed and an RCP application project with launch configuration in workspace
2. Create RCPTT project using "Eclipse Application under Test" based on the RCP app's launch configuration
=> new RCPTT project shows up in RCPTT perspective and can be used to record and run test cases on the AUT
3. Create second RCPTT project using the same RCP app's launch configuration as the first one as "Target"
Issue:
Second RCPTT project does NOT show up in RCPTT perspective, not even after a complete restart of Eclipse.
When trying to run the second RCPTT prject configuration in the Configurations Manager (accessed via "Debug configurations"), a NullPointerException occurs (Stack Trace in Eclipse log see below).
This even happens when deleting the first RCPTT project and completely restarting Eclipse with "eclipse -clean".
-- NPE's stack trace in Eclipse log ---
!MESSAGE An internal error occurred during: "Launching RCPTT_Test_Clear_Workspace".
!STACK 0
java.lang.NullPointerException
at org.eclipse.rcptt.launching.internal.target.TargetPlatformHelper.getInstanceContainer(TargetPlatformHelper.java:1248)
at org.eclipse.rcptt.launching.internal.target.TargetPlatformHelper.getTargetPlatformProfilePath(TargetPlatformHelper.java:330)
at org.eclipse.rcptt.internal.launching.ext.Q7TargetPlatformInitializer.getInfo(Q7TargetPlatformInitializer.java:231)
at org.eclipse.rcptt.internal.launching.ext.Q7TargetPlatformInitializer.initialize(Q7TargetPlatformInitializer.java:100)
at org.eclipse.rcptt.launching.configuration.Q7LaunchConfigurationDelegate.preLaunchCheck(Q7LaunchConfigurationDelegate.java:150)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:840)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
[Updated on: Fri, 16 October 2015 03:31] by Moderator
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.25567 seconds