Hi Ede, You found it. Installation creates an empty VertexImages directory but I had to place one GIF-file into it to get the plugin to start.
-Jukka- > -----Alkuperäinen viesti----- > Lähettäjä: edgar.sol...@web.de [mailto:edgar.sol...@web.de] > Lähetetty: 15. helmikuuta 2011 15:21 > Vastaanottaja: OpenJump develop and use > Aihe: Re: [JPP-Devel] VertexSymbols plugin > > just had a look at line 148 of com.cadplan.jump.VertexSymbols > .. it itereates there over the wkt symbols .. did you put a > folder of wkts at the right place? > > still this is a bug, no NPE should arise but a message to the > user to install the symbols should be shown to the user .. > > ede > > On 15.02.2011 14:12, Rahkonen Jukka wrote: > > Hi, > > > > I was reading the installation manual from > > http://www.cadplan.com.au/VertexSymbolUserGuide.pdf > > > > I made another try with your method and got OJ to start > (seems to be 1.4.1 alpha) also without additional Batik > stuff. I can see the Printer plugin and Vertex symbols icons. > Printer plugin seems to work but pressing VertexSymbols > button gives me again the same NPE. > > > > java.lang.NullPointerException > > at com.cadplan.jump.VertexSymbols.<init>(VertexSymbols.java:148) > > at > com.cadplan.jump.VertexSymbolsPlugIn.execute(VertexSymbolsPlug > In.java:82) > > at > com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.acti onPerformed(AbstractPlugIn.java:130) > > at > javax.swing.AbstractButton.fireActionPerformed(Unknown Source) > > at > javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) > > at > javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) > > at javax.swing.DefaultButtonModel.setPressed(Unknown Source) > > at > javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unkno > wn Source) > > at java.awt.AWTEventMulticaster.mouseReleased(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.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) > > > > -Jukka- > > > >> -----Alkuperäinen viesti----- > >> Lähettäjä: Giuseppe Aruta [mailto:giuseppe_ar...@yahoo.it] > >> Lähetetty: 15. helmikuuta 2011 14:42 > >> Vastaanottaja: OpenJump develop and use > >> Aihe: Re: [JPP-Devel] VertexSymbols plugin > >> > >> Hi Jukka, > >> embedded Openjump batik libraries should be enough to use > >> vertesymbolplugin. There is no need of all other batik, > >> neither to modify Oj scipts. > >> Vertex Symbol plugin requires the presence of two other jar files: > >> a) JumpPrinter.jar, located into OJ/LIB/EXT folder (this is > >> Cadplan print plugIn) > >> c) iText-2.1.5.jar, located into OJ/LIB folder > >> > >> I tested with no problem either with Win7 and Ubuntu 10.04 > >> > >> Peppe > >> > >> > >> --- Mar 15/2/11, Rahkonen Jukka <jukka.rahko...@mmmtike.fi> > >> ha scritto: > >> > >>> Da: Rahkonen Jukka <jukka.rahko...@mmmtike.fi> > >>> Oggetto: Re: [JPP-Devel] VertexSymbols plugin > >>> A: "OpenJump develop and use" > >> <jump-pilot-devel@lists.sourceforge.net> > >>> Data: Martedì 15 febbraio 2011, 13:21 > >>> Hi, > >>> > >>> I have had some installation problems. This is what I have > >>> done this far: > >>> > >>> - Downloaded VertexSymbols.jar and placed into lib\ext (you > >>> see I am on Windows, Java 1.6) > >>> - Downloaded Batik and placed 19 jar files from the > >>> lib-folder into new OJ lib\Batik directory > >>> - Edited oj_windows.bat this way to add jar files from > >>> \lib\Batik into classpath > >>> > >>> for %%i in ("%LIB%\*.jar" "%LIB%\*.zip" > >>> "%LIB%\Batik\*.jar") do ( > >>> set jarfile=%%i > >>> > >>> I inserted an additional "set CLASSPATH" and pause into > >>> oj_windows.bat and I can see that new Batic jars are > >>> included because the CLASSPATH begins now with > >>> > >>> > >> CLASSPATH=lib\Batik\js.jar;lib\Batik\batik-xml.jar;lib\Batik\b > > atik-util.jar; > >>> > >>> - If I open OJ and create a new layer with some features > >>> and start Vertex symboliser all I ger is NPE: > >>> > >>> java.lang.NullPointerException > >>> at > >>> com.cadplan.jump.VertexSymbols.<init>(VertexSymbols.java:148) > >>> at > >>> > >> com.cadplan.jump.VertexSymbolsPlugIn.execute(VertexSymbolsPlug > >> In.java:82) > >>> at > >>> > >> com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.acti > > onPerformed(AbstractPlugIn.java:130) > >>> at > >>> javax.swing.AbstractButton.fireActionPerformed(Unknown > >>> Source) > >>> at > >>> javax.swing.AbstractButton$Handler.actionPerformed(Unknown > >>> Source) > >>> at > >>> javax.swing.DefaultButtonModel.fireActionPerformed(Unknown > >>> Source) > >>> at > >>> javax.swing.DefaultButtonModel.setPressed(Unknown Source) > >>> at > >>> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown > >>> Source) > >>> at > >>> java.awt.AWTEventMulticaster.mouseReleased(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.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) > >>> > >>> What is going wrong? I tried to add also all the > >>> other Batik jars from the 1.7 delivery into OJ lib\Batik but > >>> the NPE remained the same. > >>> > >>> -Jukka Rahkonen- > >>> > >>> > >>> > >>>> -----Alkuperäinen viesti----- > >>>> Lähettäjä: Geoffrey Roy [mailto:ge...@cadplan.com.au] > >>> > >>>> Lähetetty: 15. helmikuuta 2011 9:48 > >>>> Vastaanottaja: List for discussion of JPP development > >>> and use. > >>>> Aihe: [JPP-Devel] VertexSymbols plugin > >>>> > >>>> To OJ Users/Developers > >>>> > >>>> I have just posted an updated version of my > >>> VertexSymbols > >>>> plugin which > >>>> has been developed with support from Peppe. The > >>> major change is the > >>>> option to now scale the size of symbols as the zoom > >>> level changes. > >>>> Also, some minor bug fixes. > >>>> > >>>> Geoff > >>>> > >>>> -- > >>>> Dr Geoffrey G Roy > >>>> Cadplan > >>>> 129 Gloster Street, Subiaco WA 6008 > >>>> Tel: (08) 9381 4870 Fax: (08) 9382 4459 > >>>> Email: ge...@cadplan.com.au > >>>> http://www.cadplan.com.au > >>>> > >>>> > >>>> > >>> -------------------------------------------------------------- > >>>> ---------------- > >>>> The ultimate all-in-one performance toolkit: Intel(R) > >>> > >>>> Parallel Studio XE: > >>>> Pinpoint memory and threading errors before they > >>> happen. > >>>> Find and fix more than 250 security defects in the > >>> development cycle. > >>>> Locate bottlenecks in serial and parallel code that > >>> limit performance. > >>>> http://p.sf.net/sfu/intel-dev2devfeb > >>>> _______________________________________________ > >>>> Jump-pilot-devel mailing list > >>>> Jump-pilot-devel@lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > >>>> > >>> > >>> > >> -------------------------------------------------------------- > >> ---------------- > >>> The ultimate all-in-one performance toolkit: Intel(R) > >>> Parallel Studio XE: > >>> Pinpoint memory and threading errors before they happen. > >>> Find and fix more than 250 security defects in the > >>> development cycle. > >>> Locate bottlenecks in serial and parallel code that limit > >>> performance. > >>> http://p.sf.net/sfu/intel-dev2devfeb > >>> _______________________________________________ > >>> Jump-pilot-devel mailing list > >>> Jump-pilot-devel@lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > >>> > >> > >> > >> > >> > >> -------------------------------------------------------------- > >> ---------------- > >> The ultimate all-in-one performance toolkit: Intel(R) > >> Parallel Studio XE: > >> Pinpoint memory and threading errors before they happen. > >> Find and fix more than 250 security defects in the > development cycle. > >> Locate bottlenecks in serial and parallel code that limit > performance. > >> http://p.sf.net/sfu/intel-dev2devfeb > >> _______________________________________________ > >> Jump-pilot-devel mailing list > >> Jump-pilot-devel@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > >> > > > > > -------------------------------------------------------------- > ---------------- > > The ultimate all-in-one performance toolkit: Intel(R) > Parallel Studio XE: > > Pinpoint memory and threading errors before they happen. > > Find and fix more than 250 security defects in the > development cycle. > > Locate bottlenecks in serial and parallel code that limit > performance. > > http://p.sf.net/sfu/intel-dev2devfeb > > _______________________________________________ > > Jump-pilot-devel mailing list > > Jump-pilot-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > -------------------------------------------------------------- > ---------------- > The ultimate all-in-one performance toolkit: Intel(R) > Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel