Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (549)
Games in Android Showcase (139)
games submitted by our members
Games in WIP (593)
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 4915 times)
0 Members and 1 Guest are viewing this topic.
Offline Karmington

Senior Devvie

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:
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.. 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$ Source)
   at Source)
Exception: 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..
<?xml version="1.0" encoding="utf-8"?>
<jnlp href="slicks.jnlp">
    <title>Slicks and Slide TE</title>
    <vendor>BlueBerry Finn.</vendor>
    <homepage href=""/>
    <description>Slicks applet</description>
    <description kind="short">Slicks and slides.</description>
    <icon kind="splash" href="logo.gif"/>

      <j2se href="" version="1.4+"/>
      <property name="sun.java2d.noddraw" value="true"/>
      <jar href=""/>
      <jar href=""/>
      <jar href=""/>
      <jar href="slicks.jar" main="true"/>
      <extension name="joal.jnlp" href="" />


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

Try including a codebase attribute.
Offline Karmington

Senior Devvie

Medals: 1
Projects: 1

Co-op Freak

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

added <jnlp codebase=""

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 Devvie

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

added <jnlp codebase=""
add a trailing slash !
<jnlp codebase=""

I got the message : Authorization Required with firefox.

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

Senior Devvie

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 )
works fine, and is to all purposes identical, except it is testing the undecorated mode which is still buggy. 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.

Archive (25 views)
2015-01-29 04:26:08

theagentd (22 views)
2015-01-28 15:33:52

GamerIDGoesHere (32 views)
2015-01-27 01:23:23

GamerIDGoesHere (33 views)
2015-01-27 01:22:15

CopyableCougar4 (39 views)
2015-01-27 00:34:41

CopyableCougar4 (28 views)
2015-01-26 04:47:56

Olo (19 views)
2015-01-25 21:26:00

Olo (24 views)
2015-01-25 18:44:22

Robo11 (42 views)
2015-01-25 06:14:26

basil_ (34 views)
2015-01-17 22:29:32
2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

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 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‑
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!