RouteConverter Forum
NativeInterface.isOpen() fails in versions > 2.1.x - Printable Version

+- RouteConverter Forum (https://forum.routeconverter.com)
+-- Forum: Users (https://forum.routeconverter.com/forum-17.html)
+--- Forum: English: Discussions (https://forum.routeconverter.com/forum-12.html)
+--- Thread: NativeInterface.isOpen() fails in versions > 2.1.x (/thread-1015.html)



NativeInterface.isOpen() fails in versions > 2.1.x - LifelessDead - 23.05.2011

Hi,

Recent PreReleases of RouteConverter fail when loading the map interface.
The error is: Native Interface is not initialized (attached image shows the full stack trace)

The system is Windows XP 32-bit, Java 6 update 25 (IE8/Chrome12/FF4).

Version 2.1.142 works fine but all newer versions (2.3 and up?) don't.

Because 2.1 works, I can't imagine it being firewall related like the error suggests.

If I can help debugging, let me know, because I really like this program Big Grin



RE: NativeInterface.isOpen() fails in versions > 2.1.x - routeconverter - 23.05.2011

(23.05.2011, 19:46)LifelessDead Wrote: The system is Windows XP 32-bit, Java 6 update 25 (IE8/Chrome12/FF4).

On my XP 32-bit, Java 6 Update 22 machine it's working.

2.1.142 is from which date?

(23.05.2011, 19:46)LifelessDead Wrote: If I can help debugging, let me know, because I really like this program Big Grin

I need the RouteConverter.log and the output on the console when the JAR version of RouteConverter is started from it. See the FAQ f or details.



RE: NativeInterface.isOpen() fails in versions > 2.1.x - LifelessDead - 23.05.2011

It's actually 2.2.142 that works, dated January 13th, 2011.

The newer prereleases also work on another 32-bit XP system I'm using (java 6.23).
On this XP system, the prereleases didn't work either on 6.23.
So it has to be something specific for this system...... *grr*

See attached logfiles...

Thanks!


RE: NativeInterface.isOpen() fails in versions > 2.1.x - routeconverter - 23.05.2011

(23.05.2011, 22:09)LifelessDead Wrote: So it has to be something specific for this system...... *grr*

I've seen this pattern before. Somewhen in January I've updated the Eclipse SWT library. And the new 3.6 library fails if there are non-existing directories referred in the PATH variable.

Please send me the output of
> set

on the command line and look for
Quote:Files\Common
as one such PATH component. It's what makes a command line issued by Eclipse SWT fail:

Quote:NativeSwing[1]: java.lang.NoClassDefFoundError: Files\Common
NativeSwing[1]: Caused by: java.lang.ClassNotFoundException: Files\Common

There a component of the PATH is mistaken for the class the JVM should start.


RE: NativeInterface.isOpen() fails in versions > 2.1.x - LifelessDead - 24.05.2011

Mentioning PATH did ring a bell...

And indeed, I recently installed and later uninstalled ActiveState Python 2.6 and it added a couple of directories to the front of the user and system PATH variables. Removing the Python related paths fixed RouteConverter.

(Unfortunately, I forgot to copy them, so I can't figure out specifically which one it is, there were more than just PYTHONPATH. But since I only removed Python specific ones, I assume they were the root cause.)

Thanks, now I can use the updated versions Wink