Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4155382

java.util.MissingResourceException: Can't find resource

XMLWordPrintable


      arthur.frechette@East 1998-07-08

      JDK Build Tested: JDK1.2Beta4-K
      Platform Tested: Solaris

      The following exception occurs running the RMI Scalability Test Suite on this
      latest JDK build:

      TestClient exception: Can't find resource
      java.util.MissingResourceException: Can't find resource
              at java.util.ResourceBundle.getObject(ResourceBundle.java:312)
              at java.util.ResourceBundle.getObject(ResourceBundle.java:309)
              at java.util.ResourceBundle.getStringArray(ResourceBundle.java:298)
              at java.util.Calendar.setWeekCountData(Calendar.java:1227)
              at java.util.Calendar.<init>(Calendar.java:561)
              at java.util.GregorianCalendar.<init>(GregorianCalendar.java:330)
              at java.util.GregorianCalendar.<init>(GregorianCalendar.java:302)
              at java.util.Date.makeStaticCalendars(Date.java:1135)
              at java.util.Date.toString(Date.java:937)
              at java.lang.String.valueOf(String.java:1540)
              at java.lang.StringBuffer.append(StringBuffer.java:316)
              at scalability.TestClient.run(TestClient.java:310)
              at java.lang.Thread.run(Thread.java:475)


      The code fragment hit in scalability.TestClient.run at line 310 is:

      308 // Now log client start date
      309 Date d = new Date();
      310 System.out.println("Client ID: " + clientID + " start date: " + d);

      It looks like it has something to do with the Date object causing this.

            aliusunw Alan Liu (Inactive)
            afrechet Art Frechette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: