Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » NPE in SelectionLayer(NPE in SelectionLayer)
NPE in SelectionLayer [message #1800007] Tue, 18 December 2018 19:30 Go to next message
Arjan Kok is currently offline Arjan KokFriend
Messages: 40
Registered: July 2009
Member
Sometimes (its not reproducable) we encounter a NullPointerException in the SelectionLayer. I will add the Stacktrace. Don't really understand what Nattable tries to do here. We use Nattable 1.5




Dec 17, 2018 5:11:54 PM org.eclipse.nebula.widgets.nattable.painter.layer.NatLayerPainter paintLayer
SEVERE: Error while painting table
java.lang.NullPointerException
at org.eclipse.nebula.widgets.nattable.selection.SelectionLayerPainter.isInCurrentLayer(SelectionLayerPainter.java:321)
at org.eclipse.nebula.widgets.nattable.selection.SelectionLayerPainter.paintLayer(SelectionLayerPainter.java:157)
at org.eclipse.nebula.widgets.nattable.layer.CompositeLayer$CompositeLayerPainter.paintLayer(CompositeLayer.java:1055)
at org.eclipse.nebula.widgets.nattable.painter.layer.NatLayerPainter.paintLayer(NatLayerPainter.java:54)
at org.eclipse.nebula.widgets.nattable.NatTable.paintNatTable(NatTable.java:507)
at org.eclipse.nebula.widgets.nattable.NatTable.paintControl(NatTable.java:502)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:231)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4118)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1076)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:1561)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4822)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:345)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4765)
Re: NPE in SelectionLayer [message #1800020 is a reply to message #1800007] Wed, 19 December 2018 06:14 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
In that place it tries to render the selection border. There was a fix in the current development stage some months ago. So probably this is fixed already.
Re: NPE in SelectionLayer [message #1800205 is a reply to message #1800020] Fri, 21 December 2018 10:15 Go to previous messageGo to next message
Arjan Kok is currently offline Arjan KokFriend
Messages: 40
Registered: July 2009
Member
Thanks Dirk.
Re: NPE in SelectionLayer [message #1802855 is a reply to message #1800205] Mon, 18 February 2019 09:00 Go to previous messageGo to next message
Arjan Kok is currently offline Arjan KokFriend
Messages: 40
Registered: July 2009
Member
Will there be a Nattable 1.6 this year? Or can you point us at the fix, so that we can patch the Nattable ourselves?
Re: NPE in SelectionLayer [message #1802863 is a reply to message #1802855] Mon, 18 February 2019 09:55 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
I am working hard as much as I can on finishing 1.6. But as I am currently the only person that is active in this project, this is quite a big challenge.
You can check the history of the SelectionLayerPainter to see if you can point the fix.
Previous Topic:How show the Tooltip for part display cell(xxx...)
Next Topic:Sorting removes applied filters
Goto Forum:
  


Current Time: Tue Apr 16 08:07:16 GMT 2024

Powered by FUDForum. Page generated in 0.53276 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top