hey Peppe,
now we are here, let's finish this Ticket here, no need for a copy on github.
just new one should go to github as we moved the development there :)
wrt. to CadTools, please try
https://sourceforge.net/projects/jump-pilot/files/OpenJUMP2_snapshots/OpenJUMP-Portable-20220816-r5128%5B042219b%5D-PLUS.zip
works for me as you can see on the screenshot below.
wrt. to VertexSymbols.
i can draw a line and decorate it fine. find a project bore02.jmp/jml
attached. reopening the project, still shows the decoration.
i fail to open your project from above or rather it doesn't find the layer
data, when pointing to the file i get a stacktrace s.b. (will investigate)
~~~
java.lang.Exception: Loading project file 'D:\Project\Project.jmp' failed with
the error:
String index out of range: -1.
at
org.openjump.core.ui.plugin.file.open.OpenProjectWizard.open(OpenProjectWizard.java:194)
at
org.openjump.core.ui.plugin.file.open.OpenProjectWizard.open(OpenProjectWizard.java:135)
at
org.openjump.core.ui.plugin.file.open.OpenProjectWizard.run(OpenProjectWizard.java:130)
at
org.openjump.core.ui.plugin.AbstractWizardPlugin.run(AbstractWizardPlugin.java:73)
at
com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:151)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of
range: -1
at java.base/java.lang.String.substring(Unknown Source)
at
org.openjump.core.ui.plugin.file.FindFile.getFileName(FindFile.java:91)
at
org.openjump.core.ui.plugin.file.open.OpenProjectWizard.loadLayers(OpenProjectWizard.java:353)
at
org.openjump.core.ui.plugin.file.open.OpenProjectWizard.open(OpenProjectWizard.java:183)
... 4 more
Attachments:
-
[bore01.JPG](https://sourceforge.net/p/jump-pilot/bugs/_discuss/thread/bb5863b0c4/1cb9/attachment/bore01.JPG)
(129.1 kB; image/jpeg)
---
** [bugs:#522] CADTools - Drawing Blocks throws NPEs**
**Status:** open
**Milestone:** undecided
**Created:** Tue Aug 16, 2022 09:57 AM UTC by Giuseppe Aruta
**Last Updated:** Fri Aug 19, 2022 06:26 AM UTC
**Owner:** nobody
PlugIn: CADTools
Bug description: It is not possible to draw a good 50% of the embedded blocks
this which throw null point exceptions.
It seems that blocks made by simple polygons or multipolygons with no holes can
be drawn.
Blocks made by the previous geometries with holes not.
Blocks displayed by CADTools are stored into Lib/Ext/VertexImages folder
(blocks are used by CadPlan Vertex Images plugin too) and they are simple WKT
files
---
Sent from sourceforge.net because jump-pilot-devel@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/jump-pilot/bugs/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/jump-pilot/admin/bugs/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel