1 Reply Latest reply: May 3, 2013 8:59 AM by pchamoun RSS

    Illegal State Exception ; Resource resolver already closed

    Veena_07 Community Member

      Hi

       

           In my component I have a page resource. When I am trying to get the image resource of the same as below it is throwing me an Illegal State exception

       

       

      Resource resource = page.getContentResource(

      "image");

       

       

      My error stack trace is as follows

      Error.jpg

       

                       Eventhough i am not closing any resource ; it is giving me illegal state exception for the resource. Please help me in finding a solution for this.

       

       

      Thanks

       

      Veena