tracker issue : CF-4203274

select a category, or use search below
(searches all categories and all time range)
Title:

ColdFusion Administrator 2016 throws Nullpointer exception on Menu: Websocket

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/BugVerified

Reporter/Name(from Bugbase): Oliver Neumann / ()

Created: 08/16/2018

Components: Web Socket, WebSocket Proxy

Versions: 2016

Failure Type: Non Functioning

Found In Build/Fixed In Build: 2016,0,06,308055 /

Priority/Frequency: Minor / All users will encounter

Locale/System: German / Win 2012 Server x64

Vote Count: 0

Problem Description:

After a Fresh install of (4) ColdFusion 2016 on Windows Server 2012 by clicking on Websocket in ColdFusion Administrator, we get a Null Pointer Exception see below. (Updater 6 applied)

Steps to Reproduce:

Install ColdFusion 2016 with Installer, On Screen Configure Web Servers/Websites choose All IIS Websites and select checkbox: "Configure WebSocket Proxy for selected server/websites"

Actual Result:
websocket.xml will be empty. Error:

java.lang.NullPointerException
                 at coldfusion.tagext.net.websocket.WebSocketServiceImpl.isWebSocketServerRunning(WebSocketServiceImpl.java:325)
                 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 coldfusion.runtime.StructBean.invoke(StructBean.java:508)
                 at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3166)
                 at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3074)
                 at cfwebsocket2ecfm1645150724._factor11(/CFIDE/administrator/settings/websocket.cfm:74)
                 at cfwebsocket2ecfm1645150724.runPage(/CFIDE/administrator/settings/websocket.cfm:1)
                 at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:253)
                 at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:737)
                 at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:573)
                 at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
                 at coldfusion.filter.IpFilter.invoke(IpFilter.java:45)
                 at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:505)
                 at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:43)
                 at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
                 at coldfusion.filter.PathFilter.invoke(PathFilter.java:153)
                 at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:30)
                 at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
                 at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
                 at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
                 at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:60)
                 at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
                 at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
                 at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
                 at coldfusion.CfmServlet.service(CfmServlet.java:219)
                 at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
                 at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
                 at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
                 at coldfusion.inspect.weinre.MobileDeviceDomInspectionFilter.doFilter(MobileDeviceDomInspectionFilter.java:121)
                 at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
                 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
                 at coldfusion.filter.ClickjackingProtectionFilter.doFilter(ClickjackingProtectionFilter.java:75)
                 at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
                 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
                 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
                 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
                 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
                 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357)
                 at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
                 at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
                 at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
                 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
                 at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
                 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
                 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                 at java.lang.Thread.run(Thread.java:748

Expected Result:

websocket Menu should be available

Any Workarounds:

do not check the option: "Configure WebSocket Proxy for selected server/websites"
applying a working websocket.xml will not fix the issue.

Is there any other possibility to revoke this setting without reinstalling the ColdFusion Server?

Attachments:

Comments:

Hi Oliver,   Can you follow the below steps? # Replace the neo-websocket.xml with a working copy? Make sure the proxy port in this file is similar to the proxy port being seen when wsproxyconfig tool is run # Restart ColdFusion   Thanks, Kailash
Comment by Kailash B.
29555 | August 21, 2018 05:48:30 AM GMT
Yes, worked. The ColdFusion Server has to be restarted directly after replacing the neo-websocket.xml. If Websocket Menu is selected before Restart, neo-websocket.xml goes blank again.
Comment by Oliver N.
29571 | August 21, 2018 09:02:19 AM GMT
Hi Adobe, I see this ticket is marked "BugVerified/Won't Fix". You verified the issue (CF installer's "Configure WebSocket Proxy for selected server/websites" creates invalid neo-websocket.xml), but won't fix? Thanks!, -Aaron
Comment by Aaron N.
31318 | September 11, 2019 07:41:32 AM GMT