Adam Hosek wrote:
> I tried to start XXE in many ways including your recommendations found 
> in FAQ. It always threw this error message:
> 
> internal error: cannot create application: java.lang.NullPointerException:
> javax.swing.border.EmptyBorder.<init>(Unknown Source)
> com.sun.java.swing.plaf.windows.WindowsTableHeaderUI$XPDefaultRenderer.getTableCellRendererComponent(Unknown
>  
> Source)
> javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderRenderer(Unknown Source)
> javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderHeight(Unknown Source)
> javax.swing.plaf.basic.BasicTableHeaderUI.createHeaderSize(Unknown Source)
> javax.swing.plaf.basic.BasicTableHeaderUI.getPreferredSize(Unknown Source)
> javax.swing.JComponent.getPreferredSize(Unknown Source)
> javax.swing.ViewportLayout.preferredLayoutSize(Unknown Source)
> java.awt.Container.preferredSize(Unknown Source)
> java.awt.Container.getPreferredSize(Unknown Source)
> 
> Of course, you must use "java ..." instead of "start javaw" to see this.
> 
> I'm running WXP SP2, JRE 1.5.0 and XXE 2.7p1, but it was the same on WXP 
> SP1, JRE 1.4.2 and XXE 2.6 (and some combinations of different 
> versions). I added env. paths to JRE's \lib directory, started from 
> different partitions and so on. Same result :-(.
> 
> P.S.: Yes, I have the Standard edition of XXE.
> 
> P.P.S.: I even tried to start XXE under Red Hat Linux 7.3 using JRE 
> 1.5.0 and the 2.7p1 version started without any problem.

This seems to be a Java bug related to the Windows XP look and feel.

Applications other than XXE (JAlbum) have been reported to have exactly 
the same problem.

We cannot reproduce the problem here in our offices and therefore, we 
cannot find a workaround and we cannot file a bug report to Sun.

We have found the following workarounds *on the Web*:

* Switch to the Classic look and feel (seems convincing).

* OR uninstall XXE and reinstall it with its own private Java runtime: 
xxe-*-setup.exe (hard to believe that this will fix the problem)

If you find your own workaround, please tell us which one.

---
PS: XXE V2.8 will allow you to use look and feels other than the system 
look and feel (probably not on the Mac). And that, almost for sure, will 
be a workaround.


Reply via email to