Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (481)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (547)
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 4393 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 15: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 20:39:58 »

Try including a codebase attribute.
Offline Karmington

Senior Member


Medals: 1
Projects: 1


Co-op Freak


« Reply #2 - Posted 2009-11-05 22: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!
Legends of Yore - The Casual Retro Roguelike
Offline pjt33
« Reply #3 - Posted 2009-11-06 07: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 11: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 13: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.

 

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

The first screenshot will be displayed as a thumbnail.

atombrot (26 views)
2014-08-19 09:29:53

Tekkerue (24 views)
2014-08-16 06:45:27

Tekkerue (23 views)
2014-08-16 06:22:17

Tekkerue (13 views)
2014-08-16 06:20:21

Tekkerue (20 views)
2014-08-16 06:12:11

Rayexar (58 views)
2014-08-11 02:49:23

BurntPizza (38 views)
2014-08-09 21:09:32

BurntPizza (30 views)
2014-08-08 02:01:56

Norakomi (37 views)
2014-08-06 19:49:38

BurntPizza (67 views)
2014-08-03 02:57:17
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
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!