Fatal Exception with Sloppy

121 views
Skip to first unread message

DJRavine

unread,
Apr 4, 2012, 9:41:19 PM4/4/12
to sloppy-...@googlegroups.com
Hi David,

I have been using this app for a while and now all of a sudden it has stopped working, i have a feeling its a security update issue.

Can you please have a look and see if its anything easily fixed.

TIA
DJRavine...



Exception Details Below.



----[ ERROR INFO ]-----------------


trusted loader attempted to load sandboxed resource from http://www.dallaway.com/sloppy/lib/swing-layout-1.0.3.jar



----[ LAUNCH FILE INFO ]-----------------

<jnlp spec="1.0+" codebase="http://www.dallaway.com/sloppy" href="sloppy.jnlp">
  <information>
    <title>Sloppy</title>
    <vendor>Richard Dallaway</vendor>
    <homepage href="index.html"/>
    <description>Sloppy allows you to similate different connection speeds.</description>
    <description kind="short">Sloppy simulates connection speeds</description>
    <description locale="bg">Sloppy позволява да симулирате различни скорости на dial-up връзка.</description>
    <description kind="short" locale="bg">Sloppy симулира dial-up скорости</description>
    <icon href="img/sloppy_logo.gif" width="133" height="134"/>
    <icon href="img/sloppy_32.gif" width="32" height="32"/>
    <icon href="img/sloppy_16.gif" width="16" height="16"/>
    <offline-allowed/>
  </information>
  <resources>
    <j2se version="1.5+"/>
    <jar href="sloppy.jar" main="true"/>
    <extension name="Swing Layout" href="swing-layout.jnlp"/>
  </resources>
  <application-desc main-class="com.dallaway.sloppy.Sloppy"/>
  <security>
    <all-permissions/>
  </security>
</jnlp>



----[ EXCEPTION INFO ]-----------------

java.lang.SecurityException: trusted loader attempted to load sandboxed resource from http://www.dallaway.com/sloppy/lib/swing-layout-1.0.3.jar
    at com.sun.deploy.security.CPCallbackHandler$ParentCallback.check(Unknown Source)
    at com.sun.deploy.security.CPCallbackHandler$ParentCallback.access$1500(Unknown Source)
    at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.dallaway.sloppy.Sloppy.main(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.javaws.Launcher.executeApplication(Unknown Source)
    at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

Richard Dallaway

unread,
Apr 5, 2012, 10:20:02 AM4/5/12
to Sloppy-discuss
Thanks for the report - I've just tried this on a Mac, and it ran OK
without error. What are you running on?


On Apr 5, 2:41 am, DJRavine <adan.reh...@gmail.com> wrote:
> Hi David,
>
> I have been using this app for a while and now all of a sudden it has
> stopped working, i have a feeling its a security update issue.
>
> Can you please have a look and see if its anything easily fixed.
>
> TIA
> DJRavine...
>
> *Exception Details Below.
>
> ----[ ERROR INFO ]-----------------*
>
> trusted loader attempted to load sandboxed resource from
>
> >http://www.dallaway.com/sloppy/lib/swing-layout-1.0.3.jar
>
> *----[ LAUNCH FILE INFO ]-----------------*
> *----[ EXCEPTION INFO ]-----------------*
>
> java.lang.SecurityException: trusted loader attempted to load sandboxed
>
>
>
>
>
>
>
> > resource fromhttp://www.dallaway.com/sloppy/lib/swing-layout-1.0.3.jar

johannes...@gmail.com

unread,
Aug 7, 2012, 5:34:38 AM8/7/12
to sloppy-...@googlegroups.com
I am getting the same error on Win 7 (Enterprise 64 bit). First Java complains about executing a mix of signed and unsigned code, then quits with above error.

Richard Dallaway

unread,
Aug 7, 2012, 6:39:14 AM8/7/12
to sloppy-...@googlegroups.com, johannes...@gmail.com
Thank you - I'll go and check on this.  Might take me a few hours, as I need to install Win 7 first...  I'll report back later.

Richard Dallaway

unread,
Sep 30, 2012, 2:41:28 PM9/30/12
to sloppy-...@googlegroups.com, johannes...@gmail.com
BTW, I did try this out with win7/IE9 which had Java 7 installed. But only the 32bit version not 64bit.  The dialogs that popup-ed up were confusing, but I didn't get the exception:

The first dialog was: the application's digital signature has an error.  Do you want to run the application (I selected "Run")

...then...

Java has discovered application components that could indicate a security concern.
Name: Sloppy
Block potentially unsafe components from being run?
(I selected "No")

...and it starts if you take that path.

I appreciate this is far, far from ideal, but not something I'm likely to resolve any time soon.

This is an open source project. If anyone wants to run with it to resolve the signature problems, that'd be wonderful.

Richard
Reply all
Reply to author
Forward
0 new messages