JiBX
  1. JiBX
  2. JIBX-190

java.security.AccessControlException in Applet

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JiBX 1.1.5
    • Fix Version/s: JiBX 1.1.6
    • Component/s: core
    • Labels:
      None
    • Environment:
      Ubuntu and Red Hat Linux, Windows XP
    • Number of attachments :
      0

      Description

      In version 1.1.5 on line 64 of UnmarshallingContext.java, the line 'String prop = System.getProperty("org.jibx.runtime.impl.parser");' throws a java security access exception when executed from within an applet and is not being caught. This did not happen in version 1.0 - the exception was being caught and ignored.

      A solution to this problem would be having all users of the applet open up their java policies to allow reading of system properties; this however is very inconvenient and not an viable solution in our case.

        Activity

        Hide
        Dennis Sosnoski added a comment -

        Added a try-catch around the offending line.

        Show
        Dennis Sosnoski added a comment - Added a try-catch around the offending line.
        Dennis Sosnoski made changes -
        Field Original Value New Value
        Fix Version/s JiBX 1.1.6 [ 14068 ]
        Assignee Dennis Sosnoski [ dsosnoski ]
        Fix Version/s JiBX 1.1.5 [ 13506 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Dennis Sosnoski made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Dennis Sosnoski
            Reporter:
            Mike Baluch
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: