Re: Problem using SwiXML in applets

[email protected] Mon, 27 Jun 2005 11:56:20 -0700
Newsgroups gmane.comp.embedded.carlsbad-cubes
Message-ID <[email protected]>
Dave,
Thanks for your message.
I will fix this in CVS tonight and make a new build available on the  
site shortly thereafter.

--
Wolf Paulus
707.202.3937
[email protected]

C a r l s b a d  C u b e s
Dedicated to Excellence

CONFIDENTIALITY NOTICE:
This message is intended only for the use of the individual or entity  
to which it is addressed, and may contain information that is  
privileged, confidential and exempt from disclosure under applicable  
law. If you are not the intended recipient, please contact the sender  
by reply email and destroy all copies of the original message.




On Jun 27, 2005, at 11:29 AM, [email protected] wrote:

> I've just upgraded a project I'm working on to the latest SwiXML  
> and found it now throws an exception when attempting to render the  
> UI. It looks like the applet is running in a restricted security  
> manager that is denying the call to setAccessible in the new code  
> for mapping to private members. In this case though all my fields  
> are actually public, so there is no need to call setAccessible, yet  
> SwiXML still does and evidently java doesn't check whether the  
> setAccessible is doing anything before it throws the security  
> exception.
>
> Dave
>
> Exception thrown:
>
>     * java.security.AccessControlException: access denied  
> (java.lang.reflect.ReflectPermission suppressAccessChecks)
>     * at java.security.AccessControlContext.checkPermission(Unknown  
> Source)
>     * at java.security.AccessController.checkPermission(Unknown  
> Source)
>     * at java.lang.SecurityManager.checkPermission(Unknown Source)
>     * at java.lang.reflect.AccessibleObject.setAccessible(Unknown  
> Source)
>     * at org.swixml.SwingEngine.mapMembers(Unknown Source)
>     * at org.swixml.SwingEngine.mapMembers(Unknown Source)
>     * at org.swixml.SwingEngine.insert(Unknown Source)
>     * at org.swixml.SwingEngine.insert(Unknown Source)
>     * at com.blueprintit.xui.UserInterface.buildUI 
> (UserInterface.java:111)
>     * at com.blueprintit.xui.UserInterface.<init> 
> (UserInterface.java:62)
>     * at com.blueprintit.webedit.WebEdit.init(WebEdit.java:44)
>     * at sun.applet.AppletPanel.run(Unknown Source)
>     * at java.lang.Thread.run(Unknown Source)
>
> --
> Mr. Dave Townsend MEng MIEE
> Director, Blueprint IT Ltd.
>
> Web: http://www.blueprintit.co.uk
> Tel: 029 2050 4006
>
>
> _______________________________________________
> Forum mailing list
> [email protected]
> http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com
>

_______________________________________________
Forum mailing list
[email protected]
http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com