Servoy Export - Null Pointer Exception

Intermittently, I receive a Java.lang.NullPointerException on a Servoy Export. Most predictable situation (does not always replicate) is:

  1. Fresh start of Servoy
  2. Load up a foundset
  3. Restrict row output through the use of the Native Find screen
  4. Attempt to do an Export (type Excel)

Not a problem in terms of the Export process: export runs fine.

fyi,

Michael, 3.5.1

Any log?

Log (without preceding log events … might be something in here noteworthy too) is:

2007-09-24 12:54:24,515 ERROR [AWT-EventQueue-0] com.servoy.j2db.util.Debug - Throwable
java.lang.NullPointerException
	at java.awt.Container.createHierarchyEvents(Unknown Source)
	at java.awt.Container.createHierarchyEvents(Unknown Source)
	at java.awt.Container.createHierarchyEvents(Unknown Source)
	at java.awt.Container.createHierarchyEvents(Unknown Source)
	at java.awt.Container.createHierarchyEvents(Unknown Source)
	at java.awt.Container.createHierarchyEvents(Unknown Source)
	at java.awt.Dialog.conditionalShow(Unknown Source)
	at java.awt.Dialog.show(Unknown Source)
	at java.awt.Component.show(Unknown Source)
	at java.awt.Component.setVisible(Unknown Source)
	at com.servoy.j2db.util.JEscapeDialog.setVisible(Unknown Source)
	at com.servoy.j2db.util.wizard.WizardWindow.a(Unknown Source)
	at com.servoy.j2db.util.wizard.WizardWindow.showDialog(Unknown Source)
	at com.servoy.extensions.plugins.excelxport.ExcelExport.showFrame(Unknown Source)
	at com.servoy.extensions.plugins.excelxport.ExcelXportPlugin.actionPerformed(Unknown Source)
	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.AbstractButton.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.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.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)

I can not say this is something critical (or not).

Simply submit it to the support system ( including this piece of log, servoy version etc. :) )

Thanks, Marcel - will do,

Michael

What JRE are you using?
If it is a JRE issue (likely) I might be able to reproduce it easier (succeeded but only once in too many attempts :?) using the same version - and gain some more info.

Thanks.

I managed to find a way in which it reproduces often enough…

Andrei,

Glad you found some degree of replication.

Best,

Michael

The issue is corrected in Servoy 3.5.2.
It is a JVM issue really but we can avoid it - and now we do :).

Good work and thanks!

Enjoy SW (I’m offline Oct 4-12)!

Best,

Michael