Skip to content

Commit 8b46c34

Browse files
committed
POM: pin to ij1-patcher 2.0.0
This release of ij1-patcher improves the HeadlessGenericDialog to handle null label strings without throwing NullPointerException. The fix is necessary because starting with ImageJ v1.54k, the ParticleAnalyzer now uses a trailing null label in its checkbox group: imagej/ImageJ@ccd0b31#diff-4ae3c0fe91258b8099f1c51de5a3923f4aaf08d90699f6b76d923d0a5fb06944R348-R361 Consequently, only when running headlessly, the testPaulsMacro integration test failed because the ParticleAnalyzer silently crashed the executed macro, yielding wrong (and inconsistent!) results. With this fix in place, Paul's macro once again works as intended.
1 parent 685df8e commit 8b46c34

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@
180180

181181
<!-- NB: Deploy releases to the SciJava Maven repository. -->
182182
<releaseProfiles>sign,deploy-to-scijava</releaseProfiles>
183+
184+
<!-- TEMP: Until pom-scijava 42.0.0 is released. -->
185+
<ij1-patcher.version>2.0.0</ij1-patcher.version>
183186
</properties>
184187

185188
<repositories>

0 commit comments

Comments
 (0)