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

Null Pointer on artifact research #763

Open
tuomount opened this issue Oct 11, 2024 · 0 comments
Open

Null Pointer on artifact research #763

tuomount opened this issue Oct 11, 2024 · 0 comments
Labels
bug Verified bug which needs fixing Wait for verify Issue has been implemented but needs verification that it works.
Milestone

Comments

@tuomount
Copy link
Owner

Null pointer exception:
java.lang.NullPointerException
at org.openRealmOfStars.player.artifact.ArtifactLists.updateResearchPointByTurn(ArtifactLists.java:341)
at org.openRealmOfStars.game.state.AITurnView.handleAiTurn(AITurnView.java:3788)
at org.openRealmOfStars.game.GameTest.testRunFullGameLongWith12Realms(GameTest.java:407)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Also it looks like artifact research is done even there are no artifacts left to study. This also needs to be fixed.

@tuomount tuomount added the bug Verified bug which needs fixing label Oct 11, 2024
@tuomount tuomount added this to the 0.27.0 milestone Oct 11, 2024
tuomount added a commit that referenced this issue Oct 12, 2024
Fixes issue where artifacts are studied even players do not have them.
@tuomount tuomount added the Wait for verify Issue has been implemented but needs verification that it works. label Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified bug which needs fixing Wait for verify Issue has been implemented but needs verification that it works.
Projects
None yet
Development

No branches or pull requests

1 participant