Hi All,
I am trying to set up Eclipse development environment to build and debug
X10DT. I followed the steps in [1] and could successfully complete till
Part 3 (All projects are now built successfully and do not show any
errors). However when I try to execute Hello.x10 within the newly created
X10DT Eclipse application I get a null pointer exception. Following is the
error log.
!ENTRY org.eclipse.core.jobs 4 2 2017-03-19 13:20:40.526
!MESSAGE An internal error occurred during: "Launching Hello1".
!STACK 0
java.lang.NullPointerException
at org.eclipse.core.internal.runtime.Activator.getURLConverter(
Activator.java:321)
at org.eclipse.core.runtime.FileLocator.resolve(FileLocator.java:227)
at x10dt.core.utils.X10BundleUtils.getX10DistHostResource(
X10BundleUtils.java:99)
at x10dt.ui.launch.java.launching.X10LocalLaunchConfigDelegate.
getX10DistHostLibDir(X10LocalLaunchConfigDelegate.java:50)
at x10dt.ui.launch.java.launching.X10LaunchConfigurationDelegate
.getX10DistributionFolder(X10LaunchConfigurationDelegate.java:606)
at x10dt.ui.launch.java.launching.X10LaunchConfigurationDelegate.
runCommand(X10LaunchConfigurationDelegate.java:197)
at x10dt.ui.launch.java.launching.X10LaunchConfigurationDelegate.launch(
X10LaunchConfigurationDelegate.java:111)
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.ui.DebugUIPlugin.buildAndLaunch(D
ebugUIPlugin.java:1039)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin
.java:1256)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
A preliminary search in google says that it was a known bug in Eclipse,
which got fixed in some version of Eclipse. The documentation in [1]
insists on using eclipse 4.4.2, so I have not tried it with an newer
version of eclipse.
It will be a great help if someone could guide me to resolve this issue.
The versions of various tools used are listed below.
Java - 1.7
Eclipse - 4.4.2
SWTBot - 2.2.1
PDE and PTP were installed directly from Eclipse software update.
[1] http://x10-lang.org/articles/169.html
--
*Anchu R S*
*MS Research Scholar*
*IIT Madras*
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users