« Return to Thread: Need lock while building pipeline?

Need lock while building pipeline?

by Danilo Tuler-2 :: Rate this Message:

Reply to Author | View in Thread

Hi guys,

I'm getting this exception while buildind a GL pipeline.
I think the problem is related to a lack of lock, because I think the
list is being populated (with the apropriate writeLock) while the
pipeline is being constructed.
Do I need to acquire a lock in this situation? Read or write?

java.lang.NullPointerException
        at ca.odell.glazedlists.impl.adt.barcode2.SimpleTree.get(SimpleTree.java:151)
        at ca.odell.glazedlists.SortedList.getSourceIndex(SortedList.java:372)
        at ca.odell.glazedlists.TransformedList.get(TransformedList.java:103)
        at ca.odell.glazedlists.impl.Grouper.groupTogether(Grouper.java:282)
        at ca.odell.glazedlists.impl.Grouper.setComparator(Grouper.java:79)
        at ca.odell.glazedlists.impl.Grouper.<init>(Grouper.java:64)
        at ca.odell.glazedlists.UniqueList.<init>(UniqueList.java:93)
        at ca.odell.glazedlists.UniqueList.<init>(UniqueList.java:67)
        at br.com.investtools.trader.ui.filter.transaction.TransactionBrokerFilter.<init>(TransactionBrokerFilter.java:77)

Thanks,
Danilo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Need lock while building pipeline?

LightInTheBox - Buy quality products at wholesale price!