You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rohit Yadav (JIRA)" <ji...@apache.org> on 2019/02/01 08:34:00 UTC

[jira] [Commented] (CLOUDSTACK-10403) Cannot open console: ConsoleProxyServlet NullPointerException

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-10403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16758096#comment-16758096 ] 

Rohit Yadav commented on CLOUDSTACK-10403:
------------------------------------------

[~AndreaG.] please use Github issues to report issues, use of Jira is deprecated: [https://github.com/apache/cloudstack/issues]

Please check the console proxy related global settings and fix the appropriately if necessary. Next, make sure to destroy old CPVM (from 4.9.x systemvmtemplate) if not done already. Try this and keep us posted. If you can still reproduce the error, log the issue on github. Thanks.

> Cannot open console: ConsoleProxyServlet NullPointerException
> -------------------------------------------------------------
>
>                 Key: CLOUDSTACK-10403
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10403
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server, VNC Proxy
>    Affects Versions: 4.11
>         Environment: CentOS 7.6.1810, Cloudstack 4.11.2.0 installed from Shape Blue repository.
>            Reporter: Andrea Giorgi
>            Priority: Blocker
>
> I've upgraded CloudStack from version 4.9.3.1 to ver. 4.11.2.0 on CentOS 7.6.1810. I use VMWare as hypervisor with system VM images and CS package from Shape Blue.
>  Since the upgrade when I try to open an instance's console I get a "Server Internal Error" message inside the new window. In the management server log I'm getting this exception:
> ERROR [c.c.s.ConsoleProxyServlet] (qtp510113906-18:null) (logid:) Unexepected exception in ConsoleProxyServlet
>  java.lang.NullPointerException
>  at com.cloud.info.ConsoleProxyInfo.formatProxyAddress(ConsoleProxyInfo.java:59)
>  at com.cloud.info.ConsoleProxyInfo.<init>(ConsoleProxyInfo.java:40)
>  at com.cloud.consoleproxy.ConsoleProxyManagerImpl.assignProxy(ConsoleProxyManagerImpl.java:389)
>  at com.cloud.server.ManagementServerImpl.getConsoleProxyForVm(ManagementServerImpl.java:2274)
>  at com.cloud.server.ManagementServerImpl.getConsoleAccessUrlRoot(ManagementServerImpl.java:2305)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
>  at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
>  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
>  at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
>  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
>  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
>  at com.sun.proxy.$Proxy193.getConsoleAccessUrlRoot(Unknown Source)
>  at com.cloud.servlet.ConsoleProxyServlet.handleAccessRequest(ConsoleProxyServlet.java:275)
>  at com.cloud.servlet.ConsoleProxyServlet.doGet(ConsoleProxyServlet.java:188)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:686)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
>  at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:852)
>  at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535)
>  at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
>  at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
>  at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
>  at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190)
>  at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
>  at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
>  at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
>  at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
>  at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
>  at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
>  at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
>  at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
>  at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
>  at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:527)
>  at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
>  at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
>  at org.eclipse.jetty.server.Server.handle(Server.java:530)
>  at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:347)
>  at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:256)
>  at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
>  at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
>  at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
>  at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)
>  at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
>  at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
>  at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:382)
>  at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:708)
>  at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:626)
>  at java.lang.Thread.run(Thread.java:748)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)