Closed activeeon-bot closed 9 years ago
Original comment posted by Fabien Viale on 21, May 2012 at 16:03 PM
The real exception masked by the exception in the Formatter is the following :
1: 0_0
Selection script has failed : (unknown).(unknown)(file:/home/fviale/eclipse_workspace/scheduling/dist/lib/jruby.jar!/builtin/java/ast.rb:49)(unknown).get_proxy_or_package_under_package(file:/home/fviale/eclipse_workspace/scheduling/dist/lib/jruby.jar!/builtin/javasupport/java.rb:43)#Class:01x203b4f0e.method_missing(
at org.ow2.proactive.scheduler.ext.matlab.middleman.AOMatlabEnvironment.getResultOfTask(AOMatlabEnvironment.java:125)
at org.ow2.proactive.scheduler.ext.matlab.middleman.AOMatlabEnvironment.getResultOfTask(AOMatlabEnvironment.java:80)
at org.ow2.proactive.scheduler.ext.matsci.middleman.AOMatSciEnvironment.waitAll(AOMatSciEnvironment.java:734)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.objectweb.proactive.core.mop.MethodCall.execute(MethodCall.java:395)
at org.objectweb.proactive.core.body.request.RequestImpl.serveInternal(RequestImpl.java:253)
at org.objectweb.proactive.core.body.request.RequestImpl.serve(RequestImpl.java:197)
at org.objectweb.proactive.core.body.BodyImpl$ActiveLocalBodyStrategy.serveInternal(BodyImpl.java:616)
at org.objectweb.proactive.core.body.BodyImpl$ActiveLocalBodyStrategy.serve(BodyImpl.java:577)
at org.objectweb.proactive.core.body.AbstractBody.serve(AbstractBody.java:944)
at org.objectweb.proactive.Service.serve(Service.java:121)
at org.ow2.proactive.scheduler.ext.matsci.middleman.AOMatSciEnvironment.maybeServePending(AOMatSciEnvironment.java:1058)
at org.ow2.proactive.scheduler.ext.matsci.middleman.AOMatSciEnvironment.runActivity(AOMatSciEnvironment.java:986)
at org.objectweb.proactive.core.body.ActiveBody.run(ActiveBody.java:194)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.ow2.proactive.scheduler.ext.matsci.client.common.exception.PASchedulerException: java.lang.Exception: Selection script has failed : (unknown).(unknown)(file:/home/fviale/eclipse_workspace/scheduling/dist/lib/jruby.jar!/builtin/java/ast.rb:49)(unknown).get_proxy_or_package_under_package(file:/home/fviale/eclipse_workspace/scheduling/dist/lib/jruby.jar!/builtin/javasupport/java.rb:43)#Class:01x203b4f0e.method_missing(
at org.ow2.proactive.scheduler.ext.matsci.middleman.AOMatSciEnvironment.updateTaskResult(AOMatSciEnvironment.java:669)
at org.ow2.proactive.scheduler.ext.matsci.middleman.AOMatSciEnvironment.updateJobResult(AOMatSciEnvironment.java:612)
at org.ow2.proactive.scheduler.ext.matsci.middleman.AOMatSciEnvironment.jobStateUpdatedEvent(AOMatSciEnvironment.java:857)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.objectweb.proactive.core.mop.MethodCall.execute(MethodCall.java:395)
at org.objectweb.proactive.core.body.request.RequestImpl.serveInternal(RequestImpl.java:253)
at org.objectweb.proactive.core.body.request.RequestImpl.serve(RequestImpl.java:197)
at org.objectweb.proactive.core.body.BodyImpl$ActiveLocalBodyStrategy.serveInternal(BodyImpl.java:616)
at org.objectweb.proactive.core.body.BodyImpl$ActiveLocalBodyStrategy.serve(BodyImpl.java:577)
at org.objectweb.proactive.core.body.AbstractBody.serve(AbstractBody.java:944)
at org.objectweb.proactive.Service.serveOldest(Service.java:214)
at org.ow2.proactive.scheduler.ext.matsci.middleman.AOMatSciEnvironment.runActivity(AOMatSciEnvironment.java:981)
... 2 more
Original comment posted by Fabien Viale on 21, May 2012 at 19:37 PM
The ruby exception occurs because the Matlab-Scilab jar is not loaded by the Nodes when inside the addons directory
Original comment posted by Fabien Viale on 08, Nov 2012 at 11:34 AM
When the problem occurs that Matlab/Scilab connector is not installed in the addons directory, a better error message should be displayed
Original comment posted by Youri Bonnaffe on 13, Jun 2013 at 15:22 PM
Resolved for a long time, Closing issue.
Original issue created by Fabien Viale on 16, May 2012 at 19:14 PM - MSC-3
Very UGLY Exception !
(link: INFO 2012-05-16 19:11:25,484) (link: SCHED.SchedulingMethodImpl.getRMNodes) Selection script throws an exception : org.jruby.exceptions.RaiseException (link: ERROR 2012-05-16 19:11:25,484) (link: SCHED.SchedulerCore.runActivity) SchedulerCore.runActivity(MAIN_LOOP) caught an EXCEPTION - it will not terminate the body ! java.lang.NullPointerException at org.jruby.RubyObject.getRuntime(RubyObject.java:468) at org.jruby.RubyException.initBacktrace(RubyException.java:178) at org.jruby.RubyException.getBacktrace(RubyException.java:164) at org.jruby.RubyException.backtrace(RubyException.java:197) at org.jruby.exceptions.RaiseException.printStackTrace(RaiseException.java:171) at org.jruby.exceptions.RaiseException.printStackTrace(RaiseException.java:187) at org.ow2.proactive.utils.Formatter.stackTraceToString(Formatter.java:68) at org.ow2.proactive.scheduler.core.SchedulingMethodImpl.getRMNodes(SchedulingMethodImpl.java:475) at org.ow2.proactive.scheduler.core.SchedulingMethodImpl.schedule(SchedulingMethodImpl.java:210) at org.ow2.proactive.scheduler.core.SchedulerCore.runActivity(SchedulerCore.java:654) at org.objectweb.proactive.core.body.ActiveBody.run(ActiveBody.java:194) at java.lang.Thread.run(Thread.java:662)