Giter Site home page Giter Site logo

Comments (6)

Bluetopia avatar Bluetopia commented on June 12, 2024 1

@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.

karianna avatar karianna commented on June 12, 2024

@kcpeppe are you able to take a look before we cut the next release? Note this bug was on tip

from gctoolkit.

kcpeppe avatar kcpeppe commented on June 12, 2024

I believe bug has been addressed in the current PR

from gctoolkit.

Bluetopia avatar Bluetopia commented on June 12, 2024

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.

Bluetopia avatar Bluetopia commented on June 12, 2024

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.

dsgrieve avatar dsgrieve commented on June 12, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.