2 Replies Latest reply on Nov 23, 2010 12:19 PM by gremuk

    No Such Device Error EntityLoad - output


      Getting an odd error 'No such device' on CF9.1 @ Linux Server

      Error refers to:




      on Linux?


      No such device

      ColdFusion cannot determine the line of the template that caused this error. This is often caused by an error in the exception handling subsystem.



      Browser  Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.11 (KHTML, like Gecko) Chrome/9.0.570.1 Safari/534.11
      Remote Address
      Date/Time  23-Nov-10 02:53 PM
      Stack Trace
      at cfdump2ecfm1346696724._factor1(C:\work\ColdFusion\cf9_u1_final_hotfix\cfusion\wwwroot\WEB -INF\cftags\dump.cfm) at cfdump2ecfm1346696724._factor4(C:\work\ColdFusion\cf9_u1_final_hotfix\cfusion\wwwroot\WEB -INF\cftags\dump.cfm) at cfcat2ecfm2074738090.runPage(/var/www/walks/story.cfm:27)




      Modified from:  http://www.manjukiran.net/2009/07/14/101/


      stories = EntityLoad( "Story");


      for (i=1; i<ArrayLen(stories);i++) {


          storyObj = stories[i];


           WriteOutput("Story ID: " & storyObj.getStoryID() & "<br>");

           WriteOutput("Story Title: " & storyObj.getStoryTitle() & " <br>");

           WriteOutput(" <br>");





      <cfdump var="#stories#"/>




      2 array items and 3 'dump items'


      Story ID: 1
      Story Title: A return to Forbidden Britain


      Story ID: 2
      Story Title: The Countryside Code


      1[undefined array element] No such device
      2[undefined array element] No such device
      3[see cfc6 for Story details]




      Trying to fix triggers error above


      Very Strange

        • 1. Re: No Such Device Error EntityLoad - output
          Sam Farmer

          That error means something went wrong in the cfdump output.


          Can you post the code for the Story.cfc?

          • 2. Re: No Such Device Error EntityLoad - output
            gremuk Level 1

            Hello Sam


            Thanks for reply


            Object of type 'class coldfusion.orm.PersistentTemplateProxy' cannot be used as an array Came up


            - a little clearer - if I knew what 'class coldfusion.orm.PersistentTemplateProxy' was!


            The code is wrapped in Model-Glue - so code post would not be helpful -


            a  <message name="ModelGlue.genericRead"> call in ModelGlue.xml


            I've bypassed and rolled in EntityLoad - sick of hitting my head here


            The windows C:\  path spooked me a bit - I'll post problem to Model Glue forum


            Once again


            Many thanks