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 #13101 (new)

Opened 4 years ago

Last modified 4 years ago

BUG: SecurityViolation: 2 methods active

Reported by: dlindner Owned by: dlindner
Priority: minor Milestone: Unscheduled
Component: Insight Version: OMERO-5.1.3
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

https://www.openmicroscopy.org/qa2/qa/feedback/16900/


java.lang.Exception: org.openmicroscopy.shoola.env.data.DSOutOfServiceException: Failed to create connector


	at org.openmicroscopy.shoola.env.data.OMEROGateway.createConnector(OMEROGateway.java:1452)


	at org.openmicroscopy.shoola.env.data.OMEROGateway.getConnector(OMEROGateway.java:1430)


	at org.openmicroscopy.shoola.env.data.OMEROGateway.loadContainerHierarchy(OMEROGateway.java:2230)


	at org.openmicroscopy.shoola.env.data.OmeroDataServiceImpl.loadContainerHierarchy(OmeroDataServiceImpl.java:231)


	at org.openmicroscopy.shoola.env.data.views.calls.DMLoader$1.doCall(DMLoader.java:90)


	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.SecurityViolation


    serverStackTrace = "ome.conditions.SecurityViolation: 2 methods active. Aborting!


                        	at ome.services.sessions.SessionManagerImpl.setSecurityContext(SessionManagerImpl.java:1206)


                        	at ome.services.blitz.impl.ServiceFactoryI.setSecurityContext(ServiceFactoryI.java:239)


                        	at omero.api._ServiceFactoryTie.setSecurityContext(_ServiceFactoryTie.java:269)


                        	at omero.api._ServiceFactoryDisp.___setSecurityContext(_ServiceFactoryDisp.java:468)


                        	at omero.api._ServiceFactoryDisp.__dispatch(_ServiceFactoryDisp.java:1371)


                        	at IceInternal.Incoming.invoke(Incoming.java:222)


                        	at Ice.ConnectionI.invokeAll(ConnectionI.java:2482)


                        	at Ice.ConnectionI.dispatch(ConnectionI.java:1258)


                        	at Ice.ConnectionI.message(ConnectionI.java:1213)


                        	at IceInternal.ThreadPool.run(ThreadPool.java:321)


                        	at IceInternal.ThreadPool.access$300(ThreadPool.java:12)


                        	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:693)


                        	at java.lang.Thread.run(Thread.java:745)


                        "


    serverExceptionClass = "ome.conditions.SecurityViolation"


    message = "2 methods active. Aborting!"


	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:2615)


	at IceInternal.BasicStream.access$300(BasicStream.java:12)


	at IceInternal.BasicStream$EncapsDecoder10.throwException(BasicStream.java:3099)


	at IceInternal.BasicStream.throwException(BasicStream.java:2077)


	at IceInternal.Outgoing.throwUserException(Outgoing.java:538)


	at omero.api._ServiceFactoryDelM.setSecurityContext(_ServiceFactoryDelM.java:1575)


	at omero.api.ServiceFactoryPrxHelper.setSecurityContext(ServiceFactoryPrxHelper.java:5590)


	at omero.api.ServiceFactoryPrxHelper.setSecurityContext(ServiceFactoryPrxHelper.java:5535)


	at org.openmicroscopy.shoola.env.data.OMEROGateway.createConnector(OMEROGateway.java:1444)


	... 11 more


	at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.showErrorDialog(UserNotifierImpl.java:191)


	at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:291)


	at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:259)


	at org.openmicroscopy.shoola.agents.treeviewer.DataBrowserLoader.handleException(DataBrowserLoader.java:148)


	at org.openmicroscopy.shoola.env.data.events.DSCallAdapter.eventFired(DSCallAdapter.java:84)


	at org.openmicroscopy.shoola.env.data.views.BatchCallMonitor$1.run(BatchCallMonitor.java:124)


	at java.awt.event.InvocationEvent.dispatch(Unknown Source)


	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)


	at java.awt.EventQueue.access$200(Unknown Source)


	at java.awt.EventQueue$3.run(Unknown Source)


	at java.awt.EventQueue$3.run(Unknown Source)


	at java.security.AccessController.doPrivileged(Native Method)


	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)


	at java.awt.EventQueue.dispatchEvent(Unknown Source)


	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)


	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)


	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)


	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)


	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)


	at java.awt.EventDispatchThread.run(Unknown Source)


Change History (4)

comment:1 Changed 4 years ago by jamoore

  • Type changed from Bug to Task

Siwtching to task

comment:2 Changed 4 years ago by jamoore

  • Milestone set to Unscheduled

comment:3 Changed 4 years ago by dlindner

  • Component set to General
  • Version set to OMERO-5.2.0

comment:4 Changed 4 years ago by dlindner

  • Component changed from General to Insight
  • Version changed from OMERO-5.2.0 to OMERO-5.1.3

Both QAs are with versions prior to Gateway usage. This might already be fixed by the move of all connection handling code to the Gateway. Probably just keep an eye on this, if it still happens with >= 5.2.0

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

We're Hiring!