Menu

#23 Not working with N-Trig WinTab driver under Windows 8

v.2-071118
open
nobody
1
2014-12-30
2014-05-09
No

When launched in a Windows 8 system (fujitsu stylistic q704) with the latest N-Trig pen drivers and N-Trig's Wintab drivers (32 and 64 bits dll tested) the demo application crashes as soon as the stylus touches the screen. This is probably happening in every system using N-Trig, Fujitsu, Lenovo and Vaio.

N-Trigger WinTab drivers can be downloaded from:
http://www.n-trig.com/Content.aspx?Page=support_home
(left corner of the page has links to 32 and 64 bits)

Tested with almost all versions previous to jpen-2-121204 (included)
I suspect there is a problem when reading low level event's data package.

Program Log follows, it seems to have detected WinTab without problems, but the program crashes as soon as the pen touches the screen.

===== JPen - Status Report =====
JPen Version: 2-121204
Date: Fri May 09 17:16:27 CEST 2014
Providers:
Constructor: System
Construction Exception: none
Device (System Mouse): Mouse (Mouse@System)
Enabled: true
Kind: (type=STYLUS)
Fractional Movements: false
Device: Keyboard (Keyboard@System)
Enabled: true
Kind: (type=IGNORE)
Fractional Movements: false
Constructor: Wintab
Construction Exception: none
Native Version-Build(Expected): 3-525(525)
Constructor: JPen
Construction Exception: none
Device: Emulation (Emulation@JPen)
Enabled: true
Kind: (type=IGNORE)
Fractional Movements: true
System Properties:
awt.toolkit: sun.awt.windows.WToolkit
file.encoding: Cp1252
file.encoding.pkg: sun.io
file.separator: \ java.awt.graphicsenv: sun.awt.Win32GraphicsEnvironment
java.awt.printerjob: sun.awt.windows.WPrinterJob
java.class.path: C:\MotorDeFirma\Documentacion\jpen-2-121204-lib\jpen-2-121204\jpen-2.jar
java.class.version: 51.0
java.endorsed.dirs: C:\Program Files\Java\jre7\lib\endorsed
java.ext.dirs: C:\Program Files\Java\jre7\lib\ext;C:\windows\Sun\Java\lib\ext
java.home: C:\Program Files\Java\jre7
java.library.path: C:\Program Files\Java\jre7\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;c:\Program Files\WIDCOMM\Bluetooth Software\;c:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;.
java.runtime.name: Java(TM) SE Runtime Environment
java.runtime.version: 1.7.0_55-b13
java.specification.name: Java Platform API Specification
java.specification.vendor: Oracle Corporation
java.specification.version: 1.7
java.vendor: Oracle Corporation
java.vendor.url: http://java.oracle.com/
java.vendor.url.bug: http://bugreport.sun.com/bugreport/
java.version: 1.7.0_55
java.vm.info: mixed mode
java.vm.name: Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name: Java Virtual Machine Specification
java.vm.specification.vendor: Oracle Corporation
java.vm.specification.version: 1.7
java.vm.vendor: Oracle Corporation
java.vm.version: 24.55-b03
os.arch: amd64
os.name: Windows 8.1
os.version: 6.3
path.separator: ;
sun.arch.data.model: 64
sun.awt.enableExtraMouseButtons: true
sun.boot.class.path: C:\Program Files\Java\jre7\lib\resources.jar;C:\Program Files\Java\jre7\lib\rt.jar;C:\Program Files\Java\jre7\lib\sunrsasign.jar;C:\Program Files\Java\jre7\lib\jsse.jar;C:\Program Files\Java\jre7\lib\jce.jar;C:\Program Files\Java\jre7\lib\charsets.jar;C:\Program Files\Java\jre7\lib\jfr.jar;C:\Program Files\Java\jre7\classes
sun.boot.library.path: C:\Program Files\Java\jre7\bin
sun.cpu.endian: little
sun.cpu.isalist: amd64
sun.desktop: windows
sun.io.unicode.encoding: UnicodeLittle
sun.java.command: C:\jpen-2-121204-lib\jpen-2-121204\jpen-2.jar
sun.java.launcher: SUN_STANDARD
sun.jnu.encoding: Cp1252
sun.management.compiler: HotSpot 64-Bit Tiered Compilers
sun.os.patch.level:
user.country: ES
user.language: es
user.script:
user.timezone: Europe/Paris
user.variant:
===== ===== =====

1 Attachments

Discussion

  • Nicolas Carranza

    hi Ramon, looks like it crashed when making a jni call... could you please provide me the hs_errXXX.log file generated by the jvm ? (What does it do when pressing the "Depurar" button?)

    Thank you for reporting this bug,
    Nicolas

     
  • Ramon Talavera

    Ramon Talavera - 2014-05-29

    Launching with:
    java -XX:ErrorFile=java_error%p.log -jar jpen-2.jar

    But I get no error files at all (the application fails as it did before). Am I launching it correctly?

     

    Last edit: Ramon Talavera 2014-05-29