Announcement Announcement Module
Collapse
No announcement yet.
Nullpointer running sample application 1.1.0 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Nullpointer running sample application 1.1.0

    I've downloaded the sample applications for version 1.1.0 but I'm getting the following error when trying to edit a contact from the sample application.

    To get the sample to this point I had to download the xswingx jar and install it into my local repository.

    http://code.google.com/p/xswingx/

    I also had to add swingx to the pom
    Code:
    <dependency>
    	    <groupId>org.swinglabs</groupId>
    	    <artifactId>swingx</artifactId>
    	    <version>0.9.3</version>
    	</dependency>

    But I'm still getting an error below.
    Any ideas?

    Code:
    java.lang.NullPointerException
    	at org.springframework.richclient.samples.simple.ui.ContactView.onApplicationEvent(ContactView.java:331)
    	at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)
    	at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
    	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
    	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:275)
    	at org.springframework.richclient.samples.simple.ui.ContactPropertiesDialog.onFinish(ContactPropertiesDialog.java:94)
    	at org.springframework.richclient.dialog.ApplicationDialog$1.doExecuteCommand(ApplicationDialog.java:486)
    	at org.springframework.richclient.command.ActionCommand.execute(ActionCommand.java:219)
    	at org.springframework.richclient.command.ActionCommand$1.actionPerformed(ActionCommand.java:132)
    	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    	at java.awt.Component.processMouseEvent(Component.java:6134)
    	at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
    	at java.awt.Component.processEvent(Component.java:5899)
    	at java.awt.Container.processEvent(Container.java:2023)
    	at java.awt.Component.dispatchEventImpl(Component.java:4501)
    	at java.awt.Container.dispatchEventImpl(Container.java:2081)
    	at java.awt.Component.dispatchEvent(Component.java:4331)
    	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301)
    	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3965)
    	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3895)
    	at java.awt.Container.dispatchEventImpl(Container.java:2067)
    	at java.awt.Window.dispatchEventImpl(Window.java:2458)
    	at java.awt.Component.dispatchEvent(Component.java:4331)
    	at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    	at java.awt.Dialog$1.run(Dialog.java:1047)
    	at java.awt.Dialog$3.run(Dialog.java:1099)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.awt.Dialog.show(Dialog.java:1097)
    	at java.awt.Component.show(Component.java:1447)
    	at java.awt.Component.setVisible(Component.java:1400)
    	at java.awt.Window.setVisible(Window.java:824)
    	at java.awt.Dialog.setVisible(Dialog.java:987)

  • #2
    There was indeed a problem, I fixed it in the trunk.

    Comment

    Working...
    X