... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NativeInterface.isOpen() fails in versions > 2.1.x
#1
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


Attached Files Thumbnail(s)
   
Reply
#2
(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.
--
Christian
Reply
#3
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!


Attached Files
.txt   RouteConverter.log.txt (Size: 14.05 KB / Downloads: 762)
.txt   RouteConverter-Console.log.txt (Size: 4.37 KB / Downloads: 995)
Reply
#4
(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.
--
Christian
Reply
#5
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)