Menu

#891 Cannot Invoke HJ Methods from Interactions

open
nobody
5
2010-10-04
2010-10-04
No

We cannot call methods directly from the Interactions pane: We have to use the hj or run commands, otherwise the class loader isn't properly set up. We should at least come up with a better error message than throwing an exception:

Welcome to DrJava. Working directory is /Users/mgricken/bin/hj.release/examples
> new FibFuture().fib(10)
java.lang.NullPointerException
at hj.lang.Runtime.here(Runtime.java:317)
at hj.lang.Object.<init>(Object.java:44)
at FibFuture.<init>(FibFuture.hj)

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.