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 #704 (closed)

Opened 17 years ago

Closed 13 years ago

Archived files

Reported by: jburel Owned by: cxallan
Priority: critical Milestone: Unscheduled
Component: API Version: 3.0-M3
Keywords: n.a. Cc: jrswedlow, josh
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by jmoore)

Jason noticed a problem with the archived facility using valewalker.
I haven't modified the code to retrieve the data. This call used to work
Now when I do

IQuery service = getIQueryService();
List files = files = service.findAllByQuery(
  "select ofile from OriginalFile as ofile left join " +
"ofile.pixelsFileMaps as pfm left join pfm.child as child " +
"where child.id = :id",
new Parameters().addId(new Long(pixelsID)));

The following error is thrown


Caused by: java.rmi.MarshalException: Failed to communicate.  Problem during marshalling/unmarshalling; nested exception is: 
	java.lang.ClassCastException: cannot assign instance of java.lang.Integer to field ome.model.core.OriginalFile.size of type java.lang.Long in instance of ome.model.core.OriginalFile
	at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:306)
	at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
	at org.jboss.remoting.Client.invoke(Client.java:525)
	at org.jboss.remoting.Client.invoke(Client.java:488)
	at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:55)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:55)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:65)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102)
	... 18 more
Caused by: java.lang.ClassCastException: cannot assign instance of java.lang.Integer to field ome.model.core.OriginalFile.size of type java.lang.Long in instance of ome.model.core.OriginalFile
	at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2004)

}}}

Change History (2)

comment:1 Changed 17 years ago by jmoore

I noticed the same locally while trying to get the performance measurements.

comment:2 Changed 13 years ago by jmoore

  • Description modified (diff)
  • Resolution set to invalid
  • Status changed from new to closed

Can't imagine this is still an issue. Closing.

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.64097 sec.)

We're Hiring!