Error rendering a lot of blazes
See original GitHub issuePrerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Running the latest version of Constellation
- Attached the Support Package via
Help
>Support Package
- Checked the FAQs: https://github.com/constellation-app/constellation/wiki/FAQ
- Checked that your issue isn’t already filed: https://github.com/constellation-app/constellation/issues
- Checked that there is not already a module that provides the described functionality: https://github.com/constellation-app/constellation/wiki/Catalogue-of-Repositories
Description
With a lot of blazes on a graph if you try to zoom in and out, it eventually causes a graphics card error and you can’t interact with the graph anymore.
java.lang.NullPointerException
at au.gov.asd.tac.constellation.graph.StoreGraph.getObjectValue(StoreGraph.java:1772)
at au.gov.asd.tac.constellation.visualgraph.display.GraphVisualAccess.getBlazed(GraphVisualAccess.java:920)
at au.gov.asd.tac.constellation.display.renderer.batcher.BlazeBatcher.bufferBlaze(BlazeBatcher.java:147)
at au.gov.asd.tac.constellation.display.renderer.batcher.BlazeBatcher.fillBatch(BlazeBatcher.java:140)
at au.gov.asd.tac.constellation.display.renderer.batcher.BlazeBatcher.updateBlazes(BlazeBatcher.java:105)
at au.gov.asd.tac.constellation.display.renderer.GraphRenderable.lambda$getChangeProcessor$21(GraphRenderable.java:255)
at au.gov.asd.tac.constellation.visualsupport.display.VisualProcessor.lambda$null$1(VisualProcessor.java:289)
at java.util.ArrayList.forEach(ArrayList.java:1249)
at au.gov.asd.tac.constellation.visualsupport.display.VisualProcessor.lambda$processChangeSet$2(VisualProcessor.java:288)
at java.util.HashMap.forEach(HashMap.java:1288)
at au.gov.asd.tac.constellation.visualsupport.display.VisualProcessor.processChangeSet(VisualProcessor.java:286)
at au.gov.asd.tac.constellation.visualsupport.display.VisualProcessor.lambda$update$0(VisualProcessor.java:200)
[catch] at java.lang.Thread.run(Thread.java:748)
There was a GL error around the same time which was GLReadBufferUtil.readPixels: readPixels error 0x502 1038x633
Steps to Reproduce
- [First Step]
- [Second Step]
- [and so on…]
Expected behaviour: [What you expect to happen]
Actual behaviour: [What actually happens]
Reproduces how often: [What percentage of the time does it reproduce?]
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
How to solve too many re-renders error in ReactJS?
“Too many re-renderers” is a React error that happens after you have reached an infinite render loop, typically caused by code that in...
Read more >Anyone know what caused this error? : r/ModdedMinecraft
The game crashed whilst unexpected error Error: java.lang. ... It was rendering problem with optiforge or something like that.
Read more >Dynamic imports cause Blaze UI breakage in Safari 10/11 ...
Importing Blaze-templates via dynamic import() s causes strange UI breaking, but only on Safari (so far at least).
Read more >How to re-render meteor blaze template when local array ...
The problem is the option list is not a reactive data source, it's just a vanilla array. So when the Templace.instance().options array ...
Read more >Reusable components in Blaze - BlazeJS
There are two primary reasons for this: When using the data in the sub-component, it's a lot clearer what you are accessing; {{todo.title}}...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Finally, it loaded. (In 44 minutes, with additional views closed) But couldn’t recreate the original error, although working with this graph is super slow. Attached a gif.
Swapping tabs make the constellation to go “Not Responding”, if the other graphs are also big. With smaller other graphs, no problem.
Oh wow. Thank you for giffing it and for the patience. I should have asked what the spec of your computer was…
Most of the delay will be with the graphics card trying to render the graph Constellation built.
So I think it is safe to say this issue is no longer a problem!
Thank you for your patience with testing this graph @Auriga2.