Page 1 of 1

Error Running Pre-Packaged Script

PostPosted: Tue May 21, 2019 7:18 pm
by pmann
We're running into issues running some pre-packaged scripts on Omero. They seem to be throwing "No Processor Available" errors which doesn't seem to make a lot of sense.

Here is the stack trace on Omero.insight:

 

2019-05-21 18:55:53,322 ERROR [    o.o.s.agents.treeviewer.ScriptLoader] (entQueue-0) Data Retrieval Failure: org.openmicroscopy.shoola.env.data.ProcessException: Cannot load the script: 56

    at org.openmicroscopy.shoola.env.data.OMEROGateway.loadScript(OMEROGateway.java:5646)

    at org.openmicroscopy.shoola.env.data.OmeroImageServiceImpl.loadScript(OmeroImageServiceImpl.java:1680)

    at org.openmicroscopy.shoola.env.data.views.calls.ScriptsLoader$2.doCall(ScriptsLoader.java:101)

    at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:144)

    at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)

    at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)

    at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)

    at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:276)

    at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)

    at java.lang.Thread.run(Unknown Source)

Caused by: omero.NoProcessorAvailable

    serverStackTrace = ""

    serverExceptionClass = ""

    message = "No processor available! [0 response(s)]"

    processorCount = 0

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at java.lang.Class.newInstance(Unknown Source)

    at IceInternal.BasicStream.createUserException(BasicStream.java:2779)

    at IceInternal.BasicStream.access$300(BasicStream.java:14)

    at IceInternal.BasicStream$EncapsDecoder10.throwException(BasicStream.java:3298)

    at IceInternal.BasicStream.throwException(BasicStream.java:2291)

    at IceInternal.OutgoingAsync.throwUserException(OutgoingAsync.java:399)

    at omero.api.IScriptPrxHelper.end_getParams(IScriptPrxHelper.java:738)

    at omero.api.IScriptPrxHelper.getParams(IScriptPrxHelper.java:617)

    at omero.api.IScriptPrxHelper.getParams(IScriptPrxHelper.java:604)

    at org.openmicroscopy.shoola.env.data.OMEROGateway.loadScript(OMEROGateway.java:5643)

    ... 9 more

Data Retrieval Failure: org.openmicroscopy.shoola.env.data.ProcessException: Cannot load the script: 56

    at org.openmicroscopy.shoola.env.data.OMEROGateway.loadScript(OMEROGateway.java:5646)

    at org.openmicroscopy.shoola.env.data.OmeroImageServiceImpl.loadScript(OmeroImageServiceImpl.java:1680)

    at org.openmicroscopy.shoola.env.data.views.calls.ScriptsLoader$2.doCall(ScriptsLoader.java:101)

    at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:144)

    at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)

    at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)

    at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)

    at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:276)

    at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)

    at java.lang.Thread.run(Unknown Source)

Caused by: omero.NoProcessorAvailable

    serverStackTrace = ""

    serverExceptionClass = ""

    message = "No processor available! [0 response(s)]"

    processorCount = 0

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at java.lang.Class.newInstance(Unknown Source)

    at IceInternal.BasicStream.createUserException(BasicStream.java:2779)

    at IceInternal.BasicStream.access$300(BasicStream.java:14)

    at IceInternal.BasicStream$EncapsDecoder10.throwException(BasicStream.java:3298)

    at IceInternal.BasicStream.throwException(BasicStream.java:2291)

    at IceInternal.OutgoingAsync.throwUserException(OutgoingAsync.java:399)

    at omero.api.IScriptPrxHelper.end_getParams(IScriptPrxHelper.java:738)

    at omero.api.IScriptPrxHelper.getParams(IScriptPrxHelper.java:617)

    at omero.api.IScriptPrxHelper.getParams(IScriptPrxHelper.java:604)

    at org.openmicroscopy.shoola.env.data.OMEROGateway.loadScript(OMEROGateway.java:5643)

    ... 9 more

Exception in thread "AWT-EventQueue-0"

Re: Error Running Pre-Packaged Script

PostPosted: Tue May 21, 2019 7:42 pm
by jmoore
Do you have access to the OMERO server logs? If not, could you ask your system administrator to get in touch with us? The fact that no processors are running on the server means that no scripts can be run. Likely a restart will be necessary. With server logs, we can hopefully tell you more.

Sorry for the troubles,
~Josh