Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-441

XmlBeans fails on Google app engine when logging an error

    Details

    • Type: Bug
    • Status: Open
    • Priority: 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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: