HI,
One of our X10DT experts suggested that NPE means that X10DT can't
find the X10 distribution because of a path issue.
--dave
Anchu R S <[email protected]> wrote on 03/19/2017 01:09:57 AM:
>
> 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
(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:54)
>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/x10-users