Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  "make sure the file exists and check if "codebase" and "href" in the JNLP..."  (Read 2799 times)
0 Members and 1 Guest are viewing this topic.
Offline Karmington

Senior Member


Medals: 1
Projects: 1


Co-op Freak


« Posted 2009-11-05 16:00:05 »

getting odd situation here: the game works on other computers, but
mine is stuck with this error message:
1  
2  
3  
4  
5  
6  
7  
8  
Ignored exception: java.lang.NullPointerException
Ignored exception: java.lang.NullPointerException
exception: JNLP file error: slicks.jnlp. Please make sure the file exists and check if "codebase" and "href" in the JNLP file are correct..
java.io.FileNotFoundException: JNLP file error: slicks.jnlp. Please make sure the file exists and check if "codebase" and "href" in the JNLP file are correct.
   at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
   at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Exception: java.io.FileNotFoundException: JNLP file error: slicks.jnlp. Please make sure the file exists and check if "codebase" and "href" in the JNLP file are correct.


I'm trying to clear browser caches, Java caches, this happens both in Firefox and Google Chrome so it shouldn't be the browser.
Java cache shows as being emptied but i am getting suspicious. Tried a clean boot, no help.
What's up I wonder, wasted the whole day banging my head on this one...
Also exactly the same program, with different paths in the html and jnlp file work just fine on another server.
It's a big wtf...
[EDIT] fragme, it's now on both my home computer and work computer, but still works on others.... what on earth have i done wrong?
here's the jnlp file..
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
<?xml version="1.0" encoding="utf-8"?>
<jnlp href="slicks.jnlp">
  <information>
    <title>Slicks and Slide TE</title>
    <vendor>BlueBerry Finn.</vendor>
    <homepage href="http://ottawa.vps.kotisivut.com"/>
    <description>Slicks applet</description>
    <description kind="short">Slicks and slides.</description>
    <icon kind="splash" href="logo.gif"/>
    <offline-allowed/>
  </information>

    <resources>
      <j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>
      <property name="sun.java2d.noddraw" value="true"/>
      <jar href="http://download.java.net/media/joal/webstart/joal.jar"/>
      <jar href="http://ottawa.vps.kotisivut.com/dev/applet/lib/j-ogg-oggd.jar"/>
      <jar href="http://ottawa.vps.kotisivut.com/dev/applet/lib/j-ogg-vorbisd.jar"/>
      <jar href="slicks.jar" main="true"/>
      <extension name="joal.jnlp" href=" http://download.java.net/media/joal/webstart/joal.jnlp" />
    </resources>

  <applet-desc
      name="Slicks-applet"
      main-class="applet.SlicksAppletPop"
      width="1024"
      height="576">
  </applet-desc>
</jnlp>


Offline pjt33
« Reply #1 - Posted 2009-11-05 21:39:58 »

Try including a codebase attribute.
Offline Karmington

Senior Member


Medals: 1
Projects: 1


Co-op Freak


« Reply #2 - Posted 2009-11-05 23:46:37 »

added <jnlp codebase="http://ottawa.vps.kotisivut.com/dev/applet"
    href="slicks.jnlp">

still no dice.. I don't quite understand where to look for the problem - everything was fine and working, i made no changes, suddenly pox,
about after the Java Update... thinking of checking that as well, downloading the previous update. [EDIT] tried that, no dice. This is so frustrating, one of those things I know I could just work around with the backup server but it's killing me not to see it on the live one... The other developers don't report any problem. *grey hairs*

Made a test, just moved the whole shebang up one folder, tested again, works. Only change is removed the dev/ from the html and jnlp files. What the spoo?
since this happened to the main page also,it doesn't solve the problem..

Games published by our own members! Check 'em out!
Try the Free Demo of Droid Assault
Offline pjt33
« Reply #3 - Posted 2009-11-06 08:47:30 »

Some weird caching issue? If you clear your webstart cache locally does that help?
Offline broumbroum

Junior Member





« Reply #4 - Posted 2009-11-06 12:28:13 »

added <jnlp codebase="http://ottawa.vps.kotisivut.com/dev/applet"
    href="slicks.jnlp">
(...)
add a trailing slash !
1  
2  
<jnlp codebase="http://ottawa.vps.kotisivut.com/dev/applet/"
    href="slicks.jnlp">

I got the message : Authorization Required with firefox.

::::... :..... :::::: ;;;:::™ b23:production 2006 GNU/GPL @ http://b23prodtm.webhop.info
on sf.net: /projects/sf3jswing
Java (1.6u10 plz) Web Start pool
dev' VODcast[/ur
Offline Karmington

Senior Member


Medals: 1
Projects: 1


Co-op Freak


« Reply #5 - Posted 2009-11-06 14:55:56 »

Added trailing slash, no difference.

I think Java cache is the problem, but ControlPanel->Java->Temporary Internet Files->Settings->DeleteFiles does not help,
and the View is empty after doing it. However, if I check the contents of the cache folder there is a lot of junk there.
Is it safe to wipe it all?

this version ( no authorization password ) http://test.digitalfootmark.com/slicks/applet/test.html
works fine, and is to all purposes identical, except it is testing the undecorated mode which is still buggy.

http://ottawa.vps.kotisivut.com/dev/applet/test.html works for everybody else, but mine is stuck.
Since we are almost due to release I will now reveal the password, and change it next week.
It is only read access password, not full access, so no security stress issue.
user: aku
pass: ankka
(donald duck in finnish )

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (76 views)
2013-05-17 21:29:12

alaslipknot (89 views)
2013-05-16 21:24:48

gouessej (118 views)
2013-05-16 00:53:38

gouessej (113 views)
2013-05-16 00:17:58

theagentd (125 views)
2013-05-15 15:01:13

theagentd (112 views)
2013-05-15 15:00:54

StreetDoggy (156 views)
2013-05-14 15:56:26

kutucuk (178 views)
2013-05-12 17:10:36

kutucuk (178 views)
2013-05-12 15:36:09

UnluckyDevil (186 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.088 seconds with 20 queries.