Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #2289 (closed)

Opened 9 years ago

Closed 9 years ago

BUG: getScripts() NPE

Reported by: wmoore Owned by: jamoore
Priority: minor Milestone: OMERO-Beta4.2
Component: General Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-04-30 (8)

Description (last modified by jmoore)

    params = scriptService.getParams(id)
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/omero_api_IScript_ice.py", line 137, in getParams
    return _M_omero.api.IScript._op_getParams.invoke(self, ((scriptID, ), _ctx))
omero.InternalException: exception ::omero::InternalException
{
    serverStackTrace = java.lang.NullPointerException
	at omero.grid.ParamsHelper.generateScriptParams(ParamsHelper.java:144)
	at omero.grid.ParamsHelper.getOrCreateParams(ParamsHelper.java:102)
	at ome.services.blitz.impl.ScriptI$9.call(ScriptI.java:329)
	at ome.services.throttling.Callback2.run(Callback2.java:49)
	at ome.services.throttling.InThreadThrottlingStrategy.safeRunnableCall(InThreadThrottlingStrategy.java:80)
	at ome.services.blitz.impl.AbstractAmdServant.safeRunnableCall(AbstractAmdServant.java:151)
	at ome.services.blitz.impl.ScriptI.getParams_async(ScriptI.java:327)
	at omero.api._IScriptTie.getParams_async(_IScriptTie.java:78)
	at omero.api._IScriptDisp.___getParams(_IScriptDisp.java:340)
	at omero.api._IScriptDisp.__dispatch(_IScriptDisp.java:461)
	at IceInternal.Incoming.invoke(Incoming.java:159)
	at Ice.ConnectionI.invokeAll(ConnectionI.java:2037)
	at Ice.ConnectionI.message(ConnectionI.java:972)
	at IceInternal.ThreadPool.run(ThreadPool.java:577)
	at IceInternal.ThreadPool.access$100(ThreadPool.java:12)
	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:971)

    serverExceptionClass = java.lang.NullPointerException
    message = 
}

Change History (4)

comment:1 Changed 9 years ago by jmoore

  • Description modified (diff)
  • Status changed from new to assigned

comment:2 Changed 9 years ago by wmoore

(In [6768]) This demonstrates the bug: See #2289.

Run test
test/integration/scripts.py TestScripts?.testParseErrorTicket218

comment:3 Changed 9 years ago by wmoore

Sorry, that should be test (run from OmeroPy)

$ python test/integration/scripts.py TestScripts.testParseErrorTicket2185

comment:4 Changed 9 years ago by jmoore

  • Remaining Time set to 0
  • Resolution set to fixed
  • Status changed from assigned to closed

(In [6774]) fix #2289 - cleaner use of ServantHolder

In some cases, a stringified-Ice.Identity was being
passed to ServantHolder. This refactors several uses
and simplifies unwrapping Tie servants.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.73121 sec.)

We're Hiring!