You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encountered error: TypeError: Cannot read property 'getLoader' of undefined
TypeError: Cannot read property 'getLoader' of undefined
at a.getLoader (/Volumes/Unix/workspace/doppio/src/threading.ts:709:49)
at a.throwNewException (/Volumes/Unix/workspace/doppio/src/threading.ts:1159:44)
at b.a.throwClassNotFoundException (/Volumes/Unix/workspace/doppio/src/ClassLoader.ts:341:12)
at a.cb (/Volumes/Unix/workspace/doppio/src/ClassLoader.ts:554:14)
at a.run (/Volumes/Unix/workspace/doppio/src/threading.ts:552:12)
at a.run (/Volumes/Unix/workspace/doppio/src/threading.ts:851:12)
at Immediate. (/Volumes/Unix/workspace/doppio/src/threadpool.ts:84:16)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
The text was updated successfully, but these errors were encountered:
You're actually specifying your classpath incorrectly! If you try:
java -cp docs/examples/example example.App
...notice that it doesn't work. Instead, you need to do:
java -cp docs/examples example.App
Thus, run the following command instead:
../../doppio -cp docs/examples example.App
With that said, this should really give you a better error message!
jvilk
changed the title
Encountered error: TypeError: Cannot read property 'getLoader' of undefined
User-unfriendly error message when main class not present
Aug 10, 2017
Failed to run provided example (Mac, node 6.11.2)
% ../../doppio -cp example example.App
Encountered error: TypeError: Cannot read property 'getLoader' of undefined
TypeError: Cannot read property 'getLoader' of undefined
at a.getLoader (/Volumes/Unix/workspace/doppio/src/threading.ts:709:49)
at a.throwNewException (/Volumes/Unix/workspace/doppio/src/threading.ts:1159:44)
at b.a.throwClassNotFoundException (/Volumes/Unix/workspace/doppio/src/ClassLoader.ts:341:12)
at a.cb (/Volumes/Unix/workspace/doppio/src/ClassLoader.ts:554:14)
at a.run (/Volumes/Unix/workspace/doppio/src/threading.ts:552:12)
at a.run (/Volumes/Unix/workspace/doppio/src/threading.ts:851:12)
at Immediate. (/Volumes/Unix/workspace/doppio/src/threadpool.ts:84:16)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
The text was updated successfully, but these errors were encountered: