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

Merlin b57 :Swing component can't be load correctly in solaris and IA solaris

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • 1.4.0
    • core-libs
    • sparc
    • solaris_8

      hercule.li@prc 2001-03-27

      I am not sure the synopsis is 100% right, if you think
      it is NOT right or not exact, pls. feel free to modify it.

      java version "1.4.0-internal"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-internal-b57)
      Java HotSpot(TM) Client VM (build 1.4.0-beta-b57, mixed mode)

      This problem exists in solaris and IA solaris.
      This problem exists in C locale and zh_CN locale.
      There is NO bug in windows platform.
      There is NO bug in merlin b56.

      I guess this problem would occur if the java application
      need to load swing component.

      To reproduce this bug ,

      try demo demo/jfc/Notepad or run attached file JTextPanel.java,
      you will get a lip-deep panel only , see attached file Notepad.gif,
      and a lot of message flash out like below

      spider:/net/eagle/Testing/projects/jdk/jdk_build/jdk14/b57/sparc/demo/jfc/Notepad 14 % ../../../bin/java -jar Notepad.jar
      java.lang.IllegalArgumentException: String length must be a multiple of four.
              at java.util.prefs.Base64.base64ToByteArray(Base64.java:136)
              at java.util.prefs.Base64.altBase64ToByteArray(Base64.java:128)
              at java.util.prefs.FileSystemPreferences.nodeName(FileSystemPreferences.java:810)
              at java.util.prefs.FileSystemPreferences.access$1900(FileSystemPreferences.java:35)
              at java.util.prefs.FileSystemPreferences$13.run(FileSystemPreferences.java:605)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.util.prefs.FileSystemPreferences.childrenNamesSpi(FileSystemPreferences.java:597)
              at java.util.prefs.AbstractPreferences.childrenNames(AbstractPreferences.java:688)
              at java.util.prefs.AbstractPreferences.getChild(AbstractPreferences.java:1222)
              at java.util.prefs.AbstractPreferences.nodeExists(AbstractPreferences.java:870)
              at java.util.prefs.AbstractPreferences.nodeExists(AbstractPreferences.java:878)
              at java.util.prefs.AbstractPreferences.nodeExists(AbstractPreferences.java:878)
              at java.util.prefs.AbstractPreferences.nodeExists(AbstractPreferences.java:878)
              at java.util.prefs.AbstractPreferences.nodeExists(AbstractPreferences.java:878)
              at java.util.prefs.AbstractPreferences.nodeExists(AbstractPreferences.java:854)
              at sun.awt.im.ExecutableInputMethodManager.readPreferredInputMethod(InputMethodManager.java:682)
              at sun.awt.im.ExecutableInputMethodManager.getPreferredInputMethod(InputMethodManager.java:634)
              at sun.awt.im.ExecutableInputMethodManager.findInputMethod(InputMethodManager.java:593)
              at sun.awt.im.InputContext.selectInputMethod(InputContext.java:141)
              at sun.awt.im.InputContext.<init>(InputContext.java:113)
              at sun.awt.im.InputMethodContext.<init>(InputMethodContext.java:73)
              at java.awt.im.InputContext.getInstance(InputContext.java:77)
              at java.awt.Window.getInputContext(Window.java:703)
              at java.awt.Component.dispatchEventImpl(Component.java:3406)
              at java.awt.Container.dispatchEventImpl(Container.java:1370)
              at java.awt.Window.dispatchEventImpl(Window.java:1338)
              at java.awt.Component.dispatchEvent(Component.java:3325)
              at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1510)
              at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:658)
              at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:413)
              at java.awt.Component.dispatchEventImpl(Component.java:3349)
              at java.awt.Container.dispatchEventImpl(Container.java:1370)
              at java.awt.Window.dispatchEventImpl(Window.java:1338)
              at java.awt.Component.dispatchEvent(Component.java:3325)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
              at java.awt.SequencedEvent.dispatch(SequencedEvent.java:96)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:140)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:121)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
      java.lang.IllegalArgumentException: String length must be a multiple of four.
              at java.util.prefs.Base64.base64ToByteArray(Base64.java:136)
              at java.util.prefs.Base64.altBase64ToByteArray(Base64.java:128)
              at java.util.prefs.FileSystemPreferences.nodeName(FileSystemPreferences.java:810)
              at java.util.prefs.FileSystemPreferences.access$1900(FileSystemPreferences.java:35)
              at java.util.prefs.FileSystemPreferences$13.run(FileSystemPreferences.java:605)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.util.prefs.FileSystemPreferences.childrenNamesSpi(FileSystemPreferences.java:597)
              at java.util.prefs.AbstractPreferences.childrenNames(AbstractPreferences.java:688)
              at java.util.prefs.AbstractPreferences.getChild(AbstractPreferences.java:1222)
              at java.util.prefs.AbstractPreferences.nodeExists(AbstractPreferences.java:870)
              at java.util.prefs.AbstractPreferences.nodeExists(AbstractPreferences.java:878)
              at java.util.prefs.AbstractPreferences.nodeExists(AbstractPreferences.java:878)
              at java.util.prefs.AbstractPreferences.nodeExists(AbstractPreferences.java:878)
              at java.util.prefs.AbstractPreferences.nodeExists(AbstractPreferences.java:878)
              at java.util.prefs.AbstractPreferences.nodeExists(AbstractPreferences.java:854)
              at sun.awt.im.ExecutableInputMethodManager.readPreferredInputMethod(InputMethodManager.java:682)
              at sun.awt.im.ExecutableInputMethodManager.getPreferredInputMethod(InputMethodManager.java:634)
              at sun.awt.im.ExecutableInputMethodManager.findInputMethod(InputMethodManager.java:593)
              at sun.awt.im.InputContext.selectInputMethod(InputContext.java:141)
              at sun.awt.im.InputContext.<init>(InputContext.java:113)
              at sun.awt.im.InputMethodContext.<init>(InputMethodContext.java:73)
              at java.awt.im.InputContext.getInstance(InputContext.java:77)
              at java.awt.Window.getInputContext(Window.java:703)
              at java.awt.Component.dispatchEventImpl(Component.java:3406)
              at java.awt.Container.dispatchEventImpl(Container.java:1370)
              at java.awt.Window.dispatchEventImpl(Window.java:1338)
              at java.awt.Component.dispatchEvent(Component.java:3325)
              at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1510)
              at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:667)
              at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:463)
              at java.awt.Component.dispatchEventImpl(Component.java:3349)
              at java.awt.Container.dispatchEventImpl(Container.java:1370)
              at java.awt.Window.dispatchEventImpl(Window.java:1338)
              at java.awt.Component.dispatchEvent(Component.java:3325)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
              at java.awt.SentEvent.dispatch(SentEvent.java:52)
              at java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispatch(DefaultKeyboardFocusManager.java:143)
              at java.awt.DefaultKeyboardFocusManager.sendMessage(DefaultKeyboardFocusManager.java:165)
              at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:348)
              at java.awt.Component.dispatchEventImpl(Component.java:3349)
              at java.awt.Container.dispatchEventImpl(Container.java:1370)
              at java.awt.Component.dispatchEvent(Component.java:3325)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
                atjava.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:140)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:121)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

      ---- end of hercule.li@prc 2001-03-27

            kkladkosunw Konstantin Kladko (Inactive)
            hlisunw Hercule Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: