[jdom-interest] Help! SAXParserFactory causing Security exception in Microsoft Java VM

Jake Latham jlatham at rockysoft.com
Mon Jan 14 08:11:36 PST 2002


Søren - 

Thanks for the URL...gah!  Wish there was a solution, but ah well...

sorry for the double post - I think my original was sent from a non-list address.

-J
  ----- Original Message ----- 
  From: Søren Arleth 
  To: Jake Latham 
  Cc: jdom-interest at jdom.org 
  Sent: Saturday, January 12, 2002 7:50 AM
  Subject: Re: [jdom-interest] Help! SAXParserFactory causing Security exception in Microsoft Java VM


  Hi Jake,
  you should take a look at:
  http://support.microsoft.com/default.aspx?scid=kb;EN-US;q175622
  It gives a detailed description about your problem.
  Bottom line is that you must sign your applet.

  cheers
  Søren

-- 
___________________________________
Søren Arleth - Oracle Denmark
SME Java Development
EMEA Java/XML Professional Community



  Jake Latham wrote:

    Hiya all, I'm really hoping you can offer me a hand with this problem.

    I'm having a problem with SAXParserFactory causing a security exception in
    Microsoft Internet Explorer, using JDOM b7.

    here is the error string it spits out:

    String...com.ms.security.SecurityExceptionEx[javax/xml/parsers/SAXParserFact
    ory.newInstance]: Unable to access system property:
    javax.xml.parsers.SAXParserFactory
     at com/ms/security/permissions/PropertyPermission.check
    (PropertyPermission.java)
     at com/ms/security/PolicyEngine.shallowCheck (PolicyEngine.java)
     at com/ms/security/PolicyEngine.checkCallersPermission (PolicyEngine.java)
     at com/ms/security/StandardSecurityManager.chk
    (StandardSecurityManager.java)
     at com/ms/security/StandardSecurityManager.checkPropertyAccess
    (StandardSecurityManager.java)
     at java/lang/System.getProperty (System.java)
     at javax/xml/parsers/SAXParserFactory.newInstance
    (SAXParserFactory.java:139)
     at java/lang/reflect/Method.invoke (Method.java)
     at org/jdom/input/SAXBuilder.createParser (SAXBuilder.java)
     at org/jdom/input/SAXBuilder.build (SAXBuilder.java)
     at org/jdom/input/SAXBuilder.build (SAXBuilder.java)
     at aim/AIMPanel.parseXML (AIMPanel.java:673)
     at aim/AIMPanel.serverCall (AIMPanel.java:486)
     at aim/LogicalAIM.<init> (LogicalAIM.java:62)
     at aim/AIMPanel.customInitialize (AIMPanel.java:1595)
     at shout3d/Shout3DPanel.n (Shout3DPanel.java)
     at shout3d/Shout3DPanel.run (Shout3DPanel.java)
     at java/lang/Thread.run (Thread.java)

    Using Microsoft's 5.0.0.3802 VM, this error results in a NullPointer
    Exception further down, causing the app to quit.

    in 5.0.0.3310, it reports the error but continues to run.

    in 5.0.0.3234, no errors are reported at all.

    Do you guys have any idea what's going on and why, and what I might be able
    to do to correct this?

    Any help is greatly appreciated...

    -J






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20020114/4392c0bb/attachment.htm


More information about the jdom-interest mailing list