Java Web Start 1.6 fails to load bundle

Discussion in 'Java' started by maxmike, Oct 1, 2007.

  1. maxmike

    maxmike Guest

    I have an app(let) which worked fine under JWS 1.3 and when configured
    as a applet in a browser.
    Now using JWS 1.6 all of a sudden there is a message:

    java.util.MissingResourceException: Can't find bundle for base name
    dnd/resvalues, locale en_US
    at java.util.ResourceBundle.throwMissingResourceException(Unknown
    Source)
    at java.util.ResourceBundle.getBundleImpl(Unknown Source)
    at java.util.ResourceBundle.getBundle(Unknown Source)
    at dnd.dndapplet.h(Unknown Source)

    My jar file's relevant contents is:

    392 Mon Oct 01 10:55:26 PDT 2007 dnd/ht.class
    407 Mon Oct 01 10:55:26 PDT 2007 repgen/cK.class
    17826 Tue Sep 06 15:59:04 PDT 2005 dnd/resvalues.properties
    4314 Wed Jul 13 10:44:52 PDT 2005 dnd/resvalues_de.properties
    17826 Sun Sep 30 14:15:30 PDT 2007 dnd/resvalues_en_US.properties
    4239 Wed Jul 13 10:44:52 PDT 2005 dnd/resvalues_es.properties
    4201 Wed Jul 13 10:44:52 PDT 2005 dnd/resvalues_fr.properties
    19717 Tue Sep 06 16:00:24 PDT 2005 dnd/resvalues_pt_BR.properties

    The offending code is :

    querymenu.setText(java.util.ResourceBundle.getBundle("dnd/
    resvalues").getString("Query"));
    querymenu.addActionListener(new
    java.awt.event.ActionListener() {...

    Does anybody have any clue what is causing this? Please?
     
    maxmike, Oct 1, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. marty mcmahone
    Replies:
    4
    Views:
    1,197
    marty mcmahone
    Feb 4, 2004
  2. Dov MORYUSEF
    Replies:
    2
    Views:
    5,314
  3. Ron de Waard
    Replies:
    2
    Views:
    3,180
  4. Trey Connell
    Replies:
    0
    Views:
    123
    Trey Connell
    Jan 15, 2008
  5. carl d.
    Replies:
    1
    Views:
    387
    A. Sinan Unur
    May 10, 2005
Loading...

Share This Page