java.util.NoSuchElementException

27 views
Skip to first unread message

w.glanzer

unread,
Sep 14, 2015, 11:40:12 AM9/14/15
to FlexGanttFX
Hello, I know, my solution is not the best, but if I set the root-Node very often, I get this exception:

java.util.NoSuchElementException
 at java.util.LinkedList.removeFirst(LinkedList.java:270)
 at java.util.LinkedList.pop(LinkedList.java:801)
 at javafx.scene.canvas.GraphicsContext.restore(GraphicsContext.java:940)
 at impl.com.flexganttfx.skin.graphics.RowCanvas.draw(RowCanvas.java:236)
 at impl.com.flexganttfx.skin.graphics.RowPane.draw(RowPane.java:218)
 at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
 at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
 at java.util.Iterator.forEachRemaining(Iterator.java:116)
 at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
 at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
 at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
 at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
 at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
 at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
 at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
 at com.flexganttfx.view.graphics.GraphicsBase.redraw(GraphicsBase.java:3229)

Are you able to fix this?

Thanks

Dirk Lemmermann

unread,
Sep 15, 2015, 12:42:37 PM9/15/15
to FlexGanttFX
I will look into the issue.

Dirk Lemmermann

unread,
Sep 15, 2015, 12:44:33 PM9/15/15
to FlexGanttFX
I have created a ticket for it: https://flexgantt.atlassian.net/browse/FLEXFX-238

Dirk


Am Montag, 14. September 2015 17:40:12 UTC+2 schrieb w.glanzer:
Reply all
Reply to author
Forward
0 new messages