Hello,

I've been experiencing some odd stuff. I'm trying to utilize web sockets to 
push some data to helpdesk staff when new tickets are being created (I want 
to use web sockets to do this). If i use the JS functions to publish 
everything works fine but i'm using client side JS to do this. I want to be 
able to create a ticket via cfc and then just simply run 
WSPublish('myChannel,'myMsg'); This seems to work fine if i call a page 
directly. for instance if my form is calling views/debug.cfm directly 
(where the logic is placed in there to save ticket but main point is the 
WSPublish()) everything works as it should. Now if i have a form calling a 
page like index.cfm?event=process.form (using machii frame work) the 
message will still get published to the clients however CF will throw an 
error about at NULL java pointer. I have tried wrapping the WSPublish in 
try/catch but an error still gets thrown. I have not tried to run the 
WSPublish method with a listener (i'm not sure if that will make a 
difference) I'm using Machii 1.9 (not sure which build) and wanted to know 
if anyone else has encounter the same issue and how you've solved the 
issue. Is this even a machii issue? I'm running Adobe's CF 10 enterprise 
with the latest updates (no update in the manager)

Error is below

The system has attempted to use an undefined value, which usually indicates 
a programming error, either in your code or some system code.

Null Pointers are another name for undefined values.
 Resources:
   
   - Check the ColdFusion documentation <http://www.adobe.com/go/prod_doc> to 
   verify that you are using the correct syntax.
   - Search the Knowledge Base <http://www.adobe.com/go/prod_support/> to 
   find a solution to your problem.

Browser  Remote Address  Referrer  Date/Time  06-Jul-12 01:08 PMStack Trace

java.lang.NullPointerException
        at coldfusion.filter.IpFilter.checkAdminAccess(IpFilter.java:78)
        at coldfusion.filter.IpFilter.invoke(IpFilter.java:62)
        at 
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:422)
        at 
coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
        at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
        at coldfusion.filter.PathFilter.invoke(PathFilter.java:112)
        at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
        at 
coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79)
        at 
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
        at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
        at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
        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.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:151)
        at coldfusion.CfmServlet.service(CfmServlet.java:204)
        at 
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        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:243)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)
        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:203)
        at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
        at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)

-- 
To post to this group, send email to [email protected]
For more options and to unsubscribe, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/

Reply via email to