Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
RCPTT/Common launch issues
Contents
Aspects are not initialized
Symptoms
Remote Application Under Test launch configuration fails to connect to remote AUT. Following erro appears in AUT's Error Log:
RCPTT aspects plugin "org.eclipse.rcptt.tesla.swt.aspects" is not initialized. Could not continue...
Solution
Configure plugin org.eclipse.equinox.weaving.aspectj to autostart in AUT
Useful links
Application under test configuration
Bundle org.eclipse.equinox.weaving.hook not found
Symptoms
Sometimes launch of custom target platform with AspectJ fails:
!ENTRY org.eclipse.osgi 4 0 2016-09-05 14:28:10.634 !MESSAGE Bundle org.eclipse.equinox.weaving.hook not found.
Solution
Ensure there is only one org.eclipse.osgi plugin enabled in your target platform:
NPE in ModelServiceImpl
Symptoms
!ENTRY org.eclipse.osgi 4 0 2017-03-31 12:32:12.426 !MESSAGE Application error !STACK 1 java.lang.NullPointerException at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.<init>(ModelServiceImpl.java:122) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:511) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:204) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:149)
Solution
Add org.eclipse.equinox.event plugin to launch configuration.