-
Notifications
You must be signed in to change notification settings - Fork 12
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
CommonTest.testToBitTypeImgPlus throws NullPointerException #100
Comments
The issue has been reproduced in two environments with different versions of Maven and JVM. On my computer they are I was able to find the exact line by running |
Spoke too soon, issue still persisted (hence the broken build). I thought the problem had solved itself, because a Maven build succeeded on my local machine, when I ran As far as I can see, the test shouldn't need this annotation. I don't yet understand why it succeeds only when ran together with the |
@rimadoma I have had the same issue in some ElllipsoidFactorWrapper tests |
The workaround annotation for issue #100 doesn't seem to be necessary any more.
@alessandrofelder See if you can remove the annotations now too |
The test throws a
NullPointerException
here. Ultimately the cause is that the fieldij1Helper
innet.imagej.legacy.LegacyService
isnull
. However, the exception only happens if the test is run from Maven! When I run the test in IntelliJ, it passes.Steps to reproduce
pom-scijava:21.0.0
or newerscijava-common:2.70.0
imagej-legacy
(run time)@Ignore
annotation from the aforementioned test if necessarymvn test
The text was updated successfully, but these errors were encountered: