pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger and Beth Whitcomb <RogerandB...@rbwhitcomb.com>
Subject Re: Cell selection in TableView
Date Tue, 25 Feb 2014 06:13:49 GMT
Replace the "setText(null)" with "setText("")"

~Roger

On 2/24/14 9:47 PM, Ripgiblet wrote:
> Actually could not get it to work, maybe not compatible with current pivot...
> Maybe there has been a change to the setText class, so it throws an error on
> a null value...
>
> java.lang.IllegalArgumentException
> 	at org.apache.pivot.wtk.Label.setText(Label.java:127)
> 	at
> com.ott.fazet.wtk.content.TableViewCellRenderer.render(TableViewCellRenderer.java:61)
> 	at
> com.ott.fazet.wtk.skin.terra.TerraFazetTableViewSkin.calculateFixedRowHeight(TerraFazetTableViewSkin.java:311)
> 	at
> com.ott.fazet.wtk.skin.terra.TerraFazetTableViewSkin.layout(TerraFazetTableViewSkin.java:275)
> 	at org.apache.pivot.wtk.Component.layout(Component.java:1992)
> 	at org.apache.pivot.wtk.Component.validate(Component.java:1983)
> 	at org.apache.pivot.wtk.Container.layout(Container.java:355)
> 	at org.apache.pivot.wtk.Component.validate(Component.java:1983)
> 	at org.apache.pivot.wtk.Container.layout(Container.java:355)
> 	at org.apache.pivot.wtk.Component.validate(Component.java:1983)
> 	at org.apache.pivot.wtk.Component.setVisible(Component.java:1592)
> 	at org.apache.pivot.wtk.Container.setVisible(Container.java:346)
> 	at
> org.apache.pivot.wtk.skin.CardPaneSkin.selectedIndexChanged(CardPaneSkin.java:787)
> 	at
> org.apache.pivot.wtk.CardPane$CardPaneListenerList.selectedIndexChanged(CardPane.java:52)
> 	at org.apache.pivot.wtk.CardPane.setSelectedIndex(CardPane.java:90)
> 	at
> org.apache.pivot.wtk.skin.CardPaneSkin.componentInserted(CardPaneSkin.java:659)
> 	at
> org.apache.pivot.wtk.Container$ContainerListenerList.componentInserted(Container.java:41)
> 	at org.apache.pivot.wtk.Container.insert(Container.java:167)
> 	at org.apache.pivot.wtk.CardPane.insert(CardPane.java:111)
> 	at org.apache.pivot.wtk.Container.add(Container.java:138)
> 	at org.apache.pivot.wtk.Container.add(Container.java:34)
> 	at
> org.apache.pivot.beans.BXMLSerializer.processEndElement(BXMLSerializer.java:1206)
> 	at
> org.apache.pivot.beans.BXMLSerializer.readObject(BXMLSerializer.java:448)
> 	at
> org.apache.pivot.beans.BXMLSerializer.processStartElement(BXMLSerializer.java:910)
> 	at
> org.apache.pivot.beans.BXMLSerializer.readObject(BXMLSerializer.java:443)
> 	at
> org.apache.pivot.beans.BXMLSerializer.readObject(BXMLSerializer.java:634)
> 	at
> org.apache.pivot.beans.BXMLSerializer.readObject(BXMLSerializer.java:589)
> 	at
> org.apache.pivot.beans.BXMLSerializer.readObject(BXMLSerializer.java:550)
> 	at mrc.phoenix.TRN.TRNGUIPivot.<init>(TRNGUIPivot.java:85)
>
> I will have a look at the code, and see if I can see why it is trying to
> setText...
>
> regards,
>
>
>
> --
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Cell-selection-in-TableView-tp3339330p4022889.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>
>


Mime
View raw message