On Tuesday, June 09, 2015 12:36:02 PM Piotr Kliczewski wrote:
Hi guys,
I refreshed the engine from master several minutes ago and when I
click to see storage tab I get 500 and there is this exception in
server log:
Thanks,
Piotr
We recently added some code that goes through the object graph to find any
hibernate internal collections and replaces them with standard java
collections. However in order to do that we have to go through all the getters
of all the objects. If those getters throw null pointers due to missing data
you will see this error. I will post a patch soon that fixes this particular
getter.
2015-06-09 12:32:21,884 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ovirt-e
ngine/webadmin]] (http--0_0_0_0_0_0_0_0-8080-3) Exception while dispatching
incoming RPC call: com.google.gwt.user.server.rpc.UnexpectedException:
Service method 'public abstract java.util.ArrayList
org.ovirt.engine.ui.frontend.gwtservices.GenericApiGWTService.runMultipleQue
ries(java.util.ArrayList,java.util.ArrayList)' threw an unexpected
exception: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
at com.google.gwt.rpc.server.RPC.invokeAndStreamResponse(RPC.java:219)
[gwt-servlet.jar:]
at com.google.gwt.rpc.server.RpcServlet.processCall(RpcServlet.java:172)
[gwt-servlet.jar:]
at com.google.gwt.rpc.server.RpcServlet.processPost(RpcServlet.java:233)
[gwt-servlet.jar:]
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(Abstract
RemoteServiceServlet.java:62) [gwt-servlet.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:248) [jbossweb-7.0.13.Final.jar:]
at
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationP
ropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:248) [jbossweb-7.0.13.Final.jar:]
at
org.ovirt.engine.core.utils.servlet.HeaderFilter.doFilter(HeaderFilter.java
:94) [utils.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:248) [jbossweb-7.0.13.Final.jar:]
at
org.ovirt.engine.ui.frontend.server.gwt.GwtCachingFilter.doFilter(GwtCachin
gFilter.java:132) [frontend.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:248) [jbossweb-7.0.13.Final.jar:]
at
org.ovirt.engine.core.branding.BrandingFilter.doFilter(BrandingFilter.java:
73) [branding.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:248) [jbossweb-7.0.13.Final.jar:]
at
org.ovirt.engine.core.utils.servlet.LocaleFilter.doFilter(LocaleFilter.java
:65) [utils.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:248) [jbossweb-7.0.13.Final.jar:]
at
org.ovirt.engine.core.aaa.filters.SessionMgmtFilter.doFilter(SessionMgmtFil
ter.java:31) [aaa.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:248) [jbossweb-7.0.13.Final.jar:]
at
org.ovirt.engine.core.aaa.filters.LoginFilter.doFilter(LoginFilter.java:74)
[aaa.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:248) [jbossweb-7.0.13.Final.jar:]
at
org.ovirt.engine.core.aaa.filters.NegotiationFilter.doFilter(NegotiationFil
ter.java:113) [aaa.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:248) [jbossweb-7.0.13.Final.jar:]
at
org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter.doFilter(BasicA
uthenticationFilter.java:90) [aaa.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:248) [jbossweb-7.0.13.Final.jar:]
at
org.ovirt.engine.core.aaa.filters.SessionValidationFilter.doFilter(SessionV
alidationFilter.java:73) [aaa.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:248) [jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
ava:275) [jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
ava:161) [jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBas
e.java:489) [jbossweb-7.0.13.Final.jar:]
at
org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserV
alve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityCo
ntextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:15
5) [jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10
2) [jbossweb-7.0.13.Final.jar:]
at org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
a:109) [jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Htt
p11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
[jbossweb-7.0.13.Final.jar:]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
Caused by: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
at
org.ovirt.engine.ui.frontend.server.gwt.hibernate.ReflectionUtils.get(Refle
ctionUtils.java:51) [frontend.jar:]
at
org.ovirt.engine.ui.frontend.server.gwt.hibernate.HibernateCleaner.doClean(
HibernateCleaner.java:52) [frontend.jar:]
at
org.ovirt.engine.ui.frontend.server.gwt.hibernate.HibernateCleaner.processC
ollections(HibernateCleaner.java:76) [frontend.jar:]
at
org.ovirt.engine.ui.frontend.server.gwt.hibernate.HibernateCleaner.doClean(
HibernateCleaner.java:49) [frontend.jar:]
at
org.ovirt.engine.ui.frontend.server.gwt.hibernate.HibernateCleaner.doClean(
HibernateCleaner.java:26) [frontend.jar:]
at
org.ovirt.engine.ui.frontend.server.gwt.GenericApiGWTServiceImpl.runQuery(G
enericApiGWTServiceImpl.java:58) [frontend.jar:]
at
org.ovirt.engine.ui.frontend.server.gwt.GenericApiGWTServiceImpl.runMultipl
eQueries(GenericApiGWTServiceImpl.java:92) [frontend.jar:]
at sun.reflect.GeneratedMethodAccessor193.invoke(Unknown Source) [:1.7.0_79]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:43) [rt.jar:1.7.0_79]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_79]
at com.google.gwt.rpc.server.RPC.invokeAndStreamResponse(RPC.java:196)
[gwt-servlet.jar:]
... 51 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source) [:1.7.0_79]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:43) [rt.jar:1.7.0_79]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_79]
at
org.ovirt.engine.ui.frontend.server.gwt.hibernate.ReflectionUtils.get(Refle
ctionUtils.java:49) [frontend.jar:]
... 61 more
Caused by: java.lang.NullPointerException
at
org.ovirt.engine.core.common.businessentities.StorageDomain.getWarningLowSp
aceSize(StorageDomain.java:151) [common.jar:]
... 65 more
_______________________________________________
Devel mailing list
Devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel