ceylon / ceylon-module-resolver

DEPRECATED
Apache License 2.0
23 stars 9 forks source link

ceylon run-js is completely broken #103

Closed gavinking closed 10 years ago

gavinking commented 10 years ago

I'm reporting this here, because it's my best guess as to where the problem might be, but it's not an especially well-founded guess.

Attempting to run any JS program from IDE or CLI results in:

ceylon run-js: null
java.lang.NullPointerException
    at com.redhat.ceylon.compiler.js.CeylonRunJsTool.getRepoDir(CeylonRunJsTool.java:524)
    at com.redhat.ceylon.compiler.js.CeylonRunJsTool.run(CeylonRunJsTool.java:467)
    at com.redhat.ceylon.common.tools.CeylonTool.run(CeylonTool.java:352)
    at com.redhat.ceylon.common.tools.CeylonTool.execute(CeylonTool.java:291)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at com.redhat.ceylon.launcher.Launcher.runInJava7Checked(Launcher.java:104)
    at com.redhat.ceylon.launcher.Launcher.run(Launcher.java:37)
    at com.redhat.ceylon.launcher.Launcher.run(Launcher.java:30)
    at com.redhat.ceylon.launcher.Launcher.main(Launcher.java:23)
quintesse commented 10 years ago

Fixed. Was indeed my fault.

gavinking commented 10 years ago

OK, thanks.