Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » RCPTT Eclipse Mars Plugin NullPointerException(RCPTT Plugin with Eclipse Mars)
RCPTT Eclipse Mars Plugin NullPointerException [message #1692198] Tue, 14 April 2015 09:26 Go to next message
Jeevan Rex is currently offline Jeevan RexFriend
Messages: 80
Registered: March 2015
Location: Bangalore
Member
Hi,

I can see that Eclipse Mars has RCPTT with it, as given in https://projects.eclipse.org/releases/mars .

I downloaded Mars M6 from http://download.eclipse.org/eclipse/downloads/drops4/S-4.5M6-201503200800/ and tried to install RCPTT plugin from http://download.eclipse.org/rcptt/release/1.5.5/repository/ Update site. From Installation details I can see that RCPTT 2.0 is installed.

I tried to run the application as the steps given in https://www.eclipse.org/rcptt/documentation/faq/install-as-plugin/ . But it throws an exception.

An internal error occurred during: "Launching <AppName>RCPTT".
java.lang.NullPointerException

This is the error log.

!ENTRY org.eclipse.equinox.p2.repository 2 0 2015-04-14 05:07:58.206
!MESSAGE Server returned lastModified <= 0 for platform:/plugin/org.eclipse.rcptt.updates.runtime.e4x/q7/content.jar

!ENTRY org.eclipse.core.jobs 4 2 2015-04-14 05:07:58.438
!MESSAGE An internal error occurred during: "Launching <AppName>RCPTT".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.rcptt.launching.internal.target.TargetPlatformHelper.getInstanceContainer(TargetPlatformHelper.java:1253)
	at org.eclipse.rcptt.launching.internal.target.TargetPlatformHelper.getTargetPlatformProfilePath(TargetPlatformHelper.java:327)
	at org.eclipse.rcptt.launching.internal.target.TargetPlatformHelper.toString(TargetPlatformHelper.java:1264)
	at java.lang.String.valueOf(String.java:2847)
	at java.lang.StringBuilder.append(StringBuilder.java:128)
	at org.eclipse.rcptt.internal.launching.ext.Q7TargetPlatformInitializer.initialize(Q7TargetPlatformInitializer.java:120)
	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)


I have attached the screen shot (Method1.PNG)

I then tried the method to go to RCPTT prespective and try to create a RCPTT project and record a test. That time a new error came, which is given in screen shot (Method2.PNG)

The Application for both the above two methods are chosen by the following steps.
Run the application which need to be tested using RCPTT. Save the run configuration as a .launch file.
Go to Run Configuration > Create New Eclipse Application under Test.
Choose the .launch file in target and click Run.
This new Run Configuration will be seen in Applications tab in RCPTT perspective.

Is this method right? However there is another option in Applications tab in RCPTT perspective. There I can add a new application by right click New and select the application. Whenever I try to select the application, it says "Invalid product location". I am selecting the location of the .product file. I tried to choose other locations like .target, etc as well. The message "invalid product location" did not go. Do I have to try this method as well? I think it need to provide me something same as the above method with I have mentioned.

Please find two images attached.

Thank you
  • Attachment: Method1.PNG
    (Size: 15.69KB, Downloaded 378 times)
  • Attachment: Method2.PNG
    (Size: 41.48KB, Downloaded 303 times)

[Updated on: Tue, 14 April 2015 12:43]

Report message to a moderator

Re: RCPTT Eclipse Mars Plugin NullPointerException [message #1692359 is a reply to message #1692198] Wed, 15 April 2015 10:13 Go to previous messageGo to next message
Jeevan Rex is currently offline Jeevan RexFriend
Messages: 80
Registered: March 2015
Location: Bangalore
Member
Hi,

I have an update in this thread.

I set the rcptt update site along with my target and tried to run again my "Eclipse Application under Test".

Now my application started first and then RCPTT is trying to get started. But I get an error which RCPTT is getting started.

!ENTRY org.eclipse.rcptt.runtime.ui 1 0 2015-04-15 03:07:30.138
!MESSAGE Tesla server started on port 7003
java.lang.Exception: Bad call to getCoolBarManager()
	at org.eclipse.ui.internal.WorkbenchWindow.getCoolBarManager(WorkbenchWindow.java:2634)
	at org.eclipse.rcptt.tesla.ui.Q7KeyFormatter.installQ7Formatter(Q7KeyFormatter.java:66)
	at org.eclipse.rcptt.tesla.ui.SWTTeslaStartup.earlyStartup(SWTTeslaStartup.java:18)
	at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
	at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2555)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

