Are you using Pivot 1.4 or 1.5? I believe this may have been fixed for 1.5 - if 
not, please feel free to submit a bug report in JIRA.

On May 4, 2010, at 3:37 PM, Patrick Shea wrote:

> I get the impression that pivot does not handle null data very well. I get 
> this on a roweditor and I did get it in another situation when the data model 
> has some null elements.
> 
> java.lang.NullPointerException
>       at 
> org.apache.pivot.wtk.skin.terra.TerraTextInputSkin.updateSelection(Unknown 
> Source)
>       at org.apache.pivot.wtk.skin.terra.TerraTextInputSkin.layout(Unknown 
> Source)
>       at 
> org.apache.pivot.wtk.skin.terra.TerraTextInputSkin.textNodeChanged(Unknown 
> Source)
>       at 
> org.apache.pivot.wtk.TextInput$TextInputListenerList.textNodeChanged(Unknown 
> Source)
>       at org.apache.pivot.wtk.TextInput.setTextNode(Unknown Source)
>       at org.apache.pivot.wtk.TextInput.setText(Unknown Source)
>       at org.apache.pivot.wtk.TextInput.load(Unknown Source)
>       at org.apache.pivot.wtk.Container.load(Unknown Source)
>       at 
> org.apache.pivot.wtk.content.TableViewRowEditor$EditorPopup.<init>(Unknown 
> Source)
>       at org.apache.pivot.wtk.content.TableViewRowEditor.editRow(Unknown 
> Source)
>       at 
> org.apache.pivot.wtk.skin.terra.TerraTableViewSkin.mouseClick(Unknown Source)
>       at 
> org.apache.pivot.wtk.Component$ComponentMouseButtonListenerList.mouseClick(Unknown
>  Source)
>       at org.apache.pivot.wtk.Component.mouseClick(Unknown Source)
>       at org.apache.pivot.wtk.Container.mouseUp(Unknown Source)
>       at org.apache.pivot.wtk.Container.mouseUp(Unknown Source)
>       at org.apache.pivot.wtk.Container.mouseUp(Unknown Source)
>       at org.apache.pivot.wtk.Container.mouseUp(Unknown Source)
>       at org.apache.pivot.wtk.Container.mouseUp(Unknown Source)
>       at org.apache.pivot.wtk.Container.mouseUp(Unknown Source)
>       at org.apache.pivot.wtk.Container.mouseUp(Unknown Source)
>       at org.apache.pivot.wtk.Container.mouseUp(Unknown Source)
>       at org.apache.pivot.wtk.Container.mouseUp(Unknown Source)
>       at org.apache.pivot.wtk.Container.mouseUp(Unknown Source)
>       at org.apache.pivot.wtk.Container.mouseUp(Unknown Source)
>       at 
> org.apache.pivot.wtk.ApplicationContext$DisplayHost.processMouseEvent(Unknown 
> Source)
>       at java.awt.Component.processEvent(Component.java:6028)
>       at 
> org.apache.pivot.wtk.ApplicationContext$DisplayHost.processEvent(Unknown 
> Source)
>       at java.awt.Component.dispatchEventImpl(Component.java:4630)
>       at java.awt.Component.dispatchEvent(Component.java:4460)
>       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.pumpEventsForHierarchy(EventDispatchThread.java:174)
>       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
>       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
>       at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
> 
> 

Reply via email to