Bug 66 - unable to open preference dialog when jsampler can't connect to linuxsampler
Summary: unable to open preference dialog when jsampler can't connect to linuxsampler
Status: CLOSED FIXED
Alias: None
Product: JSampler
Classification: Unclassified
Component: JSampler (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 major
Assignee: Grigor Iliev
URL:
Depends on:
Blocks:
 
Reported: 2007-12-09 22:03 CET by David Gritter
Modified: 2008-11-30 13:32 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Gritter 2007-12-09 22:03:50 CET
0.8a in the windows release and CVS Head both

I am running Jsampler on one computer and linuxsampler on another, so I need to
tell Jsampler a new IP address and port.   However, the preferences dialog to do
this doesn't open, and the java error stream reports the following:

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at org.jsampler.view.std.JSDefaultsPropsPane$DefaultMidiDriverPane.<in
>(JSDefaultsPropsPane.java:174)
        at org.jsampler.view.std.JSDefaultsPropsPane.<init>(JSDefaultsPropsPan
java:58)
        at org.jsampler.view.fantasia.PrefsDlg.<init>(PrefsDlg.java:78)
        at org.jsampler.view.fantasia.A4n$EditPreferences.actionPerformed(A4n.
va:155)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown So
ce)
        at org.jvnet.substance.utils.RolloverButtonListener.mouseReleased(Roll
erButtonListener.java:110)
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.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.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(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)
Comment 1 Grigor Iliev 2007-12-10 17:15:04 CET
I just committed a fix to CVS
Thanks for the report