!ENTRY org.eclipse.rcptt.tesla.core.am 4 700 2015-04-15 03:07:32.828
!MESSAGE RCPTT aspects plugin "org.eclipse.rcptt.tesla.swt.aspects" is not initialized. Could not continue...


I think this is an error from RCPTT. How can I solve this.

Thank you
Jeevan
Re: RCPTT Eclipse Mars Plugin NullPointerException [message #1692363 is a reply to message #1692359] Wed, 15 April 2015 10:40 Go to previous messageGo to next message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

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:

  1. RCPTT log <rcptt-workspace>/.metadata/.log
  2. Original <your AUT>.ini, <your AUT>/configuration/config.in and <your AUT>/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info (if present)
  3. 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)
  4. 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 Go to previous messageGo to next message
Jeevan Rex is currently offline Jeevan RexFriend
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 #1692521 is a reply to message #1692385] Thu, 16 April 2015 10:43 Go to previous messageGo to next message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

Hello,

Thank you for the detailed description!
It will take us some time to investigate this issue.
I'll notify you about our progress.



Yours sincerely,
Olga.
Re: RCPTT Eclipse Mars Plugin NullPointerException [message #1692884 is a reply to message #1692521] Mon, 20 April 2015 12:31 Go to previous messageGo to next message
Jeevan Rex is currently offline Jeevan RexFriend
Messages: 80
Registered: March 2015
Location: Bangalore
Member
Hi,

Is it mandatory to have an executable for RCPTT even if we use RCPTT plugins. I am just trying RCPTT without a RCPTT, just with the code in eclipse, i must be able to launch RCPTT on it. This is the objective of this. Apart from Plugin, is there any other way to do this?

Thanks
Jeevan
Re: RCPTT Eclipse Mars Plugin NullPointerException [message #1693050 is a reply to message #1692884] Tue, 21 April 2015 12:35 Go to previous messageGo to next message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

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 Go to previous messageGo to next message
Roza Ghamari is currently offline Roza GhamariFriend
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 #1694716 is a reply to message #1693123] Thu, 07 May 2015 11:00 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Roza,

Could you please attach 1429657491734.target file?

Yours sincerely,
Ulyana.
Re: RCPTT Eclipse Mars Plugin NullPointerException [message #1696832 is a reply to message #1694716] Thu, 28 May 2015 21:32 Go to previous messageGo to next message
Roza Ghamari is currently offline Roza GhamariFriend
Messages: 82
Registered: January 2013
Member
Hi ,

I cannot fidn the target file you are asking for. The target file that we have in pur set up tho is pinting to couple of internal p2 repos and the Kepler and rcptt update sites. I also have ${eclipse_home} in there.

Thanks,
Roza
Re: RCPTT Eclipse Mars Plugin NullPointerException [message #1698113 is a reply to message #1696832] Thu, 11 June 2015 11:52 Go to previous messageGo to next message
Gabriel Pascual is currently offline Gabriel PascualFriend
Messages: 31
Registered: April 2013
Location: Laval, France
Member
Hi all,

I have an identical problem with Papyrus project. I used Oomph setup to configure the workspace of my IDE and I installed RCPTT plugins from the Eclipse Mars update site (http://download.eclipse.org/releases/mars).
I created an Eclipse Application under test and, when I launch it, I have a NPE.

This is the content of log file :
!ENTRY org.eclipse.rcptt.launching.ext 2 0 2015-06-11 13:11:33.642
!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: 1434021091504.target
!SUBENTRY 1 org.eclipse.rcptt.launching.ext 2 0 2015-06-11 13:11:33.642
!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-06-11 13:11:33.642
!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-06-11 13:11:33.642
!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-06-11 13:11:33.642
!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-06-11 13:11:33.642
!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-06-11 13:11:33.642
!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-06-11 13:11:33.642
!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-06-11 13:11:33.642
!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.core.jobs 4 2 2015-06-11 13:11:33.643
!MESSAGE An internal error occurred during: "Launching Papyrus AUT".
!STACK 0
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)

!ENTRY org.eclipse.epp.logging.aeri.ui 2 19 2015-06-11 13:11:33.649
!MESSAGE The notification timed out Version: 1.0.0.v20150603-1017
!STACK 0
org.eclipse.epp.internal.logging.aeri.ui.l10n.Logs$LogTraceException
	at org.eclipse.epp.internal.logging.aeri.ui.l10n.Logs$LogTraceException.newTrace(Logs.java:382)
	at org.eclipse.epp.internal.logging.aeri.ui.l10n.Logs.log(Logs.java:134)
	at org.eclipse.epp.internal.logging.aeri.ui.l10n.Logs.log(Logs.java:126)
	at org.eclipse.epp.internal.logging.aeri.ui.ReportingController.isNotificationInProgress(ReportingController.java:267)
	at org.eclipse.epp.internal.logging.aeri.ui.ReportingController.sendOrNotify(ReportingController.java:166)
	at org.eclipse.epp.internal.logging.aeri.ui.ReportingController.on(ReportingController.java:154)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
	at org.eclipse.epp.internal.logging.aeri.ui.log.LogListener.logging(LogListener.java:51)
	at org.eclipse.core.internal.runtime.RuntimeLog.logToListeners(RuntimeLog.java:161)
	at org.eclipse.core.internal.runtime.PlatformLogWriter.logged(PlatformLogWriter.java:103)
	at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.safeLogged(ExtendedLogReaderServiceFactory.java:88)
	at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.logPrivileged(ExtendedLogReaderServiceFactory.java:217)
	at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.log(ExtendedLogReaderServiceFactory.java:189)
	at org.eclipse.osgi.internal.log.ExtendedLogServiceFactory.log(ExtendedLogServiceFactory.java:65)
	at org.eclipse.osgi.internal.log.ExtendedLogServiceImpl.log(ExtendedLogServiceImpl.java:87)
	at org.eclipse.osgi.internal.log.LoggerImpl.log(LoggerImpl.java:54)
	at org.eclipse.core.internal.runtime.PlatformLogWriter.logging(PlatformLogWriter.java:44)
	at org.eclipse.core.internal.runtime.RuntimeLog.log(RuntimeLog.java:97)
	at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:701)
	at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:72)


I added in attachment the Papyrus Launcher configuration and the AUT Launcher configuration. I wanted to attach the aimed target file but this one doesn't exist in .metadata folder.
The used target platform with my IDE is a Targlet which is created by Oomph.

Regards

Gabriel


Software Development Engineer
Re: RCPTT Eclipse Mars Plugin NullPointerException [message #1701394 is a reply to message #1698113] Mon, 13 July 2015 08:20 Go to previous messageGo to next message
Joseph Benavides is currently offline Joseph BenavidesFriend
Messages: 47
Registered: February 2015
Member
Hi Folks,

We've recently started using RCPTT with the Eclipse Mars IDE and we've also run into the same issue when trying to launch the AUT from within the sources. We already saw a bug report posted for this (https://bugs.eclipse.org/bugs/show_bug.cgi?id=471950). Is there a target release for fixing this issue?


cheers!

Joseph
Re: RCPTT Eclipse Mars Plugin NullPointerException [message #1709570 is a reply to message #1701394] Tue, 29 September 2015 10:29 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi All,

The issue is fixed, could you please verify.

Kind regards,
Ulyana.
Re: RCPTT Eclipse Mars Plugin NullPointerException [message #1710503 is a reply to message #1709570] Wed, 07 October 2015 08:08 Go to previous message
Gabriel Pascual is currently offline Gabriel PascualFriend
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
Previous Topic:[SOLVED] Works with variables
Next Topic:How to force test case runner to clear workspace of AUT on "Run As -> Test cases"?
Goto Forum:
  


Current Time: Fri Apr 19 15:24:42 GMT 2024

Powered by FUDForum. Page generated in 0.02615 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top