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

NullPointerException in RuleBuilder$RuleBuilderFinished.withTester(RuleBuilder.java:177) #1495

Closed
ttntrifork opened this issue Sep 20, 2019 · 1 comment

Comments

@ttntrifork
Copy link

@ttntrifork ttntrifork commented Sep 20, 2019

Describe the bug
NullPointerException in RuleBuilder$RuleBuilderFinished.withTester(RuleBuilder.java:177)

To Reproduce
Make the following sequence of calls on a RuleBuilder:

var ruleBuilder = new RuleBuilder().allow().metadata().andThen();
ruleBuilder.allow().createConditional().resourcesOfType("anystring").withTester(writeAccessTester).andThen();

where 'writeAccessTester' is any non-null IAuthRuleTester object

Expected behavior
No NullPointerException

Environment (please complete the following information):

  • HAPI FHIR Version: 4.0.0
  • OS: [e.g. iOS]: Windows 10
@jamesagnew

This comment has been minimized.

Copy link
Owner

@jamesagnew jamesagnew commented Sep 20, 2019

Thanks for reporting! Fix coming up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.