User Tag List

Results 1 to 7 of 7

Thread: Creating Java Internet Applets?

  1. #1
    Clicker Multimedia Fusion 2
    Retriever2's Avatar
    Join Date
    Jun 2006
    Location
    United States
    Posts
    502
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Creating Java Internet Applets?

    I have the latest version of MMF2 Standard, but I've never been able to successfully run a built Java Internet Applet, whether I open it locally or upload it to web space. Even applications with no objects or events won't run. Java runtime is latest 1.6. Java console reports:

    Exception in thread "Thread-16" java.lang.NullPointerException
    at Application.CRunApp.load(Unknown Source)
    at Application.CApplet.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    So, the million dollar question: what am I doing wrong!?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Creating Java Internet Applets?

    Very strange.

  3. #3
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Burfelt's Avatar
    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    526
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Creating Java Internet Applets?

    Retriever2, can you give us some more information about your system specs?

    Also. If you could build a Java internet applet and upload it so we could take a look and see if it works here?

    This is a dumb question, but can you run other java apps on the internet that wasn't created in MMF?

  4. #4
    Clicker Multimedia Fusion 2
    Retriever2's Avatar
    Join Date
    Jun 2006
    Location
    United States
    Posts
    502
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating Java Internet Applets?

    http://taloncrossing.com/jblank.htm (this should just be a blank frame with a colored background. No extensions used.)

    I also tested it on my computer at work, but it also doesn't work there. But actually my work computer is pretty similar, with a slightly older Java runtime.

    What kinds of things would you like to know about my system? OS is Windows XP, SP3.

    I can run other java applets, like one embedded in an online email client, or the applet test page on Sun. But I've never tried running another MMF-built java applet, so I don't know if it's just what I'm building, or the MMF java runtime in general that is the problem.

  5. #5
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating Java Internet Applets?

    I get the same exception when trying to look at your applet's page, along with a FileNotFoundException:

    Code:
    java.io.FileNotFoundException: http://taloncrossing.com/lib/classes
    	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    	at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Unknown Source)
    	at sun.plugin.PluginURLJarFileCallBack.access$000(Unknown Source)
    	at sun.plugin.PluginURLJarFileCallBack$2.run(Unknown Source)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
    	at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
    	at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
    	at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
    	at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
    	at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
    	at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)
    	at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
    	at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
    	at sun.misc.URLClassPath$JarLoader.access$600(Unknown Source)
    	at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.misc.URLClassPath$JarLoader.ensureOpen(Unknown Source)
    	at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
    	at sun.misc.URLClassPath$3.run(Unknown Source)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.misc.URLClassPath.getLoader(Unknown Source)
    	at sun.misc.URLClassPath.getLoader(Unknown Source)
    	at sun.misc.URLClassPath.access$000(Unknown Source)
    	at sun.misc.URLClassPath$1.next(Unknown Source)
    	at sun.misc.URLClassPath$1.hasMoreElements(Unknown Source)
    	at java.net.URLClassLoader$3$1.run(Unknown Source)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader$3.next(Unknown Source)
    	at java.net.URLClassLoader$3.hasMoreElements(Unknown Source)
    	at sun.misc.CompoundEnumeration.next(Unknown Source)
    	at sun.misc.CompoundEnumeration.hasMoreElements(Unknown Source)
    	at sun.misc.Service$LazyIterator.hasNext(Unknown Source)
    	at com.sun.media.sound.JSSecurityManager$7.run(Unknown Source)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at com.sun.media.sound.JSSecurityManager.getProviders(Unknown Source)
    	at com.sun.media.sound.JDK13Services.getProviders(Unknown Source)
    	at javax.sound.midi.MidiSystem.getProviders(Unknown Source)
    	at javax.sound.midi.MidiSystem.getMidiDeviceProviders(Unknown Source)
    	at javax.sound.midi.MidiSystem.getDefaultDevice(Unknown Source)
    	at javax.sound.midi.MidiSystem.getDefaultDeviceWrapper(Unknown Source)
    	at javax.sound.midi.MidiSystem.getSequencer(Unknown Source)
    	at javax.sound.midi.MidiSystem.getSequencer(Unknown Source)
    	at Application.CMusicPlayer.<init>(Unknown Source)
    	at Application.CRunApp.load(Unknown Source)
    	at Application.CApplet.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    network: Cache entry not found [url: http://taloncrossing.com/lib/classes, version: null]
    network: Connecting http://taloncrossing.com/lib/classes with proxy=DIRECT
    network: Connecting http://taloncrossing.com:80/ with proxy=DIRECT
    Exception in thread "Thread-12" java.lang.NullPointerException
    	at Application.CRunApp.load(Unknown Source)
    	at Application.CApplet.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    With no music in the application, I'm not sure why the MusicPlayer class is getting involved.

  6. #6
    Clicker Multimedia Fusion 2
    Retriever2's Avatar
    Join Date
    Jun 2006
    Location
    United States
    Posts
    502
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating Java Internet Applets?

    I'm sorry, this turned out to be a false alarm. I was so positive I was patched to the latest beta, but I actually had to back-rev a little while ago during some drive trouble, and I didn't realize I lost the patch.

    Fun fact: Double-checking the obvious could have saved Three Mile Island from a quasi-meltdown, too!

  7. #7
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating Java Internet Applets?

    All right Good to know you got it working.

Similar Threads

  1. java applets
    By tourmaline in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 9th October 2006, 11:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •