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"

Bug #1036 (closed)

Opened 16 years ago

Closed 16 years ago

Issue with ISession.getInput/setInput from Blitz

Reported by: jamoore Owned by: jamoore
Priority: critical Cc:
Sprint: n.a.
Total Remaining Time: n.a.

Description

Possibly related to #894, on a simple :

  setInput(sess, "a", new RString("a"));
  getInput(sess, "a");

the following is thrown:

Ice.UnknownException
    unknown = "java.lang.ClassCastException: java.lang.String
               	at $Proxy59.getInput(Unknown Source)
               	at omero.api._ISessionTie.getInput(_ISessionTie.java:85)
               	at omero.api._ISessionDisp.___getInput(_ISessionDisp.java:277)
               	at omero.api._ISessionDisp.__dispatch(_ISessionDisp.java:449)
               	at IceInternal.Incoming.invoke(Incoming.java:147)
               	at Ice.ConnectionI.invokeAll(ConnectionI.java:2249)
               	at Ice.ConnectionI.message(ConnectionI.java:1362)
               	at IceInternal.ThreadPool.run(ThreadPool.java:782)
               	at IceInternal.ThreadPool.access$100(ThreadPool.java:12)
               	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:1242)
               "
	at IceInternal.Outgoing.invoke(Outgoing.java:148)
	at omero.api._ISessionDelM.getInput(_ISessionDelM.java:191)
	at omero.api.ISessionPrxHelper.getInput(ISessionPrxHelper.java:184)
	at omero.api.ISessionPrxHelper.getInput(ISessionPrxHelper.java:156)
	at omero.client.getInput(client.java:238)
	at omero.itests.UsageTest.testUseSharedMemory(UsageTest.java:46)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:478)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:617)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:885)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110)
	at org.testng.TestRunner.runWorkers(TestRunner.java:712)
	at org.testng.TestRunner.privateRun(TestRunner.java:582)
	at org.testng.TestRunner.run(TestRunner.java:477)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
	at org.testng.SuiteRunner.run(SuiteRunner.java:198)
	at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:823)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:790)
	at org.testng.TestNG.run(TestNG.java:708)
	at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73)
	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:124)

Change History (2)

comment:1 Changed 16 years ago by jmoore

  • Priority changed from major to critical
  • Status changed from new to assigned
  • Type changed from User Story to defect

comment:2 Changed 16 years ago by jmoore

  • Resolution set to fixed
  • Status changed from assigned to closed

r2714, r2716, r2720, r2722 close. Used code from OmeroThrottling branch to add explicit casts in the return value casting in IceMapper. Slowly, all code will be moved to using the explicit casts.

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

We're Hiring!