https://issues.apache.org/bugzilla/show_bug.cgi?id=50435

           Summary: access denied (java.util.PropertyPermission
                    org.apache.fop.fo.properties.use-cache read)
           Product: Fop
           Version: 1.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: general
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: armin.h...@mercatis.com


when using fop 1.0 in java webstart (here java 1.6.0_22, under windows and
linux) it is not possible to render anything. We are getting always a
SecurityException (even if <all-permissions/> is activated in the jnlp.

outside of webstart everything works fine



21:35:53,218 DEBUG [org.apache.fop.fo.FOTreeBuilder] Building formatting object
tree
java.lang.ExceptionInInitializerError
    at
org.apache.fop.fo.expr.PropertyParser.parsePrimaryExpr(PropertyParser.java:324)
    at
org.apache.fop.fo.expr.PropertyParser.parseUnaryExpr(PropertyParser.java:214)
    at
org.apache.fop.fo.expr.PropertyParser.parseMultiplicativeExpr(PropertyParser.java:179)
    at
org.apache.fop.fo.expr.PropertyParser.parseAdditiveExpr(PropertyParser.java:153)
    at
org.apache.fop.fo.expr.PropertyParser.parseProperty(PropertyParser.java:127)
    at org.apache.fop.fo.expr.PropertyParser.parse(PropertyParser.java:93)
    at org.apache.fop.fo.properties.PropertyMaker.make(PropertyMaker.java:436)
    at
org.apache.fop.fo.properties.FontSizePropertyMaker.make(FontSizePropertyMaker.java:54)
    at
org.apache.fop.fo.PropertyList.convertAttributeToProperty(PropertyList.java:412)
    at
org.apache.fop.fo.PropertyList.addAttributesToList(PropertyList.java:305)
    at org.apache.fop.fo.FObj.processNode(FObj.java:119)
    at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:282)
    at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:171)
    at
com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:204)
    at
com.sun.org.apache.xml.internal.serializer.ToSAXHandler.flushPending(ToSAXHandler.java:277)
    at
com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.startElement(ToXMLSAXHandler.java:646)
    at
com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.startElement(ToXMLSAXHandler.java:508)
    at GregorSamsa.template$dot$0()
    at GregorSamsa.applyTemplates()
    at GregorSamsa.applyTemplates()
    at GregorSamsa.transform()
    at
com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:602)
    at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:709)
    at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:313)
    at 


Caused by: java.security.AccessControlException: access denied
(java.util.PropertyPermission org.apache.fop.fo.properties.use-cache read)
    at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
    at
java.security.AccessController.checkPermission(AccessController.java:546)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
    at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
    at java.lang.System.getProperty(System.java:686)
    at
org.apache.fop.fo.properties.PropertyCache.<init>(PropertyCache.java:284)
    at org.apache.fop.fo.properties.FixedLength.<clinit>(FixedLength.java:48)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to