Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
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 #10819 (closed)

Opened 8 years ago

Closed 8 years ago

Bug: Images with no metadata

Reported by: wmoore Owned by: jamoore
Priority: critical Milestone: 5.0.0-beta1
Component: Services Version: n.a.
Keywords: FS Cc: fs@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: FS demo 4.1

Description

If I create a new image using E.g. Util_scripts > Channel_Offsets then try to get the Original Metadata I get:

Traceback:
File "/Users/will/Desktop/OMERO/dist/lib/python/django/core/handlers/base.py" in get_response
  111.                         response = callback(request, *callback_args, **callback_kwargs)
File "/Users/will/Desktop/OMERO/components/tools/OmeroWeb/omeroweb/../omeroweb/decorators.py" in wrapped
  377.             retval = f(request, *args, **kwargs)
File "/Users/will/Desktop/OMERO/components/tools/OmeroWeb/omeroweb/../omeroweb/decorators.py" in wrapper
  414.             context = f(request, *args, **kwargs)
File "/Users/will/Desktop/OMERO/components/tools/OmeroWeb/omeroweb/../omeroweb/webclient/views.py" in load_metadata_acquisition
  924.             manager.originalMetadata()
File "/Users/will/Desktop/OMERO/components/tools/OmeroWeb/omeroweb/../omeroweb/webclient/controller/container.py" in originalMetadata
  245.             om = self.image.loadOriginalMetadata()
File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py" in loadOriginalMetadata
  6160.             cb = self._conn._waitOnCmd(handle)
File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py" in _waitOnCmd
  3303.                 raise Exception(rsp) # ???

Exception Type: Exception at /webclient/metadata_acquisition/image/51/
Exception Value: object #0 (::omero::cmd::ERR)
{
    category = ::omero::cmd::OriginalMetadataRequest
    name = bad-step
    parameters = 
    {
        key = stacktrace
        value = java.lang.NullPointerException
	at omero.cmd.fs.OriginalMetadataRequestI.firstIdOrNull(OriginalMetadataRequestI.java:158)
	at omero.cmd.fs.OriginalMetadataRequestI.loadFileset(OriginalMetadataRequestI.java:112)
	at omero.cmd.fs.OriginalMetadataRequestI.step(OriginalMetadataRequestI.java:83)
	at omero.cmd.HandleI.steps(HandleI.java:435)
	at omero.cmd.HandleI$1.doWork(HandleI.java:365)
	at omero.cmd.HandleI$1.doWork(HandleI.java:361)
	at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
	at ome.services.util.Executor$Impl$Interceptor.invoke(Executor.java:518)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at ome.security.basic.EventHandler.invoke(EventHandler.java:154)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:111)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:241)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at $Proxy66.doWork(Unknown Source)
	at ome.services.util.Executor$Impl.execute(Executor.java:416)
	at omero.cmd.HandleI.run(HandleI.java:359)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at ome.services.util.Executor$Impl$1.call(Executor.java:447)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:680)

        
        key = message
        value = 
        
        key = step
        value = 0
    }
}

Change History (2)

comment:1 Changed 8 years ago by jamoore

  • Priority changed from major to critical
  • Sprint changed from FS demo 4.x to FS demo 4.1
  • Status changed from new to accepted

comment:2 Changed 8 years ago by jamoore

  • Resolution set to fixed
  • Status changed from accepted to closed
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.63935 sec.)

We're Hiring!