12 | | What raise the exception below: |
13 | | |
14 | | {{{ |
15 | | Traceback (most recent call last): |
16 | | |
17 | | File "/srv/omeroserver/lib/python/django/core/handlers/base.py", line 92, in get_response |
18 | | response = callback(request, *callback_args, **callback_kwargs) |
19 | | |
20 | | File "/srv/omeroserver/lib/python/omeroweb/webadmin/views.py", line 168, in wrapped |
21 | | return f(request, *args, **kwargs) |
22 | | |
23 | | File "/srv/omeroserver/lib/python/omeroweb/webadmin/views.py", line 871, in load_drivespace |
24 | | rv = usersData(conn, offset) |
25 | | |
26 | | File "/srv/omeroserver/lib/python/omeroweb/webadmin/controller/drivespace.py", line 99, in usersData |
27 | | "where m.child.id in (:pids)", p2, ctx) |
28 | | |
29 | | File "/srv/omeroserver/lib/python/omero/gateway/__init__.py", line 2959, in __call__ |
30 | | return self.handle_exception(e, *args, **kwargs) |
31 | | |
32 | | File "/srv/OMERO.server-Beta-4.3.2/lib/python/omeroweb/webclient/webclient_gateway.py", line 1652, in handle_exception |
33 | | e, *args, **kwargs) |
34 | | |
35 | | File "/srv/omeroserver/lib/python/omero/gateway/__init__.py", line 2956, in __call__ |
36 | | return self.f(*args, **kwargs) |
37 | | |
38 | | File "/srv/omeroserver/lib/python/omero_api_IQuery_ice.py", line 138, in findAllByQuery |
39 | | return _M_omero.api.IQuery._op_findAllByQuery.invoke(self, ((query, params), _ctx)) |
40 | | |
41 | | ApiUsageException: exception ::omero::ApiUsageException |
42 | | { |
43 | | serverStackTrace = ome.conditions.ApiUsageException: unexpected end of subtree [select m from ome.model.core.PixelsOriginalFileMap as m join fetch m.parent where m.child.id in ()]; nested exception is org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree [select m from ome.model.core.PixelsOriginalFileMap as m join fetch m.parent where m.child.id in ()] |
44 | | at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:660) |
45 | | at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412) |
46 | | at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411) |
47 | | at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:339) |
48 | | at ome.logic.QueryImpl.execute(QueryImpl.java:142) |
49 | | at ome.logic.QueryImpl.findAllByQuery(QueryImpl.java:392) |
50 | | at sun.reflect.GeneratedMethodAccessor293.invoke(Unknown Source) |
51 | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) |
52 | | at java.lang.reflect.Method.invoke(Method.java:597) |
53 | | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) |
54 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) |
55 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) |
56 | | at ome.security.basic.EventHandler.invoke(EventHandler.java:150) |
57 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
58 | | at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:111) |
59 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
60 | | at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108) |
61 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
62 | | at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:231) |
63 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
64 | | at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116) |
65 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
66 | | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) |
67 | | at $Proxy72.findAllByQuery(Unknown Source) |
68 | | at sun.reflect.GeneratedMethodAccessor293.invoke(Unknown Source) |
69 | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) |
70 | | at java.lang.reflect.Method.invoke(Method.java:597) |
71 | | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) |
72 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) |
73 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) |
74 | | at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:83) |
75 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
76 | | at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43) |
77 | | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) |
78 | | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) |
79 | | at $Proxy72.findAllByQuery(Unknown Source) |
80 | | at sun.reflect.GeneratedMethodAccessor320.invoke(Unknown Source) |
81 | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) |
82 | | at java.lang.reflect.Method.invoke(Method.java:597) |
83 | | at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179) |
84 | | at ome.services.throttling.Callback.run(Callback.java:56) |
85 | | at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56) |
86 | | at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:136) |
87 | | at ome.services.blitz.impl.QueryI.findAllByQuery_async(QueryI.java:66) |
88 | | at omero.api._IQueryTie.findAllByQuery_async(_IQueryTie.java:92) |
89 | | at omero.api._IQueryDisp.___findAllByQuery(_IQueryDisp.java:366) |
90 | | at omero.api._IQueryDisp.__dispatch(_IQueryDisp.java:496) |
91 | | at IceInternal.Incoming.invoke(Incoming.java:159) |
92 | | at Ice.ConnectionI.invokeAll(ConnectionI.java:2037) |
93 | | at Ice.ConnectionI.message(ConnectionI.java:972) |
94 | | at IceInternal.ThreadPool.run(ThreadPool.java:577) |
95 | | at IceInternal.ThreadPool.access$100(ThreadPool.java:12) |
96 | | at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:971) |
97 | | |
98 | | serverExceptionClass = ome.conditions.ApiUsageException |
99 | | message = unexpected end of subtree [select m from ome.model.core.PixelsOriginalFileMap as m join fetch m.parent where m.child.id in ()]; nested exception is org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree [select m from ome.model.core.PixelsOriginalFileMap as m join fetch m.parent where m.child.id in ()] |
100 | | } |
101 | | |
102 | | |
103 | | <WSGIRequest |
104 | | GET:<QueryDict: {}>, |
105 | | POST:<QueryDict: {}>, |
106 | | COOKIES:{'__utma': '192312886.126904984.1289803522.1316045304.1316486455.52', |
107 | | '__utmz': '192312886.1316486455.52.35.utmcsr=monash.edu|utmccn=(referral)|utmcmd=referral|utmcct=/', |
108 | | 'sessionid': '5fd671309cdddd3b278bf04c5d2f0580'}, |
109 | | META:{'CONTENT_TYPE': 'application/json; charset=utf-8', |
110 | | 'DOCUMENT_ROOT': '/srv/webstart', |
111 | | 'GATEWAY_INTERFACE': 'CGI/1.1', |
112 | | 'HTTPS': 'on', |
113 | | 'HTTP_ACCEPT': 'application/json, text/javascript, */*', |
114 | | 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', |
115 | | 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', |
116 | | 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', |
117 | | 'HTTP_CONNECTION': 'keep-alive', |
118 | | 'HTTP_COOKIE': '__utma=203357902.1484366806.1315973805.1315973805.1316391535.2; __utmz=203357902.1315973805.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=192312886.126904984.1289803522.1316045304.1316486455.52; __utmz=192312886.1316486455.52.35.utmcsr=monash.edu|utmccn=(referral)|utmcmd=referral|utmcct=/; sessionid=5fd671309cdddd3b278bf04c5d2f0580', |
119 | | 'HTTP_HOST': 'server.its.monash.edu.au', |
120 | | 'HTTP_REFERER': 'https://server.its.monash.edu.au/webadmin/drivespace/', |
121 | | 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1', |
122 | | 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest', |
123 | | 'PATH': '/sbin:/usr/sbin:/bin:/usr/bin', |
124 | | 'PATH_INFO': u'/webadmin/load_drivespace/', |
125 | | 'PATH_TRANSLATED': '/srv/omeroserver/var/omero.fcgi/webadmin/load_drivespace/', |
126 | | 'QUERY_STRING': '', |
127 | | 'REMOTE_ADDR': '110.174.176.101', |
128 | | 'REMOTE_PORT': '4153', |
129 | | 'REQUEST_METHOD': 'GET', |
130 | | 'REQUEST_URI': '/webadmin/load_drivespace/', |
131 | | 'SCRIPT_FILENAME': '/srv/omeroserver/var/omero.fcgi', |
132 | | 'SCRIPT_NAME': u'', |
133 | | 'SERVER_ADDR': '130.194.245.190', |
134 | | 'SERVER_ADMIN': 'root@localhost', |
135 | | 'SERVER_NAME': 'server.its.monash.edu.au', |
136 | | 'SERVER_PORT': '443', |
137 | | 'SERVER_PROTOCOL': 'HTTP/1.1', |
138 | | 'SERVER_SIGNATURE': '<address>Apache/2.2.3 (Red Hat) Server at server.its.monash.edu.au Port 443</address>\n', |
139 | | 'SERVER_SOFTWARE': 'Apache/2.2.3 (Red Hat)', |
140 | | 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x10e30ed0>, |
141 | | 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x10c98410>, |
142 | | 'wsgi.multiprocess': True, |
143 | | 'wsgi.multithread': False, |
144 | | 'wsgi.run_once': False, |
145 | | 'wsgi.url_scheme': 'https', |
146 | | 'wsgi.version': (1, 0)}> |
147 | | }}} |
| 12 | What raise the exception below |