[ovirt-users] OVirt 3.6.2 -> NPE while clicking on "Setup Host Networks"
Martin Mucha
mmucha at redhat.com
Thu Jan 28 09:46:30 UTC 2016
ok, thanks. Just o inform you — so far it seems there is inconsistency in assumptions of what can be nullable and what can not. We just need to decide which approach is correct and fix rest.
M.
----- Original Message -----
> Hi Martin,
>
> please let me know I can help.
>
> Best regards
> Christoph
>
> Am 28.01.2016 um 09:04 schrieb Martin Mucha:
> > I think this issue is real and it seems to be caused by unboxing of
> > nullvalued integer obtained from function
> > org.ovirt.engine.core.common.businessentities.HostDevice#getTotalVirtualFunctions
> >
> > M.
> >
> > ----- Original Message -----
> >> Hi List,
> >>
> >> I update my OVirt 3.6.1 installation to 3.6.2 this morning.
> >> After the reboot of the server the interface numbering wasn't the same
> >> so I had to change some cable to have them connected to the right
> >> configuration.
> >>
> >> Everything looks OK but I receive a null pointer exception while
> >> clicking on "Setup Host Networks" of my engine/host server.
> >>
> >> Any help is more then welcome!!
> >>
> >> Best regards
> >> Christoph
> >>
> >> 2016-01-27 19:04:47,738 ERROR
> >> [org.ovirt.engine.core.bll.network.host.GetAllVfsConfigByHostIdQuery]
> >> (default task-482) [] Exception: java.lang.NullPointerException
> >> at
> >> org.ovirt.engine.core.bll.network.host.NetworkDeviceHelperImpl.getMaxNumOfVfs(NetworkDeviceHelperImpl.java:172)
> >> [bll.jar:]
> >> at
> >> org.ovirt.engine.core.bll.network.host.NetworkDeviceHelperImpl.updateVfsConfigWithNumOfVfsData(NetworkDeviceHelperImpl.java:136)
> >> [bll.jar:]
> >> at
> >> org.ovirt.engine.core.bll.network.host.NetworkDeviceHelperImpl.getHostNicVfsConfigsWithNumVfsDataByHostId(NetworkDeviceHelperImpl.java:121)
> >> [bll.jar:]
> >> at
> >> org.ovirt.engine.core.bll.network.host.GetAllVfsConfigByHostIdQuery.executeQueryCommand(GetAllVfsConfigByHostIdQuery.java:19)
> >> [bll.jar:]
> >> at
> >> org.ovirt.engine.core.bll.QueriesCommandBase.executeCommand(QueriesCommandBase.java:82)
> >> [bll.jar:]
> >> at
> >> org.ovirt.engine.core.dal.VdcCommandBase.execute(VdcCommandBase.java:33)
> >> [dal.jar:]
> >> at
> >> org.ovirt.engine.core.bll.Backend.runQueryImpl(Backend.java:537)
> >> [bll.jar:]
> >> at org.ovirt.engine.core.bll.Backend.runQuery(Backend.java:511)
> >> [bll.jar:]
> >> at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
> >> [:1.8.0_71]
> >> at
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >> [rt.jar:1.8.0_71]
> >> at java.lang.reflect.Method.invoke(Method.java:497)
> >> [rt.jar:1.8.0_71]
> >> at
> >> org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
> >> at
> >> org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)
> >> at
> >> org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:70)
> >> [wildfly-weld-8.2.1.Final.jar:8.2.1.Final]
> >> at
> >> org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:80)
> >> [wildfly-weld-8.2.1.Final.jar:8.2.1.Final]
> >> at
> >> org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93)
> >> [wildfly-weld-8.2.1.Final.jar:8.2.1.Final]
> >> at
> >> org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)
> >> at
> >> org.ovirt.engine.core.bll.interceptors.CorrelationIdTrackerInterceptor.aroundInvoke(CorrelationIdTrackerInterceptor.java:13)
> >> [bll.jar:]
> >> at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
> >> [:1.8.0_71]
> >> at
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >> [rt.jar:1.8.0_71]
> >> at java.lang.reflect.Method.invoke(Method.java:497)
> >> [rt.jar:1.8.0_71]
> >> at
> >> org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptor.java:89)
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
> >> at
> >> org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
> >> [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)
> >> at
> >> org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:55)
> >> [weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]
> >> at
> >> org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83)
> >> [wildfly-weld-8.2.1.Final.jar:8.2.1.Final]
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
> >> [wildfly-ee-8.2.1.Final.jar:8.2.1.Final]
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
> >> at
> >> org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.as.ejb3.component.singleton.SingletonComponentInstanceAssociationInterceptor.processInvocation(SingletonComponentInstanceAssociationInterceptor.java:52)
> >> [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:260)
> >> [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]
> >> at
> >> org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:399)
> >> [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]
> >> at
> >> org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:243)
> >> [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
> >> [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43)
> >> [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:95)
> >> [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
> >> [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
> >> [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326)
> >> at
> >> org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:448)
> >> at
> >> org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326)
> >> at
> >> org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
> >> at
> >> org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:185)
> >> at
> >> org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182)
> >> at
> >> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >> at
> >> org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
> >> at
> >> org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
> >> at
> >> org.ovirt.engine.core.common.interfaces.BackendLocal$$$view4.runQuery(Unknown
> >> Source) [common.jar:]
> >> at
> >> org.ovirt.engine.ui.frontend.server.gwt.GenericApiGWTServiceImpl.runQuery(GenericApiGWTServiceImpl.java:56)
> >> at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown
> >> Source) [:1.8.0_71]
> >> at
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >> [rt.jar:1.8.0_71]
> >> at java.lang.reflect.Method.invoke(Method.java:497)
> >> [rt.jar:1.8.0_71]
> >> at
> >> com.google.gwt.rpc.server.RPC.invokeAndStreamResponse(RPC.java:196)
> >> at
> >> com.google.gwt.rpc.server.RpcServlet.processCall(RpcServlet.java:172)
> >> at
> >> com.google.gwt.rpc.server.RpcServlet.processPost(RpcServlet.java:233)
> >> at
> >> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
> >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> >> [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
> >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> >> [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
> >> at
> >> io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
> >> at
> >> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)
> >> at
> >> org.ovirt.engine.core.utils.servlet.HeaderFilter.doFilter(HeaderFilter.java:94)
> >> [utils.jar:]
> >> at
> >> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> >> at
> >> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> >> at
> >> org.ovirt.engine.ui.frontend.server.gwt.GwtCachingFilter.doFilter(GwtCachingFilter.java:132)
> >> at
> >> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> >> at
> >> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> >> at
> >> org.ovirt.engine.core.branding.BrandingFilter.doFilter(BrandingFilter.java:73)
> >> [branding.jar:]
> >> at
> >> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> >> at
> >> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> >> at
> >> org.ovirt.engine.core.utils.servlet.LocaleFilter.doFilter(LocaleFilter.java:65)
> >> [utils.jar:]
> >> at
> >> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> >> at
> >> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> >> at
> >> org.ovirt.engine.core.aaa.filters.SessionMgmtFilter.doFilter(SessionMgmtFilter.java:31)
> >> [aaa.jar:]
> >> at
> >> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> >> at
> >> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> >> at
> >> org.ovirt.engine.core.aaa.filters.LoginFilter.doFilter(LoginFilter.java:75)
> >> [aaa.jar:]
> >> at
> >> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> >> at
> >> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> >> at
> >> org.ovirt.engine.core.aaa.filters.NegotiationFilter.doFilter(NegotiationFilter.java:113)
> >> [aaa.jar:]
> >> at
> >> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> >> at
> >> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> >> at
> >> org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:90)
> >> [aaa.jar:]
> >> at
> >> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> >> at
> >> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> >> at
> >> org.ovirt.engine.core.aaa.filters.SessionValidationFilter.doFilter(SessionValidationFilter.java:77)
> >> [aaa.jar:]
> >> at
> >> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> >> at
> >> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> >> at
> >> io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
> >> at
> >> io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
> >> at
> >> io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
> >> at
> >> org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
> >> at
> >> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> >> at
> >> io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
> >> at
> >> io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
> >> at
> >> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> >> at
> >> io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)
> >> at
> >> io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
> >> at
> >> io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
> >> at
> >> io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)
> >> at
> >> io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
> >> at
> >> io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)
> >> at
> >> io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
> >> at
> >> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> >> at
> >> org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
> >> at
> >> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> >> at
> >> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> >> at
> >> io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261)
> >> at
> >> io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:248)
> >> at
> >> io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:77)
> >> at
> >> io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:167)
> >> at
> >> io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
> >> at
> >> io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:761)
> >> at
> >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> >> [rt.jar:1.8.0_71]
> >> at
> >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> >> [rt.jar:1.8.0_71]
> >> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_71]
> >>
> >> _______________________________________________
> >> Users mailing list
> >> Users at ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >>
>
>
More information about the Users
mailing list