daffaa08 / jzebra

Automatically exported from code.google.com/p/jzebra
0 stars 0 forks source link

QZ - Applet breaks on every second refresh #213

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Run qz-print and open the serial port at COM1
2.Attach an event listener using "qzSerialReturned", everything works fine
3.Refresh the page via F5

What is the expected output? What do you see instead?
On refreshing the page, the applet should continue working correctly. Every 
second refresh throws an error on the java console, see additional info below.

What version of the product are you using? On what operating system?
qz-print-free_1.8.0, Java version 7 build 51, Windows 7 Pro, Chrome 33

Please provide any additional information below.
Here is the error: 

java.lang.UnsatisfiedLinkError: 
jssc.SerialNativeInterface.openPort(Ljava/lang/String;Z)J

Original issue reported on code.google.com by moffatts...@gmail.com on 17 Mar 2014 at 10:48

GoogleCodeExporter commented 9 years ago
This is a bug with JNI (Java Native Interfacing) and the JSSC plugin.  The only 
solution I'm aware of is to NOT refresh the page, which is understandably near 
impossible to prevent.

It would be advisable to ask the JSSC author is there are measures that can be 
taken to prevent this:
https://code.google.com/p/java-simple-serial-connector/

If you are a premium subscriber, please contact us via standard support methods 
and we can escalate this issue for you.

-Tres

Original comment by tres.fin...@gmail.com on 17 Mar 2014 at 1:05

GoogleCodeExporter commented 9 years ago

Original comment by tres.fin...@gmail.com on 17 Mar 2014 at 1:06

GoogleCodeExporter commented 9 years ago
Thanks, unfortunately i am not a premium subscriber so i can't use your 
standard support methods. I will however try to get a hold of the JSSC author. 
Brilliant work guys.

Original comment by moffatts...@gmail.com on 17 Mar 2014 at 1:45

GoogleCodeExporter commented 9 years ago
Thank you for escalating this.

JSSC is fantastic software and the author is very kind to offer his software 
for free.  If the author needs funds to fix this bug, qz has funds allocated 
and would happily sponsor.

If you don't mind, please post the answers you receive here so that I can take 
proper action on our end. :)

-Tres

Original comment by tres.fin...@gmail.com on 17 Mar 2014 at 1:50