Opened 3 years ago
Closed 3 years ago
#22093 closed defect (othersoftware)
CCE in Geometry.polygonIntersectionResult
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description
Don't know what happened. Opened 1 data layer, 1 gpx, 1 imagerie. First modification was trying to move a node.
What steps will reproduce the problem?
What is the expected result?
What happens instead?
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: 2022-04-04 22:26:00 +0200 (Mon, 04 Apr 2022) Build-Date:2022-04-05 01:30:55 Revision:18427 Relative:URL: ^/trunk Identification: JOSM/1.5 (18427 fr) Windows 7 64-Bit OS Build number: Windows 7 Home Premium (7601) Memory Usage: 463 MB / 878 MB (258 MB allocated, but free) Java version: 1.8.0_151-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1366×768 (scaling 1.00×1.00) Maximum Screen Size: 1366×768 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: Cp1252 System property sun.jnu.encoding: Cp1252 Locale info: fr_FR Numbers with default locale: 1234567890 -> 1234567890 Dataset consistency test: No problems found Plugins: + DirectUpload (35951) + apache-commons (35924) + apache-http (35924) + continuosDownload (99) + ejml (35924) + geotools (35959) + jackson (35958) + jaxb (35952) + jna (35924) + jts (35924) + opendata (35910) + poly (35893) + reltoolbox (35893) + reverter (35972) + scripting (30798) + todo (30306) + turnrestrictions (35893) + utilsplugin2 (35970) Map paint styles: + <josm.pref>\elemstyles_JB.mapcss Last errors/warnings: - 00013.066 W: Mettre à jour - Vous avez mis à jour votre logiciel JOSM. Les greffons devraient aussi être mis à jour pour éviter les conflits. Voulez-vous les mettre à jour maintenant ? - 00075.650 W: Region [TMS_BLOCK_v2] : Problem verifying disk. - 00357.141 E: Handled by bug report queue: java.lang.ClassCastException: cannot be cast to sun.awt.geom.Curve === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (18) of main java.lang.ClassCastException: cannot be cast to sun.awt.geom.Curve at sun.awt.geom.AreaOp.addEdges(Unknown Source) at sun.awt.geom.AreaOp.calculate(Unknown Source) at java.awt.geom.Area.intersect(Unknown Source) at org.openstreetmap.josm.tools.Geometry.polygonIntersectionResult(Geometry.java:637) at org.openstreetmap.josm.tools.Geometry.polygonIntersection(Geometry.java:624) at org.openstreetmap.josm.tools.DefaultGeoProperty.get(DefaultGeoProperty.java:53) at org.openstreetmap.josm.tools.DefaultGeoProperty.get(DefaultGeoProperty.java:17) at org.openstreetmap.josm.tools.GeoPropertyIndex$GPLevel.<init>(GeoPropertyIndex.java:76) at org.openstreetmap.josm.tools.GeoPropertyIndex$GPLevel.getBounded(GeoPropertyIndex.java:140) at org.openstreetmap.josm.tools.GeoPropertyIndex$GPLevel.get(GeoPropertyIndex.java:81) at org.openstreetmap.josm.tools.GeoPropertyIndex.get(GeoPropertyIndex.java:49) at org.openstreetmap.josm.tools.Territories.lambda$getRegionalTaginfoUrls$4(Territories.java:237) at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) at java.util.HashMap$EntrySpliterator.forEachRemaining(Unknown Source) at java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(Unknown Source) at java.util.stream.StreamSpliterators$DistinctSpliterator.forEachRemaining(Unknown Source) at java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.util.stream.ReduceOps$ReduceTask.doLeaf(Unknown Source) at java.util.stream.ReduceOps$ReduceTask.doLeaf(Unknown Source) at java.util.stream.AbstractTask.compute(Unknown Source) at java.util.concurrent.CountedCompleter.exec(Unknown Source) at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) at java.util.concurrent.ForkJoinPool$WorkQueue.pollAndExecCC(Unknown Source) at java.util.concurrent.ForkJoinPool.helpComplete(Unknown Source) at java.util.concurrent.ForkJoinPool.externalHelpComplete(Unknown Source) at java.util.concurrent.ForkJoinTask.externalAwaitDone(Unknown Source) at java.util.concurrent.ForkJoinTask.doInvoke(Unknown Source) at java.util.concurrent.ForkJoinTask.invoke(Unknown Source) at java.util.stream.ReduceOps$ReduceOp.evaluateParallel(Unknown Source) at java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.util.stream.ReferencePipeline.collect(Unknown Source) at org.openstreetmap.josm.tools.Territories.getRegionalTaginfoUrls(Territories.java:242) at org.openstreetmap.josm.gui.dialogs.properties.PropertiesDialog.setupTaginfoNationalActions(PropertiesDialog.java:380) at org.openstreetmap.josm.gui.dialogs.properties.PropertiesDialog.selectionChanged(PropertiesDialog.java:730) at org.openstreetmap.josm.data.osm.event.SelectionEventManager$DataListenerInfo.fire(SelectionEventManager.java:57) at org.openstreetmap.josm.data.osm.event.SelectionEventManager.fireEvent(SelectionEventManager.java:159) at org.openstreetmap.josm.data.osm.event.SelectionEventManager.lambda$selectionChanged$0(SelectionEventManager.java:150) at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:246) at org.openstreetmap.josm.data.osm.event.SelectionEventManager.selectionChanged(SelectionEventManager.java:150) at org.openstreetmap.josm.data.osm.DataSet.lambda$doSelectionChange$15(DataSet.java:760) at org.openstreetmap.josm.tools.ListenerList.fireEvent(ListenerList.java:155) at org.openstreetmap.josm.data.osm.DataSet.doSelectionChange(DataSet.java:760) at org.openstreetmap.josm.data.osm.DataSet.setSelected(DataSet.java:691) at org.openstreetmap.josm.data.osm.DataSet.setSelected(DataSet.java:682) at org.openstreetmap.josm.actions.mapmode.SelectAction.selectPrims(SelectAction.java:1005) at org.openstreetmap.josm.actions.mapmode.SelectAction.mousePressed(SelectAction.java:445) at java.awt.AWTEventMulticaster.mousePressed(Unknown Source) at java.awt.AWTEventMulticaster.mousePressed(Unknown Source) at java.awt.AWTEventMulticaster.mousePressed(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Attachments (0)
Change History (5)
comment:1 by , 3 years ago
comment:3 by , 3 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
Summary: | Crash → CCE in Geometry.polygonIntersectionResult |
As a followup on comment:1, you can use OpenWebStart with josm.jnlp. I believe OpenWebStart will automatically install Java updates, and will definitely auto update JOSM.
At this time, we are generally recommending Java 11+, with a heavy preference for Java 17 (see #17858).
In any case, please let us know if updating Java fixed the problem.
comment:4 by , 3 years ago
Hello,
It seems to be working now, with an newer Java version.
Thanks for the info of changing it.
comment:5 by , 3 years ago
Resolution: | → othersoftware |
---|---|
Status: | needinfo → closed |
Thank you for coming back and letting us know that updating Java fixed the problem.
Might be a problem with your very old Java version. Please update.