Comments (6)
@dsgrieve Turns out it was a case of PEBCAK.
The project was pulling an old version of the library and using it rather than tip. I've fixed the build issue on my end and have confirmed the NPE is gone with the updates.
We can close this, or you can close it with 3.0.5 release, depending on which you prefer.
from gctoolkit.
@kcpeppe are you able to take a look before we cut the next release? Note this bug was on tip
from gctoolkit.
I believe bug has been addressed in the current PR
from gctoolkit.
Does that mean that the change is in place and I can validate it with the current tip, or is it still pending a merge?
from gctoolkit.
I'm still able to reproduce the issue locally, though I'm not able to reproduce the problem with the sample app or with a very basic implementation using current tip (April 9, 2024).
I'm going to look into this some more, and will post an update when I figure out what the problem is, but I'm not 100% certain it's in the library code.
from gctoolkit.
@Bluetopia - Do you have your own Aggregator/Aggregations? If so, is it one of those that is giving you the NPE? And if so, are you sure the aggregators are receiving events and that the aggregation are collecting data? If the code is trying to get the estimatedStartTime from an aggregation that is never called, then you'll get the NPE.
A lot of things can happen that will cause an Aggregator/Aggregation to be excluded. If you set -Dgctoolkit.debug=true
you will get some additional debug info printed to System.out. If there is some issue with how your Aggregator/Aggregations are wired, you'll see that right away. By "wired" I mean all of the ceremony of @Aggregates
, @Collates
and a public Aggregator constructor that takes the proper type of Aggregation.
@kcpeppe - You should run the gc log that Bluetopia attached to this issue through the Main program in the sample directory. Are those the results you'd expect?
from gctoolkit.
Related Issues (20)
- Java 17 Parallel Old/New Parsing has altered from JDK 11, impacting what is reported as promoted bytes and what is reported in young gen HOT 2
- Memory pool size data HOT 2
- IllegalStateException: Already undeployed HOT 5
- Don't need of additional stream. HOT 2
- VertxJVMEventChannel could not be instantiated HOT 4
- Gctoolkit doesnt parse this log HOT 5
- GCtoolkit doesnt find the full gc pattern HOT 2
- How do code with GitHub without installing git
- UnifiedG1GCParser doesn't recognize survivor & eden occupancy HOT 3
- Unified Log new Decorator not supported HOT 1
- [Question] Why GenerationalHeapParser ignored CMS Concurrent Event and Remark but only recognized InitialMark? HOT 9
- CMSTenuredPoolParser does not parse initialMark and CMSRemark correctly
- Should ConcurrentModeFailure and ConcurrentModeInterrupted implement CMSPhase ? HOT 8
- new release request HOT 6
- [I/O] GCLogFile.diary() open the file 2 times and don't release it HOT 1
- AbstractJavaVirtualMachine.getCommandLine() is currently stubbed out, can't retrieve CLI parameters for Pre-Unified log. HOT 2
- GCToolKit support for simple logs
- Generational parser does not seem to handle GC Cause included in young event. HOT 4
- GCToolKit cannot parse `G1Young` event from JDK8's gc log. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gctoolkit.