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

(cal) SunTEA won't allow you to change tabs in expense report - GregorianCalendar serialization

XMLWordPrintable

    • b07
    • 6
    • b38
    • x86
    • linux, windows_xp

        The SunTEA internal expense tool (an old AWT app) does not function with some of the latest Mustang builds. I had this problem with b25, so I uninstalled that release and installed the latest, build 34, but the bug is still there.

        To see the bug, start SunTea. Start a new expense report. The first page
        shows several tabs, the first of which is "Summary". Try clicking on any of the
        other tabs - this functionality does not work and you are stuck with only the
        Summary page.


        ###@###.### 2005-04-29 18:03:10 GMT

        I just noticed that this bug seems limited to when you are trying to start
        a new expense report based on an existing expense request. If you just
        start a new expense report from scratch, it seems to work.

        Also, I found out more about the problem from running the Java console;
        it turns out this is not a focus problem switching between tabs, but
        rather a problem of getting a NullPointerException due to some calendar
        issue. Here is the stack trace I get every time I click on a tab:
        Exception in thread "AWT-EventQueue-4" java.lang.NullPointerException
        at java.util.GregorianCalendar.getCurrentFixedDate(Unknown Source)
        at java.util.GregorianCalendar.add(Unknown Source)
        at bh.d(DashoA8378)
        at bh.c(DashoA8378)
        at bf.b(DashoA8378)
        at bf.handleEvent(DashoA8378)
        at java.awt.Component.postEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

        I am refiling this against the i18n group accordingly.

        ###@###.### 2005-04-29 18:19:02 GMT

              okutsu Masayoshi Okutsu
              chaasesunw Chet Haase (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: