Opened 2 years ago
Closed 20 months ago
#22381 closed defect (fixed)
[PATCH] Error when trying to open a shape file
Reported by: | angoca | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 23.03 |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description
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-08-29 16:59:00 +0200 (Mon, 29 Aug 2022) Build-Date:2022-08-30 01:30:57 Revision:18543 Relative:URL: ^/trunk Identification: JOSM/1.5 (18543 en) Mac OS X 10.15.7 OS Build number: Mac OS X 10.15.7 (19H2026) Memory Usage: 603 MB / 3641 MB (182 MB allocated, but free) Java version: 1.8.0_341-b10, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Look and Feel: com.apple.laf.AquaLookAndFeel Screen: Display 731408969 1920×1080 (scaling 1.00×1.00) Display 69731270 1440×900 (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→16×16, 32×32→32×32 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_CO Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djava.security.policy=file:<java.home>/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/56/1ee8cfb8-3efcff58, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Dmacosx.jnlpx.dock.name=JOSM, -Dmacosx.jnlpx.dock.icon=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/25/4c122699-7a1c6b48.icns, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp , -Djnlpx.jvm="<java.home>/bin/java"] Dataset consistency test: No problems found Plugins: + FastDraw (35978) + Mapillary (2.0.0-beta.17) + PicLayer (1.0.2) + apache-commons (36003) + apache-http (35924) + buildings_tools (36011) + continuosDownload (101) + damn (0.6.0) + ejml (35924) + geotools + imagery-xml-bounds (35976) + imagery_offset_db (35978) + jaxb (35952) + jna (36005) + jts (36004) + log4j (36007) + notesolver (0.4.2) + opendata (36011) + photo_geotagging (35933) + pt_assistant (1ff2e15) + reverter (36011) + tageditor (36011) + terracer (35978) + turnlanes-tagging (v0.0.5) + turnrestrictions (36011) + undelete (36011) + utilsplugin2 (36011) + wms-turbo-challenge2 (35939) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/SITP-Transmilenio&zip=1 Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/NumberedCycleNodeNetworks&zip=1 Validator rules: + https://raw.githubusercontent.com/MaptimeBogota/ColombianJosmValidator/main/Rules_Colombian-specific.validator.mapcss Last errors/warnings: - 116693.411 E: Conflicts detected - <html>Uploading <strong>failed</strong> because the server has a newer version of one<br>of your nodes, ways, or relations.<br>The conflict is caused by the <strong>relation</strong> with id <strong>1,303,962</strong>,<br>the server has version 72, your version is 71.<br><br>Click <strong>Synchronize relation 1,303,962 only</strong> to synchronize the conflicting primitive only.<br>Click <strong>Synchronize entire dataset</strong> to synchronize the entire local dataset with the server.<br>Click <strong>Cancel</strong> to abort and continue editing.<br></html> - 116711.843 W: Conflicts detected - <html>There were 2 conflicts detected.</html> - 117791.900 E: Handled by bug report queue: java.lang.NoClassDefFoundError: org/opengis/referencing/operation/TransformException. Cause: java.lang.ClassNotFoundException: org.opengis.referencing.operation.TransformException - 117805.435 E: Handled by bug report queue: java.lang.NoClassDefFoundError: org/opengis/referencing/operation/TransformException. Cause: java.lang.ClassNotFoundException: org.opengis.referencing.operation.TransformException - 117840.012 E: null is NOT valid - 117840.012 E: Reason: cvc-elt.1.a: Cannot find the declaration of element 'metadata'. - 117849.480 E: Handled by bug report queue: java.lang.NoClassDefFoundError: org/opengis/referencing/operation/TransformException. Cause: java.lang.ClassNotFoundException: org.opengis.referencing.operation.TransformException - 117872.474 E: Handled by bug report queue: java.lang.NoClassDefFoundError: org/opengis/referencing/operation/TransformException. Cause: java.lang.ClassNotFoundException: org.opengis.referencing.operation.TransformException - 117909.998 E: Handled by bug report queue: java.lang.NoClassDefFoundError: org/opengis/referencing/operation/TransformException. Cause: java.lang.ClassNotFoundException: org.opengis.referencing.operation.TransformException - 117920.055 E: Handled by bug report queue: java.lang.NoClassDefFoundError: org/opengis/referencing/operation/TransformException. Cause: java.lang.ClassNotFoundException: org.opengis.referencing.operation.TransformException === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: main-worker-0 (62) of javawsApplicationThreadGroup java.lang.NoClassDefFoundError: org/opengis/referencing/operation/TransformException at org.openstreetmap.josm.plugins.opendata.core.io.geographic.ShpImporter.parseDataSet(ShpImporter.java:32) at org.openstreetmap.josm.gui.io.importexport.OsmImporter.loadLayer(OsmImporter.java:121) at org.openstreetmap.josm.gui.io.importexport.OsmImporter.importData(OsmImporter.java:97) at org.openstreetmap.josm.plugins.opendata.core.io.AbstractImporter.importData(AbstractImporter.java:59) at org.openstreetmap.josm.gui.io.importexport.FileImporter.importDataHandleExceptions(FileImporter.java:103) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFileAction.java:401) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:350) 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(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) Caused by: java.lang.ClassNotFoundException: org.opengis.referencing.operation.TransformException at org.openstreetmap.josm.plugins.PluginClassLoader.loadClass(PluginClassLoader.java:92) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 14 more
Attachments (1)
Change History (10)
comment:1 by , 2 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 2 years ago
Hi,
I updated plugins, it was saying something that "Jackson" was missing. Not sure if that correct the error, but after this, everything is working good.
This is the Shape file: https://geoportal.dane.gov.co/descargas/mgn_2021/MGN2021_MPIO_POLITICO.rar
comment:3 by , 2 years ago
Component: | Plugin opendata → Plugin geotools |
---|---|
Owner: | changed from | to
Status: | needinfo → new |
Thanks, good to know that is working, now.
Seems to be a problem with updating the geotools plugin which needs to install the plugins it depends on.
comment:4 by , 23 months ago
Component: | Plugin geotools → Core |
---|
I think this is a bug in the JOSM update code -- it should be checking the list of dependencies for updated plugins against the list of installed plugins, and asking for confirmation if the updated plugin has a new dependency.
by , 23 months ago
Attachment: | 22381.patch added |
---|
comment:5 by , 23 months ago
Milestone: | → 23.01 |
---|
comment:6 by , 22 months ago
Summary: | Error when trying to open a shape file → [PATCH] Error when trying to open a shape file |
---|
Replying to angoca:
The missing version number of the plugin could be an indication that the plugin is not loaded properly. Please, try to reinstall the geotools plugin. Does it help? Is it possible to share your shape file?