Uploaded image for project: 'Lucee Development'
  1. LDEV-827

cfdocument throws java.lang.NoSuchMethodException when used

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: New
    • Resolution: Fixed
    • Affects Version/s: 5.0.0.235
    • Fix Version/s: 5.0.0.248
    • Labels:
    • Environment:

      Ubuntu 14.04.4

      Description

      The cfdocument tag, while it seems to work (PDF's are generated and returned to the browser), also throws a `java.lang.NoSuchMethodException` with `lucee.runtime.writer.CFMLWriterImpl.getRootOut(boolean)`. I see this error when using the `onError()` method of `Application.cfc`.

      I can reproduce this with the following two files:

      Application.cfc
      component {
      
      	function onError( exception ) {
      		fileWrite('error.txt', serializeJSON(exception));
      	}
      
      }
      
      index.cfm
      <cfdocument></cfdocument>
      

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              jberquist John Berquist
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: