Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the stats reporting for the java scrooge thrift code generation #38

Merged
merged 1 commit into from
Feb 11, 2013
Merged

Fix the stats reporting for the java scrooge thrift code generation #38

merged 1 commit into from
Feb 11, 2013

Conversation

dispalt
Copy link
Contributor

@dispalt dispalt commented Jan 11, 2013

Currently Java client code throws an NPE upon a client instantiation. The order of operations makes the stats object initialize before the statsReceiver is assigned. This makes it a lazy function instead.

UPDATE: This is particularly target 3.0.3 (which I had to build myself) but the same pattern is in 3.0.1

…which throws java errors upon a client instantiation. The order of operations makes the stats object initialize before the statsReceiver is assigned.
@vadims
Copy link

vadims commented Feb 6, 2013

is there an update for this pull request?

@caniszczyk
Copy link
Contributor

ping @chunyan

@vadims
Copy link

vadims commented Feb 9, 2013

@chunyan any chance this can be merged soon since the java code generation has been broken (runtime, not compile time) for a while?

chunyan pushed a commit that referenced this pull request Feb 11, 2013
Fix the stats reporting for the java scrooge thrift code generation
@chunyan chunyan merged commit c67072f into twitter:master Feb 11, 2013
@chunyan
Copy link
Contributor

chunyan commented Feb 11, 2013

Sorry for the delay! Thanks much for the fix, @ddispaltro

@vadims
Copy link

vadims commented Feb 11, 2013

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants