Git Product home page Git Product logo

dxf-import's Introduction

Supplemental information for JOSM -- the Java OpenStreetMap Editor

=============================================================================
            I. Install & Launch
=============================================================================

Installation notes
------------------
To run JOSM, you need:

* The JOSM .jar file, e.g., josm-tested.jar or josm-latest.jar
* Java Runtime Environment (JRE) 11, or later.


How to get Java Runtime Environment
-----------------------------------
You need JRE Version 11, or later.

Microsoft Windows and Apple macOS users should visit one of:
- https://www.azul.com/downloads/?package=jdk#download-openjdk
- https://bell-sw.com/pages/downloads/#mn
and download the latest Java executable for their system.

Linux users should visit http://www.oracle.com/technetwork/java/index.html
There is a Linux binary installer, which you must execute from a console, or
use the mechanism of your distribution's packaging system.


How to launch
-------------
Microsoft Windows users launch by double-clicking on the .jar file.
If this does not work, open a command shell and type
"java -jar josm-latest.jar"  in the directory that holds the file. (Please
replace josm-latest.jar with the name of your .jar file, if you aren't using
the latest version.)

Under Linux, open a shell, go to the file directory and type
"java -jar josm-latest.jar" to launch. If this does not work, try to set
your JAVA_HOME variable to the java executable location (the root location,
not the bin).

macOS users just click on the .jar file icon.

=============================================================================
            II. Development
=============================================================================

How to get the source code
--------------------------
Download it directly from the subversion at
https://josm.openstreetmap.de/svn/trunk. To use the command line subversion
client, type

svn co https://josm.openstreetmap.de/svn/trunk josm


Files & directories
-------------------
This is an overview of the files and directories in the JOSM code repository:
- build.xml                 ant build file (standard way to create a JOSM binary)
- CONTRIBUTION              list of major code contributors
- gpl-2.0.txt, gpl-3.0.txt  full text of the GNU General Public License
- LICENSE                   the JOSM license terms
- native/                   OS-specific files
  - linux/                  files useful for Linux distributions, including Appdata files, .desktop
                            files, Debian/Ubuntu scripts, man pages, icons, etc.
  - macosx/                 files needed to create the MacOS package
  - windows/                files needed to create the Windows installer
  - josm.jnlp               Java Web Start launcher file (used on the website for the tested version)
  - josm-latest.jnlp        Java Web Start launcher file (used on the website for the latest version)
