New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Applets exported by PDE don't find data folder in 1.5 #705
Comments
From juan.elo...@gmail.com on May 10, 2011 21:32:51 |
From ra...@usp.br on May 12, 2011 18:45:55 |
From drajma...@gmail.com on May 15, 2011 05:40:19 However, applets from the same sketch work fine when exported from the MacOSX version of Processing 1.5 (MacBook Pro with factory Snow Leopard 10.6.3 installation). |
From drajma...@gmail.com on May 15, 2011 05:57:40 |
From f...@processing.org on May 15, 2011 20:50:54 And if not, can you rename the .jar file as .zip and then take a look to see if the vlw file is in there? and whether there's a subfolder called 'data' inside? |
From f...@processing.org on May 15, 2011 20:56:11 |
From f...@processing.org on May 15, 2011 21:32:46 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Original author: PhiLho....@gmail.com (May 07, 2011 17:45:26)
Processing 1.5, Windows 7, Java 1.6.0_25
If I export an applet with Processing 1.5 and if this applet must load a resource from the data folder, for example a .vlw font, it fails with the following exception:
java.lang.NullPointerException
at java.io.DataInputStream.readInt(Unknown Source)
at processing.core.PFont.<init>(Unknown Source)
at processing.core.PApplet.loadFont(Unknown Source)
at DelaunayTriangles.setup(DelaunayTriangles.java:38)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "Animation Thread" java.lang.RuntimeException: Could not load font AmericanTypewriter-24.vlw. Make sure that the font has been copied to the data folder of your sketch.
at processing.core.PApplet.die(Unknown Source)
at processing.core.PApplet.die(Unknown Source)
at processing.core.PApplet.loadFont(Unknown Source)
at DelaunayTriangles.setup(DelaunayTriangles.java:38)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
The same applet exported with 1.2.1 works fine.
Original issue: http://code.google.com/p/processing/issues/detail?id=666
The text was updated successfully, but these errors were encountered: