Peppe, tried the latest, this is what shows when verbosity is '-v info'
starting Sextante initialization >> Sextante not initialized! Check for problems with Sextante initialization, path for libs and resources: E:\proj_oj-core_svn-4.4\lib\ext\sextante Check if image 'terminal.png' exist Check also for Sextante help classes path: E:\proj_oj-core_svn-4.4\lib\ext\sextante/help => Will do 2nd try with OJ-IDE-Dev settings: => looking for algorithms and image in: E:\proj_oj-core_svn-4.4\lib\ext\sextante No success with Sextante initialization - printing error log: java.lang.NullPointerException at es.unex.sextante.core.AlgorithmsAndResources.addAlgorithmsAndPropertiesFromFolder(AlgorithmsAndResources.java:143) at es.unex.sextante.core.Sextante.initialize(Sextante.java:67) at es.unex.sextante.openjump.extensions.SextanteToolboxPlugin.initialize(SextanteToolboxPlugin.java:106) at es.unex.sextante.openjump.extensions.SextanteExtension.configure(SextanteExtension.java:49) at com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:212) at com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:192) at com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:468) at com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:397) [INFO] 20:10:35.536 Loading Config Sextante 1.0 OpenJUMP binding 2016-11-28 took 0.34s can you use Logger.debug() so that the stack is only shown when '-v debug' is on? thanks.. ede On 05.12.2016 15:45, Giuseppe Aruta wrote: > Hi Ede, > can you try on 5245 and let me know? > Thanks > Peppe > > 2016-12-05 15:26 GMT+01:00 Giuseppe Aruta <giuseppe.ar...@gmail.com > <mailto:giuseppe.ar...@gmail.com>>: > > Ede, > OK, I uderstood > we need all the info back. It seems correct to control all the loading > process on ide > I will try to reenable it > > Peppe > > > > 2016-12-05 12:01 GMT+01:00 <edgar.sol...@web.de > <mailto:edgar.sol...@web.de>>: > > Peppe, > > there was already a workaround to run sextante binding in eclipse, > that you seem to have deactivated. Stefan added it in the past, it's output > was > > starting Sextante initialization >> > Sextante jar folder: E:\proj_oj-core_svn-4.4/lib/ext/sextante > Sextante not initialized! > Check for problems with Sextante initialization, path for libs and > resources: E:\proj_oj-core_svn-4.4/lib/ext/sextante > Check if image 'terminal.png' exist > Sextante help path folder: > E:\proj_oj-core_svn-4.4/lib/ext/sextante_help > Check also for Sextante help classes path: > E:\proj_oj-core_svn-4.4/lib/ext/sextante_help > => Will do 2nd try with OJ-IDE-Dev settings: > => looking for algorithms and image in: > E:\proj_oj-core_svn-4.4/lib/plus/sextante > Success initializing Sextante at 2nd trial! > > check if you can find that routine an reenable that and you should be > fine.. ede > > On 05.12.2016 11 <tel:05.12.2016%2011>:07, Giuseppe Aruta wrote: > > Hi Ede > > > > (SextanteToolboxPlugin.java:68) the NPE is on the line vconnected > to the > > method Sextante.initialize(String folder) and it is responsable to > > inizialize Sextante. It has to point to the folder where Sextante > files are > > located, in this case* lib/ext/*<Sextante> for a fresh OJ > instalation. > > > > The NPE, I think, comes when you start OJ from SVN (I am not > familiar with > > running from Eclipse, sorry for my... uncertain syntax). > > in SVN tree all the <extra> plugins, included Sextante files > folder, are > > located into *lib/plus* folder. > > > > The solution I propone is to rewrite the method that checks for > sextante > > folder (on SextanteToolboxPlugin.class) > > from: > > > > private String getJarsFolder() { > > String sPath = > > System.getProperty("user.dir").concat(File.separator) > > > .concat("lib").concat(File.separator).concat("ext") > > .concat(File.separator).concat("sextante"); > > > > LOGGER.info("Sextante jar folder: " + sPath); > > return sPath; > > > > } > > > > to: > > private String getJarsFolder() { > > String sPath; > > try { > > sPath = > System.getProperty("user.dir").concat(File.separator) > > > .concat("lib").concat(File.separator).concat("ext") > > .concat(File.separator).concat("sextante"); > > } catch (Exception e) { > > sPath = > System.getProperty("user.dir").concat(File.separator) > > > .concat("lib").concat(File.separator).concat("plus") > > .concat(File.separator).concat("sextante"); > > } > > LOGGER.info("Sextante jar folder: " + sPath); > > return sPath; > > } > > > > and you can check if there is still a NPE exception. I only wonder > if this > > will break some functions on Sextante (right now help and Raster > calculator > > seem not to be affected) > > > > What do you think? > > Peppe > > > > 2016-12-04 21:39 GMT+01:00 Giuseppe Aruta <giuseppe.ar...@gmail.com > <mailto:giuseppe.ar...@gmail.com>>: > > > >> Hi Ede > >> I will give a look tomorrow > >> Peppe > >> > >> Il 04/Dic/2016 19:48, <edgar.sol...@web.de > <mailto:edgar.sol...@web.de>> ha scritto: > >> > >>> hey Peppe, > >>> > >>> running OJ from eclipse gives me a NPE during startup now > >>> > >>> java.lang.NullPointerException > >>> at > es.unex.sextante.core.AlgorithmsAndResources.addAlgorithmsAn > >>> dPropertiesFromFolder(AlgorithmsAndResources.java:143) > >>> at > es.unex.sextante.core.Sextante.initialize(Sextante.java:67) > >>> at > es.unex.sextante.openjump.extensions.SextanteToolboxPlugin.i > >>> nitialize(SextanteToolboxPlugin.java:68) > >>> at > es.unex.sextante.openjump.extensions.SextanteExtension.confi > >>> gure(SextanteExtension.java:49) > >>> at > com.vividsolutions.jump.workbench.plugin.PlugInManager.loadC > >>> onfigurations(PlugInManager.java:212) > >>> at > com.vividsolutions.jump.workbench.plugin.PlugInManager.load( > >>> PlugInManager.java:192) > >>> at > com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWor > >>> kbench.java:468) > >>> at > com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWor > >>> kbench.java:397) > >>> > >>> as it is your construction site, any idea? ..ede > >>> > >>> On 04.12.2016 19 <tel:04.12.2016%2019>:41, Michaël Michaud wrote: > >>>> Hi Peppe, > >>>> > >>>> You did a great work with Sextante. Getting the whole > documentation from > >>>> the menu is amazing. > >>>> > >>>> Hope it will encorage OpenJUMP users to play with it ;-) > >>>> > >>>> Michaël > >>>> > >>>> > >>>> ------------------------------------------------------------ > >>> ------------------ > >>>> Check out the vibrant tech community on one of the world's most > >>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot > >>>> _______________________________________________ > >>>> Jump-pilot-devel mailing list > >>>> Jump-pilot-devel@lists.sourceforge.net > <mailto:Jump-pilot-devel@lists.sourceforge.net> > >>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel> > >>>> > >>> > >>> ------------------------------------------------------------ > >>> ------------------ > >>> Check out the vibrant tech community on one of the world's most > >>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot > >>> _______________________________________________ > >>> Jump-pilot-devel mailing list > >>> Jump-pilot-devel@lists.sourceforge.net > <mailto:Jump-pilot-devel@lists.sourceforge.net> > >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel> > >>> > >> > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > _______________________________________________ > > Jump-pilot-devel mailing list > > Jump-pilot-devel@lists.sourceforge.net > <mailto:Jump-pilot-devel@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel> > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > <mailto:Jump-pilot-devel@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel> > > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > ------------------------------------------------------------------------------ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel