We're Hiring!

Error Running Pre-Packaged Script

General and open developer discussion about using OMERO APIs from C++, Java, Python, Matlab and more! Please new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

If you are having trouble with custom code, please provide a link to a public repository, ideally GitHub.

Error Running Pre-Packaged Script

Postby pmann » Tue May 21, 2019 7:18 pm

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"
pmann
 
Posts: 3
Joined: Thu Mar 07, 2019 4:55 pm

Re: Error Running Pre-Packaged Script

Postby jmoore » Tue May 21, 2019 7:42 pm

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
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany


Return to Developer Discussion

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron