Skip to content

ArrayIndexOutOfBound for Node Application launchers with PreferenceConstants.NODE_PASS_ALL_ENVIRONMENT_VARIABLES disabled. #198

@ThottChief

Description

@ThottChief

Whenever I try to launch a .js file as a node application I get

java.lang.ArrayIndexOutOfBoundsException: 5
    at org.nodeclipse.debug.launch.LaunchConfigurationDelegate.getEnvironmentVariables(LaunchConfigurationDelegate.java:281)
    at org.nodeclipse.debug.launch.LaunchConfigurationDelegate.launch(LaunchConfigurationDelegate.java:221)
    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:55)

Happens to all normal node application launchers as well as debug launchers.

Nodeclipse version : 1.0.1.201509240713
Eclipse: 4.5.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions