Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 4.2.0.009
    • Fix Version/s: 4.3.0.000, 4.2.1.000
    • Labels:
    • Environment:

      Windows 7, 64bit, Railo 4.2.0.009 + Tomcat 7

      Description

      After applying patch 4.2.0.009, I get a NullPointerException when using cflog in Application.cfc's onApplicationStart method.

      cflog is used like this:

      <cffunction name="onApplicationStart" returntype="boolean" access="public" output="false">
        <!--- some other init code here --->
        <cflog type="information" application="true" text="myApp inited" />
      
        <cfreturn true />
      </cffunction>
      

      Details from Exception.log

      "ERROR","http-bio-8888-exec-3","05/16/2014","17:14:12","",";java.lang.NullPointerException;java.lang.NullPointerException
      	at railo.runtime.tag.Log.doStartTag(Log.java:197):197
      	at ccdb.application_cfc$cf.udfCall(/ccdb/Application.cfc:29):29
      	at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92
      	at railo.runtime.type.UDFImpl._call(UDFImpl.java:306):306
      	at railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207
      	at railo.runtime.ComponentImpl._call(ComponentImpl.java:623):623
      	at railo.runtime.ComponentImpl._call(ComponentImpl.java:506):506
      	at railo.runtime.ComponentImpl.call(ComponentImpl.java:1738):1738
      	at railo.runtime.listener.ModernAppListener.call(ModernAppListener.java:388):388
      	at railo.runtime.listener.ModernAppListener.onApplicationStart(ModernAppListener.java:266):266
      	at railo.runtime.PageContextImpl.initApplicationContext(PageContextImpl.java:2792):2792
      	at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:101):101
      	at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:18):18
      	at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2218):2218
      	at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2185):2185
      	at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:332):332
      	at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:29):29
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728):728
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305):305
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222):222
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123):123
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171):171
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99):99
      	at mod_cfml.core.invoke(core.java:131):131
      	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936):936
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118):118
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407):407
      	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004):1004
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589):589
      	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310):310
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source):-1
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source):-1
      	at java.lang.Thread.run(Unknown Source):-1
      "
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                jjannek Jan Jannek
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: