AW: Java 2 compatibility
"Martin Bene" <[email protected]>
| Newsgroups | gmane.linux.failsafe |
|---|---|
| Message-ID | <[email protected]> |
Hi Scott, > I've been told by the local Java experts that the API changed > dramatically in several important areas between Java 1 and Java 2. > I don't know the details. I don't think that's the main problem here: there's no need to rewrite the management GUI to use the java2 api; having 1.1.8 as a requirement for building the gui should be acceptable. The resulting java application actualy does start on JRE other than 1.1.8, but will fail for some operations; this makes it very hard to use the web-plugin version of the GUI for example. I've just started the management GUI under JRE 1.3.1/IE6.0 under windows. Startup/login works fine, I can watch the failsafe console, but if I (for example) klick on the cluster-icon to open the cluster properties window, an exception occurs.(*) see below Fixing/avoiding these and so allowing the GUI to run under current JRE versions should not be a big rewrite but rather fairly localized changes. Bye, Martin *) exception from java console: ava(TM) Plug-In: Version 1.3.1 Verwendung der JRE-Version 1.3.1 Java HotSpot(TM) Client VM Home-Verzeichnis des Benutzers = C:\Dokumente und Einstellungen\martin.bene Proxy-Konfiguration:Kein Proxy ---------------------------------------------------- c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump classloader list m: print memory usage q: hide console s: dump system properties t: dump thread list x: clear classloader cache 0-5: set trace level to <n> ---------------------------------------------------- Exception occurred during event dispatching: java.lang.NullPointerException at com.sgi.sysadm.ui.ComponentTable.addNotify(ComponentTable.java:151) at java.awt.Container.addNotify(Unknown Source) at javax.swing.JComponent.addNotify(Unknown Source) at java.awt.Container.addNotify(Unknown Source) at javax.swing.JComponent.addNotify(Unknown Source) at java.awt.Container.addNotify(Unknown Source) at javax.swing.JComponent.addNotify(Unknown Source) at java.awt.Container.addNotify(Unknown Source) at javax.swing.JComponent.addNotify(Unknown Source) at java.awt.Container.addNotify(Unknown Source) at javax.swing.JComponent.addNotify(Unknown Source) at java.awt.Container.addNotify(Unknown Source) at javax.swing.JComponent.addNotify(Unknown Source) at java.awt.Container.addNotify(Unknown Source) at javax.swing.JComponent.addNotify(Unknown Source) at java.awt.Container.addNotify(Unknown Source) at javax.swing.JComponent.addNotify(Unknown Source) at java.awt.Container.addNotify(Unknown Source) at javax.swing.JComponent.addNotify(Unknown Source) at java.awt.Container.addNotify(Unknown Source) at javax.swing.JComponent.addNotify(Unknown Source) at javax.swing.JRootPane.addNotify(Unknown Source) at java.awt.Container.addNotify(Unknown Source) at java.awt.Window.addNotify(Unknown Source) at java.awt.Frame.addNotify(Unknown Source) at java.awt.Window.pack(Unknown Source) at com.sgi.sysadm.ui.ItemViewFrame.launchIV(ItemViewFrame.java:178) at com.sgi.sysadm.ui.ItemViewFrame.access$4(ItemViewFrame.java:166) at com.sgi.sysadm.ui.ItemViewFrame$6.succeeded(ItemViewFrame.java:153) at com.sgi.sysadm.ui.UIContext$11.run(UIContext.java:1258) at java.awt.event.InvocationEvent.dispatch(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.run(Unknown Source)