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

Opened 14 years ago

Closed 14 years ago

BUG: Web ; Front page error?

Reported by: cxallan Owned by: jamoore
Priority: minor Milestone: OMERO-Beta4.2.1
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-11-11 (19)

Description


Change History (3)

comment:1 Changed 14 years ago by cxallan

Traceback (most recent call last):

  File "/home/jboss/OMERO.server-4.2.1-DEV-r8486-trunk1191/lib/python/django/core/handlers/base.py", line 92, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/home/jboss/OMERO-CURRENT/lib/python/omeroweb/webclient/views.py", line 185, in wrapped
    return f(request, *args, **kwargs)

  File "/home/jboss/OMERO-CURRENT/lib/python/omeroweb/webclient/views.py", line 389, in index_most_recent
    controller.loadMostRecent()

  File "/home/jboss/OMERO-CURRENT/lib/python/omeroweb/webclient/controller/index.py", line 42, in loadMostRecent
    self.mostRecentSharesComments = self.sortByAttr(list(self.conn.getMostRecentSharesCommentLinks()), 'child.details.creationEvent.time', True)

  File "/home/jboss/OMERO.server-4.2.1-DEV-r8486-trunk1191/lib/python/omeroweb/webclient/webclient_gateway.py", line 1545, in getMostRecentSharesCommentLinks
    for e in tm.getMostRecentShareCommentLinks(p):

  File "/home/jboss/OMERO-CURRENT/lib/python/omero/gateway/__init__.py", line 2314, in wrapped
    return inner(*args, **kwargs)

  File "/home/jboss/OMERO-CURRENT/lib/python/omero/gateway/__init__.py", line 2247, in inner
    return f(*args, **kwargs)

  File "/home/jboss/OMERO.server-4.2.1-DEV-r8486-trunk1191/lib/python/omero_api_ITimeline_ice.py", line 90, in getMostRecentShareCommentLinks
    return _M_omero.api.ITimeline._op_getMostRecentShareCommentLinks.invoke(self, ((p, ), _ctx))

InternalException: exception ::omero::InternalException
{
    serverStackTrace = ome.conditions.InternalException:  Wrapped Exception: (java.lang.UnsupportedOperationException):
null
	at java.util.AbstractCollection.add(AbstractCollection.java:221)
	at java.util.AbstractCollection.addAll(AbstractCollection.java:305)
	at ome.services.blitz.impl.TimelineI$6.doWork(TimelineI.java:422)
	at sun.reflect.GeneratedMethodAccessor219.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:409)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at ome.security.basic.EventHandler.invoke(EventHandler.java:157)
	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:231)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:111)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at $Proxy56.doWork(Unknown Source)
	at ome.services.util.Executor$Impl.execute(Executor.java:339)
	at ome.services.throttling.Adapter.run(Adapter.java:51)
	at ome.services.throttling.InThreadThrottlingStrategy.runnableCall(InThreadThrottlingStrategy.java:89)
	at ome.services.blitz.impl.AbstractAmdServant.runnableCall(AbstractAmdServant.java:150)
	at ome.services.blitz.impl.TimelineI.getMostRecentShareCommentLinks_async(TimelineI.java:411)
	at omero.api._ITimelineTie.getMostRecentShareCommentLinks_async(_ITimelineTie.java:99)
	at omero.api._ITimelineDisp.___getMostRecentShareCommentLinks(_ITimelineDisp.java:155)
	at omero.api._ITimelineDisp.__dispatch(_ITimelineDisp.java:321)
	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 = ome.conditions.InternalException
    message =  Wrapped Exception: (java.lang.UnsupportedOperationException):
null
}


<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'sessionid': '298e7b4bbfd95ce55888ad48213fb421'},
META:{'DOCUMENT_ROOT': '/var/www/localhost/htdocs',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 'text/html, */*',
 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'sessionid=298e7b4bbfd95ce55888ad48213fb421',
 'HTTP_HOST': 'nightshade.openmicroscopy.org.uk',
 'HTTP_KEEP_ALIVE': '115',
 'HTTP_REFERER': 'http://nightshade.openmicroscopy.org.uk/webclient/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8',
 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
 'PATH': '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin',
 'PATH_INFO': u'/webclient/most_recent/',
 'PATH_TRANSLATED': '/var/www/localhost/htdocs/omero.fcgi/webclient/most_recent/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '94.168.157.127',
 'REMOTE_PORT': '52617',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/webclient/most_recent/',
 'SCRIPT_FILENAME': '/var/www/localhost/htdocs/omero.fcgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '134.36.65.51',
 'SERVER_ADMIN': 'root@localhost',
 'SERVER_NAME': 'nightshade.openmicroscopy.org.uk',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '<address>Apache Server at nightshade.openmicroscopy.org.uk Port 80</address>\n',
 'SERVER_SOFTWARE': 'Apache',
 'UNIQUE_ID': 'TNCNTYYkQTMAACFQB9EAAAAJ',
 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x1dd91d0>,
 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x1dd0e50>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>

comment:2 Changed 14 years ago by jmoore

  • Owner changed from atarkowska to jmoore
  • Status changed from new to assigned

This is caused by a change in ShareBean in which Collections.emptySet() is returned. See r8439 (#2733). I'll commit a fix momentarily.

comment:3 Changed 14 years ago by jmoore

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

(In [8494]) Fix for emptySet return value from ShareBean (Fix #3234)

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

We're Hiring!