|
|
Re: RCPTT Eclipse Mars Plugin NullPointerException [message #1692363 is a reply to message #1692359] |
Wed, 15 April 2015 10:40 |
|
Hello,
Could you please try to install RCPTT Mars plugin from here:
https://hudson.eclipse.org/rcptt/job/rcptt-mars/lastBuild/artifact/repository/full/target/repository/
Install plugin from the above update site, launch AUT and send us the following information if you have any problems with AUT startup:
- RCPTT log <rcptt-workspace>/.metadata/.log
- Original <your AUT>.ini, <your AUT>/configuration/config.in and <your AUT>/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info (if present)
- RCPTT-generated config files: <rcptt-workspace>/.metadata/.plugins/org.eclipse.pde.core/<your aut name>/config.ini and <rcptt-workspace>/.metadata/.plugins/org.eclipse.pde.core/<your aut name>/org.eclipse.equinox.simpleconfigurator/bundles.info (if present)
- Generated .launch file: <rcptt-workspace>/.metadata/.plugins/org.eclipse.debug.core/.launches/<your aut name>.launch
These details typically help us to investigate AUT startup issues.
Please let me know if you have any questions.
Yours sincerely,
Olga.
|
|
|
Re: RCPTT Eclipse Mars Plugin NullPointerException [message #1692385 is a reply to message #1692363] |
Wed, 15 April 2015 12:24 |
Jeevan Rex Messages: 80 Registered: March 2015 Location: Bangalore |
Member |
|
|
Thanks for the reply Olga.
The objective of using a plugin is to run RCPTT without having an executable for my AUT, instead just having the code.
Now the error with your new plugin link is different. I have attached the screen shot of it here. (Attachment: Err.png)
There is an error log generated in Error Log view:
Error Log: Event Details
Error Stack Trace:
java.lang.NullPointerException
at org.eclipse.rcptt.launching.configuration.Q7LaunchConfigurationDelegate.preLaunchCheck(Q7LaunchConfigurationDelegate.java:260)
at org.eclipse.pde.launching.AbstractPDELaunchConfiguration.launch(AbstractPDELaunchConfiguration.java:63)
at org.eclipse.rcptt.launching.configuration.Q7LaunchConfigurationDelegate.launch(Q7LaunchConfigurationDelegate.java:90)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
at org.eclipse.rcptt.internal.launching.ext.ExternalLaunchExecutor.launch(ExternalLaunchExecutor.java:30)
at org.eclipse.rcptt.internal.launching.aut.BaseAut.launch(BaseAut.java:47)
at org.eclipse.rcptt.ui.launching.LaunchUtils$4.run(LaunchUtils.java:382)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Session Data:
eclipse.buildId=4.5.0.I20150320-0800
java.version=1.7.0_71
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -data file:/prj/iceng/qsip1/workspaces/c_jrex/RCPTT/Mars/workspace/ -os linux -ws gtk -arch x86_64
I have also uploaded the files you have asked for.
1. RCPTT log <rcptt-workspace>/.metadata/.log ((Attachment: .log)
2. Original <your AUT>.ini, <your AUT>/configuration/config.in and <your AUT>/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info (if present)
- These files will exist, only if I have an executable. I don't have an executable, just the code which I am trying to run from Eclipse. I have explained the steps below.
3. RCPTT-generated config files: <rcptt-workspace>/.metadata/.plugins/org.eclipse.pde.core/<your aut name>/config.ini (Attachment: config.ini) and <rcptt-workspace>/.metadata/.plugins/org.eclipse.pde.core/<your aut name>/org.eclipse.equinox.simpleconfigurator/bundles.info(Attachment: bundles.info) (if present)
4. Generated .launch file: <rcptt-workspace>/.metadata/.plugins/org.eclipse.debug.core/.launches/<your aut name>.launch (Attachment: appNameRCPTT.launch)
Steps Which I followed:
Brought up Eclipse Mars and imported by project there.
Launched my project as an application.
Saved my Run Configuration which I used to launch my project as a .launch file (Lets say ABC.launch).
Installed RCPTT with the link which you just gave.
Went to Run Configuration > Eclipse Application Under Test > New (Lets say name as: XYZ)
In the target, gave the previous .launch configuration with I just created (ABC.launch).
Went to RCPTT prespective and created a new RCPTT Project and a new Test case
Clicked on Record and selected the XYZ from "Select an AUT" window.
The application started and crashed.
I also tried by plainly running XYZ from Run Configuration, which also did not work.
Please let me know, how to solve this.
Thank you,
Jeevan
-
Attachment: Err.png
(Size: 18.26KB, Downloaded 290 times) -
Attachment: .log
(Size: 504.10KB, Downloaded 151 times) -
Attachment: appNameRCPTT.launch
(Size: 11.33KB, Downloaded 222 times) -
Attachment: bundles.info
(Size: 47.69KB, Downloaded 160 times) -
Attachment: config.ini
(Size: 1.12KB, Downloaded 144 times)
[Updated on: Thu, 16 April 2015 08:40] Report message to a moderator
|
|
|
|
|
Re: RCPTT Eclipse Mars Plugin NullPointerException [message #1693050 is a reply to message #1692884] |
Tue, 21 April 2015 12:35 |
|
As I understand you want to run your AUT from sources and test it with RCPTT, please correct me if I'm wrong.
You can install RCPTT from update site to Eclipse and then set Eclipse Application under Test in Run Configurations.
Please let me know if it is exactly what you need.
Yours sincerely,
Olga.
|
|
|
Re: RCPTT Eclipse Mars Plugin NullPointerException [message #1693123 is a reply to message #1693050] |
Tue, 21 April 2015 23:18 |
Roza Ghamari Messages: 82 Registered: January 2013 |
Member |
|
|
Hi all,
I am also trying to make the RCPTT plugin work for our team and working with Jeevan on this.
I have Mars M6 installed and I just updated my RCPTT from your Hudson latest build.
Now I can add an AUT from a executable and can start the AUT with no problem (with the released version i coldn't do this either)
But when I try to make an Eclipse AUT, it does not work. I get the exact first error that Jeevan put here
Message: An internal error occurred during: "Launching New_configuration".
Stack Trace:
java.lang.NullPointerException
at org.eclipse.rcptt.launching.internal.target.TargetPlatformHelper.getInstanceContainer(TargetPlatformHelper.java:1244)
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)
Session data:
java.version=1.7.0_65
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product -data file:/C:/Users/rghamari/workspaces/mars-qsip/ -product org.eclipse.epp.package.java.product
My platform target is set to a target file that has ${eclipse_home}, Kepler update site, my special update stes and the RCPTT hudson latest build update site added (which is also in the eclipse_home)
I also can see this warning in my logs
Detected potential problems in target platform New_configuration with RCPTT
[Lorg.eclipse.pde.core.target.ITargetLocation;@35308964
[Lorg.eclipse.pde.core.target.ITargetLocation;@35308964
[Lorg.eclipse.pde.core.target.ITargetLocation;@35308964
[Lorg.eclipse.pde.core.target.ITargetLocation;@35308964
[Lorg.eclipse.pde.core.target.ITargetLocation;@35308964
Env: null/null/null/null
JRE: null
Args: null/null
Implicit: null
Handle: 1429657491734.target
Do you know what is causing this? I shoudl also add that I tried with two different run configurations, one was my application specific run configuration which was created from a product file, and the other was from the Eclipse application run configuration which includes all th eplugins in the workspace.
Thanks,
Roza
|
|
|
|
|
|
|
|
Re: RCPTT Eclipse Mars Plugin NullPointerException [message #1710503 is a reply to message #1709570] |
Wed, 07 October 2015 08:08 |
Gabriel Pascual Messages: 31 Registered: April 2013 Location: Laval, France |
Member |
|
|
Hi,
I verified with the last available release on website (http://download.eclipse.org/rcptt/release/2.0.1/repository) and keeping the same protocol to create the Eclipse Application Under Test.
The error is more clear but I don't know how specify the target platform version.
- Are there a specific parameter ?
- Can I parameter the the AUT with a configuration file (i.e. config.ini) ?
!ENTRY org.eclipse.rcptt.launching.ext 2 0 2015-10-07 09:55:56.809
!MESSAGE Detected potential problems in target platform Papyrus AUT with RCPTT
Targlet Container Oomph
Env: null/null/null/null
JRE: null
Args: null/null
Implicit: null
Handle: 1444204551340.target
!SUBENTRY 1 org.eclipse.rcptt.launching.ext 2 0 2015-10-07 09:55:56.809
!MESSAGE Multiple versions of bundle file:/C:/Users/gpascual/.p2/pool/plugins/org.apache.batik.util_1.6.0.v201011041432.jar and file:/C:/Users/gpascual/.p2/pool/plugins/org.apache.batik.util_1.7.0.v201011041433.jar
!SUBENTRY 1 org.eclipse.rcptt.launching.ext 2 0 2015-10-07 09:55:56.809
!MESSAGE Multiple versions of bundle file:/C:/Users/gpascual/.p2/pool/plugins/org.eclipse.jdt.annotation.source_2.0.100.v20150311-1658.jar and file:/C:/Users/gpascual/.p2/pool/plugins/org.eclipse.jdt.annotation.source_1.1.100.v20140704-0625.jar
!SUBENTRY 1 org.eclipse.rcptt.launching.ext 2 0 2015-10-07 09:55:56.809
!MESSAGE Multiple versions of bundle file:/C:/Users/gpascual/.p2/pool/plugins/org.eclipse.emf.ecore.change.source_2.11.0.v20150928-0625.jar and file:/C:/Users/gpascual/.p2/pool/plugins/org.eclipse.emf.ecore.change.source_2.11.0.v20150805-0624.jar
!SUBENTRY 1 org.eclipse.rcptt.launching.ext 2 0 2015-10-07 09:55:56.809
!MESSAGE Multiple versions of bundle file:/C:/Users/gpascual/.p2/pool/plugins/org.apache.batik.util.source_1.6.0.v201011041432.jar and file:/C:/Users/gpascual/.p2/pool/plugins/org.apache.batik.util.source_1.7.0.v201011041433.jar
!SUBENTRY 1 org.eclipse.rcptt.launching.ext 2 0 2015-10-07 09:55:56.809
!MESSAGE Multiple versions of bundle file:/C:/Users/gpascual/.p2/pool/plugins/org.eclipse.emf.ecore.source_2.12.0.v20150805-0624.jar and file:/C:/Users/gpascual/.p2/pool/plugins/org.eclipse.emf.ecore.source_2.12.0.v20150928-0625.jar
!SUBENTRY 1 org.eclipse.rcptt.launching.ext 2 0 2015-10-07 09:55:56.809
!MESSAGE Multiple versions of bundle file:/C:/Users/gpascual/.p2/pool/plugins/org.apache.batik.css.source_1.7.0.v201011041433.jar and file:/C:/Users/gpascual/.p2/pool/plugins/org.apache.batik.css.source_1.6.0.v201011041432.jar
!SUBENTRY 1 org.eclipse.rcptt.launching.ext 2 0 2015-10-07 09:55:56.809
!MESSAGE Multiple versions of bundle file:/C:/Users/gpascual/.p2/pool/plugins/org.eclipse.emf.ecore.xmi.source_2.12.0.v20150805-0624.jar and file:/C:/Users/gpascual/.p2/pool/plugins/org.eclipse.emf.ecore.xmi.source_2.12.0.v20150928-0625.jar
!SUBENTRY 1 org.eclipse.rcptt.launching.ext 2 0 2015-10-07 09:55:56.810
!MESSAGE Multiple versions of bundle file:/C:/Users/gpascual/.p2/pool/plugins/org.eclipse.emf.common.source_2.11.0.v20150805-0624.jar and file:/C:/Users/gpascual/.p2/pool/plugins/org.eclipse.emf.common.source_2.11.0.v20150928-0625.jar
!SUBENTRY 1 org.eclipse.rcptt.launching.ext 2 0 2015-10-07 09:55:56.810
!MESSAGE Multiple versions of bundle file:/C:/Users/gpascual/.p2/pool/plugins/org.apache.batik.util.gui_1.6.0.v201011041432.jar and file:/C:/Users/gpascual/.p2/pool/plugins/org.apache.batik.util.gui_1.7.0.v200903091627.jar
!SUBENTRY 1 org.eclipse.rcptt.launching.ext 2 0 2015-10-07 09:55:56.810
!MESSAGE Multiple versions of bundle file:/C:/Users/gpascual/.p2/pool/plugins/org.apache.batik.util.gui.source_1.7.0.v200903091627.jar and file:/C:/Users/gpascual/.p2/pool/plugins/org.apache.batik.util.gui.source_1.6.0.v201011041432.jar
!SUBENTRY 1 org.eclipse.rcptt.launching.ext 2 0 2015-10-07 09:55:56.810
!MESSAGE Multiple versions of bundle file:/C:/Users/gpascual/.p2/pool/plugins/org.apache.batik.css_1.6.0.v201011041432.jar and file:/C:/Users/gpascual/.p2/pool/plugins/org.apache.batik.css_1.7.0.v201011041433.jar
!SUBENTRY 1 org.eclipse.rcptt.launching.ext 2 0 2015-10-07 09:55:56.810
!MESSAGE Multiple versions of bundle file:/C:/Users/gpascual/.p2/pool/plugins/org.eclipse.jdt.annotation_2.0.100.v20150311-1658.jar and file:/C:/Users/gpascual/.p2/pool/plugins/org.eclipse.jdt.annotation_1.1.100.v20140704-0625.jar
!ENTRY org.eclipse.rcptt.launching.ext 4 0 2015-10-07 09:55:56.825
!MESSAGE Invalid eclipse target platform: Papyrus AUT with RCPTT
!SUBENTRY 1 org.eclipse.rcptt.launching.ext 4 0 2015-10-07 09:55:56.825
!MESSAGE Failed to detect platform version
Regards
Gabriel
Software Development Engineer
|
|
|
Powered by
FUDForum. Page generated in 0.02615 seconds