my guess is that java changed the way it handles ResourceBundle.getBundle().. running that on a non existing properties file, was no issue until now.
still cannot replicate it. what's your java version? using the stack below, i wrote a routine that might solve the issue. can you please try r5385? ..ede On 19.03.2017 12:56, Michaël Michaud wrote: > Ah, yes, language files are embeded in releases and in separate files in NB. > > In 1.10 release, I get the following NPE : > > java.util.MissingResourceException: Can't find bundle for base name > language\wfs\messages, locale fr_FR > at > java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564) > at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387) > at java.util.ResourceBundle.getBundle(ResourceBundle.java:1082) > at com.vividsolutions.jump.I18N.init(I18N.java:127) > at com.vividsolutions.jump.I18N.<init>(I18N.java:94) > at com.vividsolutions.jump.I18N.getInstance(I18N.java:245) > at com.vividsolutions.jump.I18N.getMessage(I18N.java:416) > at com.vividsolutions.jump.I18N.getMessage(I18N.java:441) > at de.latlon.deejump.wfs.i18n.I18N.get(I18N.java:25) > at de.latlon.deejump.wfs.plugin.WFSPlugIn.i18n(WFSPlugIn.java:328) > at de.latlon.deejump.wfs.plugin.WFSPlugIn.execute(WFSPlugIn.java:110) > at > com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:339) > at > javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) > at > javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) > at > javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) > at > javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) > at > javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) > at > java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) > at java.awt.Component.processMouseEvent(Component.java:6535) > at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) > at java.awt.Component.processEvent(Component.java:6300) > at java.awt.Container.processEvent(Container.java:2236) > at java.awt.Component.dispatchEventImpl(Component.java:4891) > at java.awt.Container.dispatchEventImpl(Container.java:2294) > at java.awt.Component.dispatchEvent(Component.java:4713) > at > java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) > at > java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525) > at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) > at java.awt.Container.dispatchEventImpl(Container.java:2280) > at java.awt.Window.dispatchEventImpl(Window.java:2750) > at java.awt.Component.dispatchEvent(Component.java:4713) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) > at java.awt.EventQueue.access$500(EventQueue.java:97) > at java.awt.EventQueue$3.run(EventQueue.java:709) > at java.awt.EventQueue$3.run(EventQueue.java:703) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) > at java.awt.EventQueue$4.run(EventQueue.java:731) > at java.awt.EventQueue$4.run(EventQueue.java:729) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) > at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) > Caused by: java.lang.NullPointerException > at java.lang.Class.isAssignableFrom(Native Method) > at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2644) > at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1501) > at java.util.ResourceBundle.findBundle(ResourceBundle.java:1465) > at java.util.ResourceBundle.findBundle(ResourceBundle.java:1419) > at java.util.ResourceBundle.findBundle(ResourceBundle.java:1419) > at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1361) > ... 47 more > > > Le 19/03/2017 à 12:17, edgar.sol...@web.de a écrit : >> On 19.03.2017 11:55, Michaël Michaud wrote: >>> Ede, >>> >>> I just noticed that WFS extension was broken in 1.10 (I18N problem) but >>> has been fixed since then. >> looks like it. >> >>> You probably fixed the problem but I did not see the commit wher it has >>> been repaired. >>> >> well i didn't! just checked the svn commits since 1.10, there is nothing >> wrt. I18N or wfs that got changed. >> >> maybe it only hits releases, but not snapshots? ..ede >> >> ------------------------------------------------------------------------------ >> 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 >> 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 > 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 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel