Opened 4 years ago
Last modified 13 months ago
#19750 closed defect
IllegalArgumentException: null primitive in selection — at Initial Version
Reported by: | gaben | Owned by: | Biswesh |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin pt_assistant | Version: | |
Keywords: | template_report | Cc: | michael2402, floscher, Polyglot |
Description
What steps will reproduce the problem?
- Download this relation https://www.openstreetmap.org/relation/10975571
- Run validator
- Apply PT assistant auto fix
What is the expected result?
No crash
What happens instead?
A nice exception
Please provide any additional information below. Attach a screenshot if possible.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2020-08-31 22:55:53 +0200 (Mon, 31 Aug 2020) Build-Date:2020-09-01 01:30:50 Revision:16996 Relative:URL: ^/trunk Identification: JOSM/1.5 (16996 hu) Windows 10 64-Bit OS Build number: Windows 10 Pro for Workstations 2004 (19041) Memory Usage: 1531 MB / 1820 MB (504 MB allocated, but free) Java version: 1.8.0_261-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920x1200 (scaling 1.0x1.0) Maximum Screen Size: 1920x1200 Best cursor sizes: 16x16 -> 32x32, 32x32 -> 32x32 VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\31\583aa85f-29eff323, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=NULL,2048m, -Djnlpx.splashport=49292, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm-latest.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe] Dataset consistency test: No problems found Plugins: + ImportImagePlugin (35248) + OpeningHoursEditor (35414) + apache-commons (35524) + buildings_tools (35500) + continuosDownload (91) + ejml (35313) + geotools (35169) + gridify (1588746833) + jaxb (35092) + jts (35122) + log4j (35092) + opendata (35513) + pt_assistant (2.1.10-80-g7d9bba3) + reverter (35499) + tageditor (35258) + turnlanes-tagging (283) + utilsplugin2 (35487) + wikipedia (1.1.4) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Healthcare&zip=1 Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Surface-DataEntry&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1 Last errors/warnings: - 00034,137 W: Unsupported match type class org.openstreetmap.josm.data.osm.search.SearchCompiler$Any: opening_hours - 00942,707 E: Handled by bug report queue: java.lang.IllegalArgumentException: null primitive in selection === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-2 (57) of javawsApplicationThreadGroup java.lang.IllegalArgumentException: null primitive in selection at org.openstreetmap.josm.command.SelectCommand.<init>(SelectCommand.java:38) at org.openstreetmap.josm.plugins.pt_assistant.validation.Checker.fixErrorByZooming(Checker.java:150) at org.openstreetmap.josm.plugins.pt_assistant.validation.SegmentChecker.fixError(SegmentChecker.java:831) at org.openstreetmap.josm.plugins.pt_assistant.validation.PTAssistantValidatorTest.fixError(PTAssistantValidatorTest.java:513) at org.openstreetmap.josm.data.validation.TestError.getFix(TestError.java:433) at org.openstreetmap.josm.gui.dialogs.ValidatorDialog$FixTask.fixError(ValidatorDialog.java:630) at org.openstreetmap.josm.gui.dialogs.ValidatorDialog$FixTask.realRun(ValidatorDialog.java:658) at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:94) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:142) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Note:
See TracTickets
for help on using tickets.