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

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

Bug: Error when clicking on history label in webclient

Reported by: rleigh Owned by: cneves
Priority: critical Milestone: OMERO-4.4.4
Component: Web Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

Logged in as user-10, clicking on history label to go to
https://gretzky.openmicroscopy.org.uk/omero/webclient/history/

Traceback (most recent call last):

  File "/home/omero/OMERO-CURRENT/lib/python/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/home/omero/OMERO-CURRENT/lib/python/omeroweb/decorators.py", line 377, in wrapped
    retval = f(request, *args, **kwargs)

  File "/home/omero/OMERO-CURRENT/lib/python/omeroweb/decorators.py", line 414, in wrapper
    context = f(request, *args, **kwargs)

  File "/home/omero/OMERO-CURRENT/lib/python/omeroweb/webclient/views.py", line 1939, in load_calendar
    controller.create_calendar()

  File "/home/omero/OMERO-CURRENT/lib/python/omeroweb/webclient/controller/history.py", line 112, in create_calendar
    items = self.calendar_items(self.month, self.monthrange)

  File "/home/omero/OMERO-CURRENT/lib/python/omeroweb/webclient/controller/history.py", line 163, in calendar_items
    all_logs = self.conn.getEventsByPeriod(start, end, self.eid)

  File "/home/omero/OMERO-CURRENT/lib/python/omeroweb/webclient/webclient_gateway.py", line 1850, in getEventsByPeriod
    return tm.getEventLogsByPeriod(rtime(start), rtime(end), p, service_opts)

  File "/home/omero/OMERO-CURRENT/lib/python/omero/gateway/__init__.py", line 3327, in __call__
    return self.handle_exception(e, *args, **kwargs)

  File "/home/omero/OMERO-CURRENT/lib/python/omeroweb/webclient/webclient_gateway.py", line 1876, in handle_exception
    e, *args, **kwargs)

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

  File "/home/omero/OMERO-CURRENT/lib/python/omero_api_ITimeline_ice.py", line 115, in getEventLogsByPeriod
    return _M_omero.api.ITimeline._op_getEventLogsByPeriod.invoke(self, ((start, end, p), _ctx))

InternalException: exception ::omero::InternalException
{
    serverStackTrace = ome.conditions.InternalException:  Wrapped Exception: (java.lang.NullPointerException):
null
	at ome.security.basic.BasicACLVoter.postProcess(BasicACLVoter.java:378)
	at ome.tools.hibernate.ProxyCleanupFilter.filter(ProxyCleanupFilter.java:119)
	at ome.util.ContextFilter.filter(ContextFilter.java:160)
	at ome.util.ContextFilter.doFilter(ContextFilter.java:84)
	at ome.util.ContextFilter.filter(ContextFilter.java:121)
	at ome.tools.hibernate.ProxyCleanupFilter.filter(ProxyCleanupFilter.java:166)
	at ome.util.ContextFilter.filter(ContextFilter.java:162)
	at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:244)
	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 $Proxy65.doWork(Unknown Source)
	at ome.services.util.Executor$Impl.execute(Executor.java:406)
	at ome.services.util.Executor$Impl.execute(Executor.java:350)
	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:164)
	at ome.services.blitz.impl.TimelineI.getEventLogsByPeriod_async(TimelineI.java:234)
	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: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 omero.cmd.CallContext.invoke(CallContext.java:59)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at $Proxy112.getEventLogsByPeriod_async(Unknown Source)
	at omero.api._ITimelineTie.getEventLogsByPeriod_async(_ITimelineTie.java:78)
	at omero.api._ITimelineDisp.___getEventLogsByPeriod(_ITimelineDisp.java:265)
	at omero.api._ITimelineDisp.__dispatch(_ITimelineDisp.java:309)
	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.NullPointerException):
null
}


<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'sessionid': '221977ae435febe1fc4fbd60b1aa20ba'},
META:{'DOCUMENT_ROOT': '/htdocs',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTPS': 'on',
 'HTTP_ACCEPT': 'text/html, */*; q=0.01',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'sessionid=221977ae435febe1fc4fbd60b1aa20ba',
 'HTTP_HOST': 'gretzky.openmicroscopy.org.uk',
 'HTTP_REFERER': 'https://gretzky.openmicroscopy.org.uk/omero/webclient/history/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/20100101 Firefox/15.0.1',
 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
 'PATH': '/usr/local/bin:/usr/bin:/bin',
 'PATH_INFO': u'/webclient/load_calendar/',
 'PATH_TRANSLATED': '/htdocs/webclient/load_calendar/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '10.12.0.108',
 'REMOTE_PORT': '59968',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/omero/webclient/load_calendar/',
 'SCRIPT_FILENAME': '/home/omero/OMERO-CURRENT/var/omero.fcgi',
 'SCRIPT_NAME': u'/omero',
 'SCRIPT_URI': 'https://gretzky.openmicroscopy.org.uk/omero/webclient/load_calendar/',
 'SCRIPT_URL': '/omero/webclient/load_calendar/',
 'SERVER_ADDR': '134.36.65.227',
 'SERVER_ADMIN': '[no address given]',
 'SERVER_NAME': 'gretzky.openmicroscopy.org.uk',
 'SERVER_PORT': '443',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Ubuntu) Server at gretzky.openmicroscopy.org.uk Port 443</address>\n',
 'SERVER_SOFTWARE': 'Apache/2.2.14 (Ubuntu)',
 'SSL_TLS_SNI': 'gretzky.openmicroscopy.org.uk',
 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x7fb4e8087210>,
 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x7fb4e8087450>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'https',
 'wsgi.version': (1, 0)}>

Change History (5)

comment:1 Changed 12 years ago by cneves

  • Owner changed from web-team@… to cneves-x
  • Status changed from new to accepted

comment:2 Changed 12 years ago by cneves

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

comment:3 Changed 12 years ago by Carlos Neves <carlos@…>

(In [7ff9e0ef4a79d58c4f9485a06d2c8b60657cba60/ome.git] on branch develop) Setting appropriate group in getEventLogsByPeriod context (see #9609)

comment:4 Changed 12 years ago by jmoore <josh@…>

(In [58592ad54100a5cf87264e3720548763ea5da980/ome.git] on branch develop) call context tests in itimeline.py (See #9609)

Added duplicate tests to several of the methods in
itimline.py. Two tests are still failing but were
doing so before these changes. Also removed the
duplicate test1175 which was identical to the other
method of the same name.

comment:5 Changed 12 years ago by Josh Moore <josh@…>

(In [87b429c9d014c92fe5b2f9dd18584701bcb5633a/ome.git] on branch develop) Merge pull request #370 from cneves/tickets/9609

Setting appropriate group in getEventLogsByPeriod context (see #9609)

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

We're Hiring!