[jNotes-list] [BUG] Preferences dialog doesn't work
Brought to you by:
alexeya
From: Alex V. A. <al...@op...> - 2003-05-07 10:23:59
|
Hi all, Thomas Chuffart <inf...@pi...> submitted a bug: > When I try to open the preferences window, i've got this messages on the java console : > >C:\java\jnotes>java -cp C:\java\jnotes\jnotes.jar;C:\java\xerces\xerces.jar org. > openmechanics.jnotes.JNotes > ------------- > ------------- > java.lang.NullPointerException > at org.openmechanics.jnotes.Configuration.getBookExportFilters(Configuration.java:139) > at org.openmechanics.jnotes.PreferencesDialog.loadFiltersList(PreferencesDialog.java:593) > at org.openmechanics.jnotes.PreferencesDialog.jbInit(PreferencesDialog.java:356) > at org.openmechanics.jnotes.PreferencesDialog.<init>(PreferencesDialog.java:126) > at org.openmechanics.jnotes.JNotesWin.jMenuItemPref_actionPerformed(JNotesWin.java:1010) > at org.openmechanics.jnotes.JNotesWin$31.actionPerformed(JNotesWin.java:542) > at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) > at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source) > at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) > at javax.swing.DefaultButtonModel.setPressed(Unknown Source) > at javax.swing.AbstractButton.doClick(Unknown Source) > at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) > at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source) > at java.awt.Component.processMouseEvent(Unknown Source) > at java.awt.Component.processEvent(Unknown Source) > at java.awt.Container.processEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source) > at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) > at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) > at java.awt.Container.dispatchEventImpl(Unknown Source) > at java.awt.Window.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) This is an installation issue that appears when jNotes runs from the JAR file (unfortunately, I didn't see it because I launched jNotes from the classes files). This is a bug with failing to copy the default configuration file to the jNotes working directory. It will be fixed in the nearest release (1.01). SOLUTION FOR THE CURRENT RELEASE (1.0): Save the attached "jnotes.properties" config file to the jNotes working directory. jNotes working directory is named ".jnotes" and it is placed under your user home directory (which is value of "user.home" java system property). On Windows it usually is "C:\Documents and Settings\YourName\.jnotes", on Linux - "/home/YourName/.jnotes". (Note that this is not a directory where you've installed jNotes!) -- Best regards, Alex V. Alishevskikh al...@op... Wednesday, May 7, 2003 |