B4A Library [B4X] [XUI] AS Scheduler 📅 - MonthView, DayView (Week), AgendaView and CalendarView [Payware]

Alexander Stolte

Expert
Licensed User
Longtime User
Update
  • 1.04
    • MonthView
      • Properties have now in the description the default values that you can simply copy
      • Add Designer Property HeaderVisibility - Hides or Show the Header
    • DayView
      • Add Designer Property HeaderVisibility - Hides or Show the Header
      • Add Designer Property TimelineVisibility - Hides or Show the Timeline
 

vfafou

Well-Known Member
Licensed User
Longtime User
Hello Alexander!
I would like to tell you that your work is excellent and definitely time saving! Thank you!
I have a problem trying to run the dayview example of B4J. It starts with a blank screen and then it raises the following errors:
Error DayView Scheduler:
Waiting for debugger to connect...
Program started.
Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.
java.lang.NullPointerException
    at javafx.graphics/com.sun.javafx.sg.prism.NGCanvas$RenderBuf.validate(NGCanvas.java:213)
    at javafx.graphics/com.sun.javafx.sg.prism.NGCanvas.initCanvas(NGCanvas.java:641)
    at javafx.graphics/com.sun.javafx.sg.prism.NGCanvas.renderForcedContent(NGCanvas.java:625)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)
    at javafx.graphics/com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:330)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:91)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.checkState(BaseShaderContext.java:648)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.validatePaintOp(BaseShaderContext.java:479)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.validatePaintOp(BaseShaderContext.java:348)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.renderGeneralRoundedPgram(BaseShaderGraphics.java:900)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.renderGeneralRoundedRect(BaseShaderGraphics.java:601)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.fillRect(BaseShaderGraphics.java:1507)
    at javafx.graphics/com.sun.javafx.sg.prism.NGRegion.renderBackgroundRectanglesDirectly(NGRegion.java:1110)
    at javafx.graphics/com.sun.javafx.sg.prism.NGRegion.renderBackgroundRectangle(NGRegion.java:850)
    at javafx.graphics/com.sun.javafx.sg.prism.NGRegion.renderAsRectangle(NGRegion.java:753)
    at javafx.graphics/com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:574)
    at javafx.graphics/com.sun.javafx.sg.prism.CacheFilter.renderNodeToScreen(CacheFilter.java:701)
    at javafx.graphics/com.sun.javafx.sg.prism.CacheFilter.render(CacheFilter.java:627)
    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.renderCached(NGNode.java:2377)
    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2063)
    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:270)
    at javafx.graphics/com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:578)
    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2072)
    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:270)
    at javafx.graphics/com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:578)
    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.renderForClip(NGNode.java:2313)
    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.renderRectClip(NGNode.java:2207)
    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.renderClip(NGNode.java:2233)
    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2066)
    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:270)
    at javafx.graphics/com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:578)
    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2072)
    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)
    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:270)
    at javafx.graphics/com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:578)
    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2072)
    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)
    at javafx.graphics/com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:479)
    at javafx.graphics/com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:328)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:91)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DRTTexture.createGraphics(D3DRTTexture.java:77)
    at javafx.graphics/com.sun.prism.d3d.D3DResourceFactory.createRTTexture(D3DResourceFactory.java:316)
    at javafx.graphics/com.sun.prism.d3d.D3DResourceFactory.createPresentable(D3DResourceFactory.java:332)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:80)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DRTTexture.createGraphics(D3DRTTexture.java:77)
    at javafx.graphics/com.sun.prism.d3d.D3DResourceFactory.createRTTexture(D3DResourceFactory.java:316)
    at javafx.graphics/com.sun.prism.d3d.D3DResourceFactory.createPresentable(D3DResourceFactory.java:332)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:80)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DRTTexture.createGraphics(D3DRTTexture.java:77)
    at javafx.graphics/com.sun.prism.d3d.D3DResourceFactory.createRTTexture(D3DResourceFactory.java:316)
    at javafx.graphics/com.sun.prism.d3d.D3DResourceFactory.createPresentable(D3DResourceFactory.java:332)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:80)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DRTTexture.createGraphics(D3DRTTexture.java:77)
    at javafx.graphics/com.sun.prism.d3d.D3DResourceFactory.createRTTexture(D3DResourceFactory.java:316)
    at javafx.graphics/com.sun.prism.d3d.D3DResourceFactory.createPresentable(D3DResourceFactory.java:332)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:80)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DRTTexture.createGraphics(D3DRTTexture.java:77)
    at javafx.graphics/com.sun.prism.d3d.D3DResourceFactory.createRTTexture(D3DResourceFactory.java:316)
    at javafx.graphics/com.sun.prism.d3d.D3DResourceFactory.createPresentable(D3DResourceFactory.java:332)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:80)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DRTTexture.createGraphics(D3DRTTexture.java:77)
    at javafx.graphics/com.sun.prism.d3d.D3DResourceFactory.createRTTexture(D3DResourceFactory.java:316)
    at javafx.graphics/com.sun.prism.d3d.D3DResourceFactory.createPresentable(D3DResourceFactory.java:332)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:80)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
It seems like a possible misconfiguration of my system or something relative to this!
Do you have any suggestion?

Thank you in advance!
 

Alexander Stolte

Expert
Licensed User
Longtime User
Update
  • 1.05
    • DayView
      • BugFix