- nodist/                   files not included in JOSM binary
  - data/                   data files that are useful for development, but not distributed
    - exif-direction-example.jpg
                            sample image, that contains direction information in the EXIF header
                            (keys: Exif.GPSInfo.GPSImgDirectionRef, Exif.GPSInfo.GPSImgDirection)
    - filterTests.osm       used for unit testing of the filter feature
                            (see test/unit/org/openstreetmap/josm/data/osm/FilterTest.java)
    - Join_Areas_Tests.osm  some examples to test the 'join areas' feature
    - *.*                   various other data files used for unit testing and as reference file
    - projection/           projection files
      - *.gsb               NTv2 grid files for projection support, downloaded by the
                            client on demand (see CONTRIBUTION)
      - CHENyx06-Distribution.pdf
                            archive of terms of use for the CHENyx06.gsb file
      - epsg                EPSG data file, taken from the proj.4 project
                            (see https://github.com/OSGeo/proj.4/blob/master/nad/epsg)
      - esri                ESRI data file, taken from the proj.4 project
                            (see https://github.com/OSGeo/proj.4/blob/master/nad/esri)
      - josm-epsg           customizations to the epsg file, used together with the epsg file
                            to generate data/projection/custom-epsg
                            
      - projection-reference-data.csv
                            reference data for projection tests
                            (see test/unit/org/openstreetmap/josm/data/projection/ProjectionRefTest.java)
      - projection-regression-test-data.csv
                            regression data for projection tests
                            (see test/unit/org/openstreetmap/josm/data/projection/ProjectionRegressionTest.java)
    - trans/*.lang          translation data for files that are not distributed, but used
                            by the server for localization of the services;
                            currently contains plugin descriptions in order to include translations
                            in the downloaded plugin list
  - images/                 images, which are not for distribution, but may be useful later (e.g. high
                            resolution and vector versions)
  - styles/                 files needed for map style maintenance
- README                    this file
- resources/                resource files that will be included in the JOSM jar file
  - data/                   data files that will be included in the JOSM jar file
    - fonts/                font files used for map rendering
    - gpx/                  different color gradients for gpx drawing
    - projection/           projection files
      - custom-epsg         list of projection definitions, auto-generated file created by ant task 'epsg'
    - security/*.pem        certificates that we like to accept for TLS connections, but are missing in the
                            default Java certificate store
    - validator/            data files used by the JOSM validator
      - *.cfg               files designed for the old tagchecker, still in use
      - *.mapcss            default validation rules for the MapCSS-based tagchecker
    - boundaries.osm        OSM file containing boundary data for the states of the earth, including
                            data for right and left-hand traffic
    - defaultpresets.xml    data file for the core tagging presets
    - help-browser.css      CSS file for the help sites (HTML content is downloaded from the website
                            on demand, but displayed inside the programm in a Java web browser component.)
    - *.lang                translation data
    - *.xsd                 xml schema files for validation of configuration files
  - images/                 images distributed with the JOSM binary
    - icons                 images for the Potlatch 2 style
    - presets               images for the main mappaint style and the internal presets
  - styles/                 map styles included in JOSM
- scripts/                  various scripts used by JOSM developers
  - BuildProjectionDefinitions.java
                            called from the ant build file to combine the files epsg and josm-epsg
                            to create the custom-epsg file for distribution
  - geticons.pl             tool to find all used icons and allows deleting unused icons
                            searches also for images with incompatible svg code
  - optimize-images         short script to decrease size of PNG images
  - since_xxx.py            developer tool to replace "@since xxx" in Javadoc by the upcoming revision number
  - SyncEditorLayerIndex.java
                            script to compare and analyse the differences of the editor layer index and the
                            JOSM imagery list (see https://josm.openstreetmap.de/wiki/ImageryCompare)
  - TagInfoExtract.java     extracts tag information for the taginfo project
- src/                      the source code of the application
- start.html                HTML page to run the applet version of JOSM
- test/                     automated software tests
    - data/                 resources used for some tests
    - functional/           functional tests (source code)
    - lib/                  libraries needed for (some of) the tests, including JUnit
    - performance/          performance tests (source code)
    - unit/                 unit tests (source code)
- tools/                    libraries, tools and configuration files that help in the development process
    - checkstyle/           libs and config files for checkstyle (automatically detects code style
                            problems in source code); can be launched as an ant target in build.xml
    - eclipse/              preconfigured Eclipse configuration files
    - ivy/                  Apache Ivy binary, configuration file, and downloaded dependencies 
    - jacocoant.jar         used to include coverage data into JUnit test reports
    - japicc/               used to generate a compatibility report between optimized jar and normal one
    - netbeans/             preconfigured Netbeans project
    - pmd/                  config files for PMD (source code analyzer, finds common programming flaws)
    - spotbugs/             libs and config files for spotbugs (automatically detects common bugs and potential
                            problems in source code); can be launched as an ant target in build.xml

Third party libraries
---------------------
There are some third party libraries which are directly included in the source code tree, in particular:

* jmapviewer: Java component to browse a TMS map
    src/org/openstreetmap/gui (svn external)
    -> https://josm.openstreetmap.de/osmsvn/applications/viewer/jmapviewer/
* Apache commons compress: Support for bzip2 compression when opening files
    -> https://github.com/apache/commons-compress
* Apache commons validator: Improved validator routines
    src/org/openstreetmap/josm/data/validation/routines
    -> http://commons.apache.org/proper/commons-validator
* SVG Salamander: Support for SVG image format
    -> https://github.com/blackears/svgSalamander
* Metadata Extractor: Read EXIF Metadata of photos
    -> https://github.com/drewnoakes/metadata-extractor
* Signpost: OAuth library
    -> https://github.com/mttkay/signpost
* MultiSplitPane: Small lib for GUI layout management
    src/org/openstreetmap/josm/gui/MultiSplitLayout.java, MultiSplitPane.java
    -> https://github.com/floscher/multi-split
    -> https://community.oracle.com/docs/DOC-983539
* swinghelper: Class CheckThreadViolationRepaintManager to find EDT violations
    src/org/openstreetmap/josm/gui/util/CheckThreadViolationRepaintManager.java
    -> https://github.com/floscher/swinghelper
* xz extractor
    -> https://tukaani.org/xz/java.html
* OpeningHoursParser (MIT license)
    -> https://github.com/simonpoole/OpeningHoursParser

dxf-import's People

Contributors

asriancron avatar don-vip avatar simon04 avatar stoecker avatar tsmock avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

don-vip

dxf-import's Issues

InvocationTargetException when open ImportDialog

SCHWERWIEGEND: Exception raised in EDT: java.lang.reflect.InvocationTargetException. Ursache: org.openstreetmap.josm.tools.JosmRuntimeException: Fehler: Das Bild 'ok.png' konnte nicht geladen werden. Das ist ein schwerwiegendes Konfigurationsproblem. java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(Unknown Source) at java.awt.EventQueue.invokeAndWait(Unknown Source) at javax.swing.SwingUtilities.invokeAndWait(Unknown Source) at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWait(GuiHelper.java:221) at org.openstreetmap.josm.plugins.dxfimport.DxfImporter.importData(DxfImporter.java:37) at org.openstreetmap.josm.gui.io.importexport.FileImporter.importDataHandleExceptions(FileImporter.java:98) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFileAction.java:370) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:320) 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) Caused by: org.openstreetmap.josm.tools.JosmRuntimeException: Fehler: Das Bild 'ok.png' konnte nicht geladen werden. Das ist ein schwerwiegendes Konfigurationsproblem. at org.openstreetmap.josm.tools.ImageProvider.getResource(ImageProvider.java:717) at org.openstreetmap.josm.tools.ImageProvider.get(ImageProvider.java:655) at org.openstreetmap.josm.tools.ImageProvider.get(ImageProvider.java:823) at org.openstreetmap.josm.gui.ExtendedDialog.setButtonIcons(ExtendedDialog.java:187) at org.openstreetmap.josm.plugins.dxfimport.ImportDialog.<init>(ImportDialog.java:31) at org.openstreetmap.josm.plugins.dxfimport.DxfImporter.lambda$importData$1(DxfImporter.java:38) at java.awt.event.InvocationEvent.dispatch(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.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.WaitDispatchSupport$2.run(Unknown Source) at java.awt.WaitDispatchSupport$4.run(Unknown Source) at java.awt.WaitDispatchSupport$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(Unknown Source) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at java.awt.Window.setVisible(Unknown Source) at java.awt.Dialog.setVisible(Unknown Source) at org.openstreetmap.josm.gui.progress.swing.PleaseWaitProgressMonitor.lambda$doBeginTask$3(PleaseWaitProgressMonitor.java:255) at org.openstreetmap.josm.gui.progress.swing.PleaseWaitProgressMonitor.lambda$doInEDT$0(PleaseWaitProgressMonitor.java:113) at java.awt.event.InvocationEvent.dispatch(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.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)

Fails to open DXF file

While trying to open this nice DXF file the plugin fails with:

mar 31, 2016 11:40:16 AM com.kitfox.svg.xml.StyleAttribute getURIValue
ADVERTÊNCIA: null
java.net.URISyntaxException: Illegal character in fragment at index 3: #A_#36_C3A5D47D2
    at java.net.URI$Parser.fail(URI.java:2848)
    at java.net.URI$Parser.checkChars(URI.java:3021)
    at java.net.URI$Parser.parse(URI.java:3067)
    at java.net.URI.<init>(URI.java:588)
    at com.kitfox.svg.xml.StyleAttribute.getURIValue(StyleAttribute.java:268)
    at com.kitfox.svg.Use.updateTime(Use.java:227)
    at com.kitfox.svg.Group.updateTime(Group.java:315)
    at com.kitfox.svg.Group.updateTime(Group.java:315)
    at com.kitfox.svg.Group.updateTime(Group.java:315)
    at com.kitfox.svg.SVGRoot.updateTime(SVGRoot.java:354)
    at com.kitfox.svg.SVGDiagram.updateTime(SVGDiagram.java:230)
    at com.kitfox.svg.SVGUniverse.loadSVG(SVGUniverse.java:611)
    at com.kitfox.svg.SVGUniverse.loadSVG(SVGUniverse.java:465)
    at com.kitfox.svg.SVGUniverse.getDiagram(SVGUniverse.java:400)
    at com.kitfox.svg.SVGUniverse.getDiagram(SVGUniverse.java:364)
    at org.openstreetmap.josm.plugins.dxfimport.DxfImportTask.realRun(DxfImportTask.java:175)
    at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
    at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:161)
    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:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

mar 31, 2016 11:40:16 AM com.kitfox.svg.SVGUniverse loadSVG
ADVERTÊNCIA: Could not load SVG file:/tmp/importTaskTemp7277405412270312212.dxf
java.lang.NullPointerException
    at com.kitfox.svg.Use.updateTime(Use.java:229)
    at com.kitfox.svg.Group.updateTime(Group.java:315)
    at com.kitfox.svg.Group.updateTime(Group.java:315)
    at com.kitfox.svg.Group.updateTime(Group.java:315)
    at com.kitfox.svg.SVGRoot.updateTime(SVGRoot.java:354)
    at com.kitfox.svg.SVGDiagram.updateTime(SVGDiagram.java:230)
    at com.kitfox.svg.SVGUniverse.loadSVG(SVGUniverse.java:611)
    at com.kitfox.svg.SVGUniverse.loadSVG(SVGUniverse.java:465)
    at com.kitfox.svg.SVGUniverse.getDiagram(SVGUniverse.java:400)
    at com.kitfox.svg.SVGUniverse.getDiagram(SVGUniverse.java:364)
    at org.openstreetmap.josm.plugins.dxfimport.DxfImportTask.realRun(DxfImportTask.java:175)
    at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
    at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:161)
    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:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

diagram: 
com.kitfox.svg.SVGDiagram@6d59a34e
root: 
com.kitfox.svg.SVGRoot@53ddf9a9
mar 31, 2016 11:40:16 AM com.kitfox.svg.SVGUniverse getElement
ADVERTÊNCIA: Could not parse path null
java.lang.NullPointerException
    at com.kitfox.svg.SVGUniverse.getElement(SVGUniverse.java:335)
    at com.kitfox.svg.SVGUniverse.getElement(SVGUniverse.java:307)
    at com.kitfox.svg.Use.getBoundingBox(Use.java:152)
    at com.kitfox.svg.Group.calcBoundingBox(Group.java:274)
    at com.kitfox.svg.Group.getBoundingBox(Group.java:252)
    at com.kitfox.svg.Group.calcBoundingBox(Group.java:274)
    at com.kitfox.svg.Group.getBoundingBox(Group.java:252)
    at com.kitfox.svg.Group.calcBoundingBox(Group.java:274)
    at com.kitfox.svg.Group.getBoundingBox(Group.java:252)
    at com.kitfox.svg.SVGRoot.getBoundingBox(SVGRoot.java:326)
    at org.openstreetmap.josm.plugins.dxfimport.DxfImportTask.realRun(DxfImportTask.java:183)
    at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
    at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:161)
    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:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
(...)
ERRO: java.io.IOException: java.lang.NullPointerException. Causa: java.lang.NullPointerException
java.io.IOException: java.lang.NullPointerException
    at org.openstreetmap.josm.plugins.dxfimport.DxfImportTask.realRun(DxfImportTask.java:191)
    at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
    at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:161)
    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:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
    at com.kitfox.svg.Path.getBoundingBox(Path.java:103)
    at com.kitfox.svg.Group.calcBoundingBox(Group.java:274)
    at com.kitfox.svg.Group.getBoundingBox(Group.java:252)
    at com.kitfox.svg.Group.calcBoundingBox(Group.java:274)
    at com.kitfox.svg.Group.getBoundingBox(Group.java:252)
    at com.kitfox.svg.Group.calcBoundingBox(Group.java:274)
    at com.kitfox.svg.Group.getBoundingBox(Group.java:252)
    at com.kitfox.svg.SVGRoot.getBoundingBox(SVGRoot.java:326)
    at org.openstreetmap.josm.plugins.dxfimport.DxfImportTask.realRun(DxfImportTask.java:183)
    ... 7 more
ERRO: java.io.IOException: java.lang.NullPointerException. Causa: java.lang.NullPointerException
java.io.IOException: java.lang.NullPointerException
    at org.openstreetmap.josm.plugins.dxfimport.DxfImportTask.realRun(DxfImportTask.java:191)
    at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
    at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:161)
    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:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
    at com.kitfox.svg.Path.getBoundingBox(Path.java:103)
    at com.kitfox.svg.Group.calcBoundingBox(Group.java:274)
    at com.kitfox.svg.Group.getBoundingBox(Group.java:252)
    at com.kitfox.svg.Group.calcBoundingBox(Group.java:274)
    at com.kitfox.svg.Group.getBoundingBox(Group.java:252)
    at com.kitfox.svg.Group.calcBoundingBox(Group.java:274)
    at com.kitfox.svg.Group.getBoundingBox(Group.java:252)
    at com.kitfox.svg.SVGRoot.getBoundingBox(SVGRoot.java:326)
    at org.openstreetmap.josm.plugins.dxfimport.DxfImportTask.realRun(DxfImportTask.java:183)
    ... 7 more

JOSM version is 10089

Import Custom Tags

.dxf files may contain custom tags e.g. for points:
grafik
grafik
It may helpful to import these tags as well, like this:
grafik

DXF Import Fails on Newest JOSM

Trying to import DXF files using the most recent version of JOSM always fails. A couple of weeks prior to the new update the plugin worked as expected. Now it does not show the import options at all and no data gets imported from the DXF.

josm-dxf-import-fail

Doesn't work anymore

Today with the latest JOSM (version 10436) I am seeing this:

INFO: loading plugin 'DxfImport' (version 1006)
ERROR: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin DxfImport. Cause: java.lang.reflect.InvocationTargetException. Cause: java.lang.IllegalAccessError: tried to access field org.openstreetmap.josm.actions.ExtensionFileFilter.importers from class org.openstreetmap.josm.plugins.dxfimport.DxfImportPlugin
org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin DxfImport
    at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:329)
    at org.openstreetmap.josm.plugins.PluginHandler.loadPlugin(PluginHandler.java:715)
    at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:777)
    at org.openstreetmap.josm.plugins.PluginHandler.loadLatePlugins(PluginHandler.java:816)
    at org.openstreetmap.josm.gui.MainApplication.loadLatePlugins(MainApplication.java:550)
    at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:480)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:326)
    ... 5 more
Caused by: java.lang.IllegalAccessError: tried to access field org.openstreetmap.josm.actions.ExtensionFileFilter.importers from class org.openstreetmap.josm.plugins.dxfimport.DxfImportPlugin
    at org.openstreetmap.josm.plugins.dxfimport.DxfImportPlugin.<init>(DxfImportPlugin.java:12)
    ... 10 more
WARNING: Disable plugin - Could not load plugin DxfImport. Delete from preferences?

Crashed on R27 dxf import: NullPointerException

From https://josm.openstreetmap.de/ticket/12403:

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-01-06 17:30:31 +0100 (Wed, 06 Jan 2016)
Build-Date:2016-01-06 16:32:31
Revision:9329
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9329 de) Linux Ubuntu 14.04.3 LTS
Memory Usage: 779 MB / 1762 MB (272 MB allocated, but free)
Java version: 1.8.0_66, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Djava.security.policy=file:/usr/lib/jvm/java-8-oracle/jre/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=/tmp/mozilla_marc0/josm-1.jnlp, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=42185, -Djnlpx.jvm=<java.home>/bin/java, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAA==]
Dataset consistency test: No problems found

Plugins:
- BuildingGeneralization (UNKNOWN)
- ColorPlugin (1414145445)
- DirectDownload (31934)
- DxfImport (1006)
- FixAddresses (31772)
- HouseNumberTaggingTool (31772)
- buildings_tools (31895)
- cadastre-fr (31772)
- ejml (31895)
- fieldpapers (v0.4.0)
- geotools (31895)
- jts (31772)
- namemanager (31772)
- terracer (31895)

Last errors/warnings:
- E: java.io.IOException: java.lang.NullPointerException. Ursache: java.lang.NullPointerException
- E: java.io.IOException: java.lang.NullPointerException. Ursache: java.lang.NullPointerException

java.io.IOException: java.lang.NullPointerException
    at org.openstreetmap.josm.plugins.dxfimport.DxfImportTask.realRun(DxfImportTask.java:191)
    at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
    at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:161)
    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:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
    at org.openstreetmap.josm.plugins.dxfimport.DxfImportTask.realRun(DxfImportTask.java:178)
    ... 7 more

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.