Skip to content

Java CI

Java CI #82

GitHub Actions / JUnit Test Report failed Oct 24, 2023 in 0s

24 tests run, 19 passed, 0 skipped, 5 failed.

Annotations

Check failure on line 61 in josm/plugins/MapRoulette/src/test/unit/org/openstreetmap/josm/plugins/maproulette/gui/layer/MapRouletteClusteredPointLayerTest.java

@github-actions github-actions / JUnit Test Report

MapRouletteClusteredPointLayerTest.testShiftSelection()

class [J cannot be cast to class [Ljava.lang.Object; ([J and [Ljava.lang.Object; are in module java.base of loader 'bootstrap')
Raw output
java.lang.ClassCastException: class [J cannot be cast to class [Ljava.lang.Object; ([J and [Ljava.lang.Object; are in module java.base of loader 'bootstrap')
	at org.openstreetmap.josm.plugins.maproulette.api.model.RecordUtils.arrayHashCode(RecordUtils.java:110)
	at org.openstreetmap.josm.plugins.maproulette.api.model.RecordUtils.hashCode(RecordUtils.java:80)
	at org.openstreetmap.josm.plugins.maproulette.api.model.PointReview.hashCode(PointReview.java:31)
	at org.openstreetmap.josm.plugins.maproulette.api.model.ClusteredPoint.hashCode(ClusteredPoint.java:41)
	at org.openstreetmap.josm.plugins.maproulette.gui.layer.MapRouletteClusteredPointLayer.setSelected(MapRouletteClusteredPointLayer.java:319)
	at org.openstreetmap.josm.plugins.maproulette.gui.layer.MapRouletteClusteredPointLayer.mouseClicked(MapRouletteClusteredPointLayer.java:304)
	at org.openstreetmap.josm.plugins.maproulette.gui.layer.MapRouletteClusteredPointLayerTest.testShiftSelection(MapRouletteClusteredPointLayerTest.java:61)

Check failure on line 78 in josm/plugins/MapRoulette/src/test/unit/org/openstreetmap/josm/plugins/maproulette/io/upload/EarlyUploadHookTest.java

@github-actions github-actions / JUnit Test Report

EarlyUploadHookTest.testRegexParsing(String)[4]

class [J cannot be cast to class [Ljava.lang.Object; ([J and [Ljava.lang.Object; are in module java.base of loader 'bootstrap')
Raw output
java.lang.ClassCastException: class [J cannot be cast to class [Ljava.lang.Object; ([J and [Ljava.lang.Object; are in module java.base of loader 'bootstrap')
	at org.openstreetmap.josm.plugins.maproulette.api.model.RecordUtils.arrayHashCode(RecordUtils.java:110)
	at org.openstreetmap.josm.plugins.maproulette.api.model.RecordUtils.hashCode(RecordUtils.java:80)
	at org.openstreetmap.josm.plugins.maproulette.api.model.TaskReviewFields.hashCode(TaskReviewFields.java:34)
	at org.openstreetmap.josm.plugins.maproulette.api.model.Task.hashCode(Task.java:39)
	at org.openstreetmap.josm.plugins.maproulette.io.upload.EarlyUploadHook.checkUpload(EarlyUploadHook.java:103)
	at org.openstreetmap.josm.plugins.maproulette.io.upload.EarlyUploadHookTest.testRegexParsing(EarlyUploadHookTest.java:78)

Check failure on line 78 in josm/plugins/MapRoulette/src/test/unit/org/openstreetmap/josm/plugins/maproulette/io/upload/EarlyUploadHookTest.java

@github-actions github-actions / JUnit Test Report

EarlyUploadHookTest.testRegexParsing(String)[2]

class [J cannot be cast to class [Ljava.lang.Object; ([J and [Ljava.lang.Object; are in module java.base of loader 'bootstrap')
Raw output
java.lang.ClassCastException: class [J cannot be cast to class [Ljava.lang.Object; ([J and [Ljava.lang.Object; are in module java.base of loader 'bootstrap')
	at org.openstreetmap.josm.plugins.maproulette.api.model.RecordUtils.arrayHashCode(RecordUtils.java:110)
	at org.openstreetmap.josm.plugins.maproulette.api.model.RecordUtils.hashCode(RecordUtils.java:80)
	at org.openstreetmap.josm.plugins.maproulette.api.model.TaskReviewFields.hashCode(TaskReviewFields.java:34)
	at org.openstreetmap.josm.plugins.maproulette.api.model.Task.hashCode(Task.java:39)
	at org.openstreetmap.josm.plugins.maproulette.io.upload.EarlyUploadHook.checkUpload(EarlyUploadHook.java:103)
	at org.openstreetmap.josm.plugins.maproulette.io.upload.EarlyUploadHookTest.testRegexParsing(EarlyUploadHookTest.java:78)

Check failure on line 78 in josm/plugins/MapRoulette/src/test/unit/org/openstreetmap/josm/plugins/maproulette/io/upload/EarlyUploadHookTest.java

@github-actions github-actions / JUnit Test Report

EarlyUploadHookTest.testRegexParsing(String)[3]

class [J cannot be cast to class [Ljava.lang.Object; ([J and [Ljava.lang.Object; are in module java.base of loader 'bootstrap')
Raw output
java.lang.ClassCastException: class [J cannot be cast to class [Ljava.lang.Object; ([J and [Ljava.lang.Object; are in module java.base of loader 'bootstrap')
	at org.openstreetmap.josm.plugins.maproulette.api.model.RecordUtils.arrayHashCode(RecordUtils.java:110)
	at org.openstreetmap.josm.plugins.maproulette.api.model.RecordUtils.hashCode(RecordUtils.java:80)
	at org.openstreetmap.josm.plugins.maproulette.api.model.TaskReviewFields.hashCode(TaskReviewFields.java:34)
	at org.openstreetmap.josm.plugins.maproulette.api.model.Task.hashCode(Task.java:39)
	at org.openstreetmap.josm.plugins.maproulette.io.upload.EarlyUploadHook.checkUpload(EarlyUploadHook.java:103)
	at org.openstreetmap.josm.plugins.maproulette.io.upload.EarlyUploadHookTest.testRegexParsing(EarlyUploadHookTest.java:78)

Check failure on line 78 in josm/plugins/MapRoulette/src/test/unit/org/openstreetmap/josm/plugins/maproulette/io/upload/EarlyUploadHookTest.java

@github-actions github-actions / JUnit Test Report

EarlyUploadHookTest.testRegexParsing(String)[1]

class [J cannot be cast to class [Ljava.lang.Object; ([J and [Ljava.lang.Object; are in module java.base of loader 'bootstrap')
Raw output
java.lang.ClassCastException: class [J cannot be cast to class [Ljava.lang.Object; ([J and [Ljava.lang.Object; are in module java.base of loader 'bootstrap')
	at org.openstreetmap.josm.plugins.maproulette.api.model.RecordUtils.arrayHashCode(RecordUtils.java:110)
	at org.openstreetmap.josm.plugins.maproulette.api.model.RecordUtils.hashCode(RecordUtils.java:80)
	at org.openstreetmap.josm.plugins.maproulette.api.model.TaskReviewFields.hashCode(TaskReviewFields.java:34)
	at org.openstreetmap.josm.plugins.maproulette.api.model.Task.hashCode(Task.java:39)
	at org.openstreetmap.josm.plugins.maproulette.io.upload.EarlyUploadHook.checkUpload(EarlyUploadHook.java:103)
	at org.openstreetmap.josm.plugins.maproulette.io.upload.EarlyUploadHookTest.testRegexParsing(EarlyUploadHookTest.java:78)