Sometimes it is like a jinx, you change things in B4A, which in turn breaks something in B4J, especially when you work with the xCLV.

I would like to tell you that your work is excellent and definitely time saving! Thank you!
Thank you!
Do you have any suggestion?
Try it with V1.05
 

iz0ndg

Active Member
Licensed User
Longtime User
In the MonthView example this code:
B4X:
    ASScheduler_MonthView1.MonthNameShort = ASSchedulerUtils.CreateASScheduler_MonthNameShort("Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Sett","Ott","Nov","Dic")
'    ASScheduler_MonthView1.WeekNameShort = ASSchedulerUtils.CreateASScheduler_WeekNameShort("Lunedì","Martedì","Mercoledì","Giovedì","Venerdi","Sabato","Domenica")
    ASScheduler_MonthView1.RefreshScheduler
generate an error:
B4X:
B4A line: 64
ASScheduler_MonthView1.MonthNameShort = ASSchedul
src\b4a\example\b4xmainpage.java:419: error: unexpected type
_asscheduler_monthview1._monthnameshort /
*b4a.example.asschedulerutils._asscheduler_monthnameshort*/ () =
 _asschedulerutils._createasscheduler_monthnameshort /
*b4a.example.asschedulerutils._asscheduler_monthnameshort*/
 (ba,"Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Sett","Ott","Nov","Dic");
                                                                                                     ^
  required: variable
  found:    value
1 error
Same with WeekNameShort.
 

vfafou

Well-Known Member
Licensed User
Longtime User
Hello Alexander!
I have tested the v1.07 but I still have the following errors that appear mainly in release mode:
Error:
Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DRTTexture.createGraphics(D3DRTTexture.java:77)
    at javafx.graphics/com.sun.prism.d3d.D3DResourceFactory.createRTTexture(D3DResourceFactory.java:316)
    at javafx.graphics/com.sun.prism.d3d.D3DResourceFactory.createPresentable(D3DResourceFactory.java:332)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:80)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DRTTexture.createGraphics(D3DRTTexture.java:77)
    at javafx.graphics/com.sun.prism.d3d.D3DResourceFactory.createRTTexture(D3DResourceFactory.java:316)
    at javafx.graphics/com.sun.prism.d3d.D3DResourceFactory.createPresentable(D3DResourceFactory.java:332)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:80)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.NullPointerException
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:84)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:207)
    at javafx.graphics/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:151)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:109)
    at javafx.graphics/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:118)
    at javafx.graphics/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
    at javafx.graphics/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:101)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:746)
    at javafx.graphics/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:131)
    at javafx.graphics/com.sun.prism.impl.BaseGraphics.<init>(BaseGraphics.java:106)
    at javafx.graphics/com.sun.prism.impl.ps.BaseShaderGraphics.<init>(BaseShaderGraphics.java:86)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.<init>(D3DGraphics.java:42)
    at javafx.graphics/com.sun.prism.d3d.D3DGraphics.create(D3DGraphics.java:65)
    at javafx.graphics/com.sun.prism.d3d.D3DSwapChain.createGraphics(D3DSwapChain.java:134)
    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:87)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
    at java.base/java.lang.Thread.run(Thread.java:834)
 

Alexander Stolte

Expert
Licensed User
Longtime User
but I still have the following errors that appear mainly in release mode:
I don't have the bug and apparently neither do the others. When I search the error in the forum, I find no answers, when I search Google, I also find no answers.
I need more information.
Which phone? Which SDK level? Already tried on other phones? in emulator? Changed anything on the project?

See if you have the required libraries:
B4j: jXUI,jDateUtils,xCustomListView,ASViewPager,jSQL
B4a: XUi,DateUtils,Reflection,xCustomListView,ASViewPager,SQL
B4i: iXUI,iDateUtils,xCustomListView,ASViewPager,GestureRecognizer,iSQL
 

vfafou

Well-Known Member
Licensed User
Longtime User
I try it with your example in B4J. The libraries are all present as you instructed!
 

Alexander Stolte

Expert
Licensed User
Longtime User
OpenJDK 11.0.1
Hmm, I'm too.
I will open a private chat with you to find out more details.
It seems a bug in OpenJdK
I'm not using the canvas snapshot function.
 

Alexander Stolte

Expert
Licensed User
Longtime User
Update
  • 1.08
    • DayView
      • Add ShowWeekNumbers
        • Default: False
      • Add Designer Property ShowWeekNumbers
      • ASViewPager Adaptations through updates
        • You need ASViewPager V1.29+
DayView - WeekNumber

B4X:
ASScheduler_DayView1.WeekNumberProperties.Color = xui.Color_Black
ASScheduler_DayView1.RefreshScheduler

The next few days I will look at the performance, especially the B4J version has problems when resizing.
 

Alexander Stolte

Expert
Licensed User
Longtime User
Update
  • 1.09
    • DayView
      • Important performance improvements
      • You need ASViewPager V1.31+
B4J Preview

The next few days I will look at the performance, especially the B4J version has problems when resizing.
DayView Done
 

DaOel

Member
Licensed User
Longtime User
This lib looks great.
My UseCase:
User displays his appointments in the view. (this lib obviously can do this)
User selects a date and time. (Does the lib let user select a cell and parses the date & time / or even better UnixTime for me?)

So I end up having the Start Time of the Event. I then close the view again and continue with my code.

Is this possible with this lib?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…