XMLBeans
  1. XMLBeans
  2. XMLBEANS-441

XmlBeans fails on Google app engine when logging an error

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: Version 2.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Applications using XMLBeans.jar and deployed on Google App Engine

      Description

      Hi,

      When XBeanDebug.logException(e) is invoked, XBeanDebug.log method tries to create a new temporary log file. GAE does not allow file creation and thus, throws java.lang.SecurityException. The method catches "IOException" but does not catch SecurityException and the code fails.

      Is it possible to bypass the creation of temp file when java.lang.SecurityException is thrown?

      Thanks
      galoch

        Activity

        Galoch created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Galoch
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development