Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / Java [игнор отключен] [закрыт для гостей] / Ответ от функции из dll / 17 сообщений из 17, страница 1 из 1
09.03.2017, 17:40
    #39416379
f68
f68
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Ответ от функции из dll
Всем добрый день.
Пытаюсь использовать dll в программе.
Подключаю.

Код: java
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
 public static interface wndInterfasor extends Library {
        
        public MData libCloseDocument(int l);
        
        public class MData {

            public byte errCode;
            public byte[] data = new byte[256];
            public byte dataLength = 0;
        }
        
    }

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                         
        
       wndInterfasor lib = (wndInterfasor) Native.loadLibrary("D:/file.dll", wndInterfasor.class);
      
     //запускаю функцию
    lib.libCloseDocument(0);  

}


И выскакивает ошибка
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Unsupported return type class haupt.NewJDialog$wndInterfasor$MData in function libCloseDocument
at com.sun.jna.Function.invoke(Function.java:424)
at com.sun.jna.Function.invoke(Function.java:276)
********
В описании функции

Структура ответа MData
structMData {
interrCode; // Кодошибки
chardata[256]; // Строкасответом(массив байт)
intdataLength; // Длина строки с ответом
};

Как правильно получить ответ?

Если использовать функции где ответ int, то все отлично выполняется.

Спасибо.
...
Рейтинг: 0 / 0
09.03.2017, 18:10
    #39416409
Blazkowicz
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Ответ от функции из dll
Код: java
1.
 public static class MData extends Structure {
...
Рейтинг: 0 / 0
09.03.2017, 22:37
    #39416505
f68
f68
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Ответ от функции из dll
Исправил на

Код: java
1.
2.
3.
4.
5.
public static class MData extends Structure implements Structure.ByReference{
            public byte errCode;
            public byte[] data ;
            public byte dataLength;
        }



И появилось


#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6a6348b9, pid=7472, tid=0x00001d7c
#
# JRE version: Java(TM) SE Runtime Environment (8.0_102-b14) (build 1.8.0_102-b14)
# Java VM: Java HotSpot(TM) Client VM (25.102-b14 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [PiritLib.dll+0x48b9]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\ivan\Documents\NetBeansProjects\JavaCobs\hs_err_pid7472.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
t2=1489085457 t1=1489085457 DTR:6 i=0
Java Result: 1
...
Рейтинг: 0 / 0
10.03.2017, 08:03
    #39416579
Blazkowicz
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Ответ от функции из dll
Есть сомнения что там все переменные типа byte. Написано же что они int.
...
Рейтинг: 0 / 0
10.03.2017, 09:21
    #39416628
f68
f68
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Ответ от функции из dll
Код: java
1.
2.
3.
4.
5.
public static class MData extends Structure{
            public int errCode;
            public char[] data = new char[256];
            public int dataLength;
        }



Тоже самое.
Хотя функция выполняется.
...
Рейтинг: 0 / 0
10.03.2017, 09:37
    #39416641
Blazkowicz
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Ответ от функции из dll
f68,

А вы принципиально игнорируете документацию?
https://jna.java.net/javadoc/overview-summary.html#arrays
Тип массива не нужно было менять. C char мапится на Java byte.
...
Рейтинг: 0 / 0
10.03.2017, 10:36
    #39416687
f68
f68
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Ответ от функции из dll
Исправил на
Код: java
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
public class MData extends Structure{
            public int errCode;
            public byte[] data;
            public int dataLength;
            
            public MData(int dz) 
            {
                data = new byte[dz];
                dataLength = data.length;
                allocateMemory();
            }
        }



В документации
Код: java
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
Variable-sized structures
Structures with variable size, or with primitive array elements, for example:
// Original C code
typedef struct _Header {
  int flags;
  int buf_length;
  char buffer[1];
} Header;
require a constructor which establishes the required size for the structure and initializes things appropriately. For example:
// Equivalent JNA mapping
class Header extends Structure {
  public int flags;
  public int buf_length;
  public byte[] buffer;
  public Header(int bufferSize) {
    buffer = new byte[bufferSize];
    buf_length = buffer.length;
    allocateMemory();
  }
}



И все равно без изменений.
...
Рейтинг: 0 / 0
10.03.2017, 11:33
    #39416734
Blazkowicz
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Ответ от функции из dll
f68,
У вас же вроде не variable size, а фиксированые 256 байт?
Код: java
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
public static class MData extends Structure{
            public int errCode;
            public byte[] data;
            public int dataLength;
            
            public MData() {
                data = new byte[256];
                allocateMemory();
            }
        }


или так
Код: java
1.
2.
3.
4.
5.
public static class MData extends Structure{
            public int errCode;
            public byte[] data = new byte[256];
            public int dataLength;
}
...
Рейтинг: 0 / 0
10.03.2017, 11:46
    #39416751
f68
f68
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Ответ от функции из dll
Ничего не изменилось.
Все равно fotal error
...
Рейтинг: 0 / 0
10.03.2017, 12:16
    #39416792
Blazkowicz
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Ответ от функции из dll
f68,

А в крашдампе
hs_err_pidXXXX.log
есть какие-то детали об ошибке?
...
Рейтинг: 0 / 0
10.03.2017, 12:18
    #39416795
f68
f68
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Ответ от функции из dll
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x5f2948b9, pid=2240, tid=0x00001a78
#
# JRE version: Java(TM) SE Runtime Environment (8.0_102-b14) (build 1.8.0_102-b14)
# Java VM: Java HotSpot(TM) Client VM (25.102-b14 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [PiritLib.dll+0x48b9]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

--------------- T H R E A D ---------------

Current thread (0x16317800): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=6776, stack(0x152b0000,0x15300000)]

siginfo: ExceptionCode=0xc0000005, writing address 0x00000000

Registers:
EAX=0x152fca34, EBX=0x00000000, ECX=0x00000042, EDX=0x00000014
ESP=0x152fca2c, EBP=0x152fcb3c, ESI=0x152fca34, EDI=0x00000000
EIP=0x5f2948b9, EFLAGS=0x00010246

Top of Stack: (sp=0x152fca2c)
0x152fca2c: 152fcc10 00000000 00000000 31330002
0x152fca3c: 35323030 2e301c39 1c333131 4530031c
0x152fca4c: 00d6cf78 fffffffe 773b01db 773b032a
0x152fca5c: 0037a240 152fc986 00000000 152fc984
0x152fca6c: 0037a140 152fc9e0 773b03a2 773ae1b2
0x152fca7c: 773b0378 62c3b988 163b33b8 16317940
0x152fca8c: 0000ffff 16410000 00001a09 152fca30
0x152fca9c: 5d2c25bc 00000000 0037a240 152fc984

Instructions: (pc=0x5f2948b9)
0x5f294899: 45 0c 50 6a 31 8d 8d f8 fe ff ff 51 b9 f8 52 2b
0x5f2948a9: 5f e8 a1 eb ff ff b9 42 00 00 00 8b f0 8b 7d 08
0x5f2948b9: f3 a5 8b 45 08 5f 5e 8b e5 5d c3 cc cc cc cc cc
0x5f2948c9: cc cc cc cc cc cc cc 55 8b ec 6a 00 b9 f8 52 2b


Register to memory mapping:

EAX=0x152fca34 is pointing into the stack for thread: 0x16317800
EBX=0x00000000 is an unknown value
ECX=0x00000042 is an unknown value
EDX=0x00000014 is an unknown value
ESP=0x152fca2c is pointing into the stack for thread: 0x16317800
EBP=0x152fcb3c is pointing into the stack for thread: 0x16317800
ESI=0x152fca34 is pointing into the stack for thread: 0x16317800
EDI=0x00000000 is an unknown value


Stack: [0x152b0000,0x15300000], sp=0x152fca2c, free space=306k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [PiritLib.dll+0x48b9]
C [jna6631602300181129640.dll+0xcb67]
C [jna6631602300181129640.dll+0xc782]
C [jna6631602300181129640.dll+0x44ae]
C [jna6631602300181129640.dll+0x4e7e]
j com.sun.jna.Native.invokePointer(JI[Ljava/lang/Object;)J+0
j com.sun.jna.Function.invokePointer(I[Ljava/lang/Object;)Lcom/sun/jna/Pointer;+6
j com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;Z)Ljava/lang/Object;+642
j com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+214
j com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+341
j com.sun.proxy.$Proxy0.libCloseDocument(I)Lcom/sun/jna/Pointer;+19
j haupt.NewJDialog.jButton1ActionPerformed(Ljava/awt/event/ActionEvent;)V+244
j haupt.NewJDialog.access$100(Lhaupt/NewJDialog;Ljava/awt/event/ActionEvent;)V+2
j haupt.NewJDialog$2.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
j javax.swing.AbstractButton.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+83
j javax.swing.AbstractButton$Handler.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
j javax.swing.DefaultButtonModel.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+34
j javax.swing.DefaultButtonModel.setPressed(Z)V+117
j javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Ljava/awt/event/MouseEvent;)V+35
j java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+64
j javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23
j java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V+81
j java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V+18
j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+589
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V+327
j java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z+155
j java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z+50
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+12
j java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+41
j java.awt.EventQueue.access$500(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3
j java.awt.EventQueue$3.run()Ljava/lang/Void;+32
j java.awt.EventQueue$3.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
V [jvm.dll+0x15a6e5]
V [jvm.dll+0x2204fe]
V [jvm.dll+0x15a77e]
V [jvm.dll+0x10ac3f]
C [java.dll+0x102f]
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+6
j java.awt.EventQueue$4.run()Ljava/lang/Void;+11
j java.awt.EventQueue$4.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
V [jvm.dll+0x15a6e5]
V [jvm.dll+0x2204fe]
V [jvm.dll+0x15a77e]
V [jvm.dll+0x10ac3f]
C [java.dll+0x102f]
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18
j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+73
j java.awt.EventDispatchThread.pumpOneEventForFilters(I)V+245
j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35
j java.awt.EventDispatchThread.pumpEventsForFilter(Ljava/awt/Conditional;Ljava/awt/EventFilter;)V+4
j java.awt.WaitDispatchSupport$2.run()V+59
j java.awt.WaitDispatchSupport$4.run()Ljava/lang/Void;+4
j java.awt.WaitDispatchSupport$4.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
V [jvm.dll+0x15a6e5]
V [jvm.dll+0x2204fe]
V [jvm.dll+0x15a77e]
V [jvm.dll+0x10ac3f]
C [java.dll+0x1015]
j java.awt.WaitDispatchSupport.enter()Z+279
j java.awt.Dialog.show()V+233
j java.awt.Component.show(Z)V+5
j java.awt.Component.setVisible(Z)V+2
j java.awt.Window.setVisible(Z)V+2
j java.awt.Dialog.setVisible(Z)V+2
j haupt.JFrame.formWindowOpened(Ljava/awt/event/WindowEvent;)V+12
j haupt.JFrame.access$000(Lhaupt/JFrame;Ljava/awt/event/WindowEvent;)V+2
j haupt.JFrame$1.windowOpened(Ljava/awt/event/WindowEvent;)V+5
j java.awt.Window.processWindowEvent(Ljava/awt/event/WindowEvent;)V+58
j javax.swing.JFrame.processWindowEvent(Ljava/awt/event/WindowEvent;)V+2
j java.awt.Window.processEvent(Ljava/awt/AWTEvent;)V+69
j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+589
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
j java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+41
j java.awt.EventQueue.access$500(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3
j java.awt.EventQueue$3.run()Ljava/lang/Void;+32
j java.awt.EventQueue$3.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
V [jvm.dll+0x15a6e5]
V [jvm.dll+0x2204fe]
V [jvm.dll+0x15a77e]
V [jvm.dll+0x10ac3f]
C [java.dll+0x102f]
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+6
j java.awt.EventQueue$4.run()Ljava/lang/Void;+11
j java.awt.EventQueue$4.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
V [jvm.dll+0x15a6e5]
V [jvm.dll+0x2204fe]
V [jvm.dll+0x15a77e]
...<more frames>...

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.jna.Native.invokePointer(JI[Ljava/lang/Object;)J+0
j com.sun.jna.Function.invokePointer(I[Ljava/lang/Object;)Lcom/sun/jna/Pointer;+6
j com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;Z)Ljava/lang/Object;+642
j com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+214
j com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+341
j com.sun.proxy.$Proxy0.libCloseDocument(I)Lcom/sun/jna/Pointer;+19
j haupt.NewJDialog.jButton1ActionPerformed(Ljava/awt/event/ActionEvent;)V+244
j haupt.NewJDialog.access$100(Lhaupt/NewJDialog;Ljava/awt/event/ActionEvent;)V+2
j haupt.NewJDialog$2.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
j javax.swing.AbstractButton.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+83
j javax.swing.AbstractButton$Handler.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
j javax.swing.DefaultButtonModel.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+34
j javax.swing.DefaultButtonModel.setPressed(Z)V+117
j javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Ljava/awt/event/MouseEvent;)V+35
j java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+64
j javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23
j java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V+81
j java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V+18
j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+589
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V+327
j java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z+155
j java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z+50
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+12
j java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+41
j java.awt.EventQueue.access$500(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3
j java.awt.EventQueue$3.run()Ljava/lang/Void;+32
j java.awt.EventQueue$3.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+6
j java.awt.EventQueue$4.run()Ljava/lang/Void;+11
j java.awt.EventQueue$4.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18
j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+73
j java.awt.EventDispatchThread.pumpOneEventForFilters(I)V+245
j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35
j java.awt.EventDispatchThread.pumpEventsForFilter(Ljava/awt/Conditional;Ljava/awt/EventFilter;)V+4
j java.awt.WaitDispatchSupport$2.run()V+59
j java.awt.WaitDispatchSupport$4.run()Ljava/lang/Void;+4
j java.awt.WaitDispatchSupport$4.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;+0
j java.awt.WaitDispatchSupport.enter()Z+279
j java.awt.Dialog.show()V+233
j java.awt.Component.show(Z)V+5
j java.awt.Component.setVisible(Z)V+2
j java.awt.Window.setVisible(Z)V+2
j java.awt.Dialog.setVisible(Z)V+2
j haupt.JFrame.formWindowOpened(Ljava/awt/event/WindowEvent;)V+12
j haupt.JFrame.access$000(Lhaupt/JFrame;Ljava/awt/event/WindowEvent;)V+2
j haupt.JFrame$1.windowOpened(Ljava/awt/event/WindowEvent;)V+5
j java.awt.Window.processWindowEvent(Ljava/awt/event/WindowEvent;)V+58
j javax.swing.JFrame.processWindowEvent(Ljava/awt/event/WindowEvent;)V+2
j java.awt.Window.processEvent(Ljava/awt/AWTEvent;)V+69
j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+589
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
j java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+41
j java.awt.EventQueue.access$500(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3
j java.awt.EventQueue$3.run()Ljava/lang/Void;+32
j java.awt.EventQueue$3.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+6
j java.awt.EventQueue$4.run()Ljava/lang/Void;+11
j java.awt.EventQueue$4.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18
j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+73
j java.awt.EventDispatchThread.pumpOneEventForFilters(I)V+245
j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35
j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j java.awt.EventDispatchThread.run()V+9
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x009fc800 JavaThread "DestroyJavaVM" [_thread_blocked, id=4604, stack(0x00240000,0x00290000)]
=>0x16317800 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=6776, stack(0x152b0000,0x15300000)]
0x162f9c00 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3392, stack(0x15d20000,0x15d70000)]
0x162f8800 JavaThread "AWT-Shutdown" [_thread_blocked, id=6784, stack(0x16150000,0x161a0000)]
0x162f5c00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=7044, stack(0x16480000,0x164d0000)]
0x02390800 JavaThread "Service Thread" daemon [_thread_blocked, id=4040, stack(0x15ee0000,0x15f30000)]
0x02371000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=3728, stack(0x15a60000,0x15ab0000)]
0x02370000 JavaThread "Attach Listener" daemon [_thread_blocked, id=6764, stack(0x15bf0000,0x15c40000)]
0x0236c800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7060, stack(0x15c70000,0x15cc0000)]
0x02362800 JavaThread "Finalizer" daemon [_thread_blocked, id=6444, stack(0x15ad0000,0x15b20000)]
0x02306800 JavaThread "Reference Handler" daemon [_thread_blocked, id=6088, stack(0x159c0000,0x15a10000)]

Other Threads:
0x02301400 VMThread [stack: 0x02400000,0x02450000] [id=3904]
0x023a2800 WatcherThread [stack: 0x15db0000,0x15e00000] [id=3768]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
def new generation total 4928K, used 841K [0x04800000, 0x04d50000, 0x09d50000)
eden space 4416K, 7% used [0x04800000, 0x048525e0, 0x04c50000)
from space 512K, 100% used [0x04c50000, 0x04cd0000, 0x04cd0000)
to space 512K, 0% used [0x04cd0000, 0x04cd0000, 0x04d50000)
tenured generation total 10944K, used 2947K [0x09d50000, 0x0a800000, 0x14800000)
the space 10944K, 26% used [0x09d50000, 0x0a030f20, 0x0a031000, 0x0a800000)
Metaspace used 1445K, capacity 2727K, committed 2752K, reserved 4480K

Card table byte_map: [0x00950000,0x009e0000] byte_map_base: 0x0092c000

Polling page: 0x001a0000

CodeCache: size=32768Kb used=967Kb max_used=967Kb free=31801Kb
bounds [0x02780000, 0x02878000, 0x04780000]
total_blobs=479 nmethods=236 adapters=174
compilation: enabled

Compilation events (10 events):
Event: 1.464 Thread 0x02371000 231 s! sun.misc.URLClassPath::getLoader (197 bytes)
Event: 1.465 Thread 0x02371000 nmethod 231 0x0286e048 code [0x0286e2a0, 0x0286f3cc]
Event: 1.465 Thread 0x02371000 232 s sun.misc.URLClassPath::getNextLoader (88 bytes)
Event: 1.465 Thread 0x02371000 nmethod 232 0x02870548 code [0x02870690, 0x02870a84]
Event: 1.480 Thread 0x02371000 233 sun.nio.cs.SingleByte::initC2B (233 bytes)
Event: 1.480 Thread 0x02371000 nmethod 233 0x02870dc8 code [0x02870ee0, 0x02871180]
Event: 1.765 Thread 0x02371000 234 sun.awt.AWTAutoShutdown::isReadyToShutdown (37 bytes)
Event: 1.765 Thread 0x02371000 nmethod 234 0x02871508 code [0x02871610, 0x02871708]
Event: 1.813 Thread 0x02371000 235 java.util.concurrent.locks.AbstractOwnableSynchronizer::getExclusiveOwnerThread (5 bytes)
Event: 1.813 Thread 0x02371000 nmethod 235 0x02871788 code [0x02871880, 0x02871900]

GC Heap History (4 events):
Event: 0.194 GC heap before
{Heap before GC invocations=0 (full 0):
def new generation total 4928K, used 4216K [0x04800000, 0x04d50000, 0x09d50000)
eden space 4416K, 95% used [0x04800000, 0x04c1e190, 0x04c50000)
from space 512K, 0% used [0x04c50000, 0x04c50000, 0x04cd0000)
to space 512K, 0% used [0x04cd0000, 0x04cd0000, 0x04d50000)
tenured generation total 10944K, used 0K [0x09d50000, 0x0a800000, 0x14800000)
the space 10944K, 0% used [0x09d50000, 0x09d50000, 0x09d50200, 0x0a800000)
Metaspace used 797K, capacity 2496K, committed 2496K, reserved 4480K
Event: 0.198 GC heap after
Heap after GC invocations=1 (full 0):
def new generation total 4928K, used 512K [0x04800000, 0x04d50000, 0x09d50000)
eden space 4416K, 0% used [0x04800000, 0x04800000, 0x04c50000)
from space 512K, 100% used [0x04cd0000, 0x04d50000, 0x04d50000)
to space 512K, 0% used [0x04c50000, 0x04c50000, 0x04cd0000)
tenured generation total 10944K, used 898K [0x09d50000, 0x0a800000, 0x14800000)
the space 10944K, 8% used [0x09d50000, 0x09e30ab0, 0x09e30c00, 0x0a800000)
Metaspace used 797K, capacity 2496K, committed 2496K, reserved 4480K
}
Event: 1.456 GC heap before
{Heap before GC invocations=1 (full 0):
def new generation total 4928K, used 4927K [0x04800000, 0x04d50000, 0x09d50000)
eden space 4416K, 99% used [0x04800000, 0x04c4ff40, 0x04c50000)
from space 512K, 100% used [0x04cd0000, 0x04d50000, 0x04d50000)
to space 512K, 0% used [0x04c50000, 0x04c50000, 0x04cd0000)
tenured generation total 10944K, used 898K [0x09d50000, 0x0a800000, 0x14800000)
the space 10944K, 8% used [0x09d50000, 0x09e30ab0, 0x09e30c00, 0x0a800000)
Metaspace used 1408K, capacity 2695K, committed 2752K, reserved 4480K
Event: 1.460 GC heap after
Heap after GC invocations=2 (full 0):
def new generation total 4928K, used 512K [0x04800000, 0x04d50000, 0x09d50000)
eden space 4416K, 0% used [0x04800000, 0x04800000, 0x04c50000)
from space 512K, 100% used [0x04c50000, 0x04cd0000, 0x04cd0000)
to space 512K, 0% used [0x04cd0000, 0x04cd0000, 0x04d50000)
tenured generation total 10944K, used 2947K [0x09d50000, 0x0a800000, 0x14800000)
the space 10944K, 26% used [0x09d50000, 0x0a030f20, 0x0a031000, 0x0a800000)
Metaspace used 1408K, capacity 2695K, committed 2752K, reserved 4480K
}

Deoptimization events (0 events):
No events

Internal exceptions (10 events):
Event: 0.140 Thread 0x009fc800 Exception <a 'java/lang/ClassNotFoundException': ToolBar> (0x04ae78d0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.140 Thread 0x009fc800 Exception <a 'java/lang/ClassNotFoundException': ToggleButton> (0x04ae7e18) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.140 Thread 0x009fc800 Exception <a 'java/lang/ClassNotFoundException': javax/swing/JToolBarSeparator> (0x04ae8220) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.140 Thread 0x009fc800 Exception <a 'java/lang/ClassNotFoundException': ToolBarSeparator> (0x04ae8678) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.141 Thread 0x009fc800 Exception <a 'java/lang/ClassNotFoundException': ToolTip> (0x04ae8d48) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.141 Thread 0x009fc800 Exception <a 'java/lang/ClassNotFoundException': Tree> (0x04ae9830) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.141 Thread 0x009fc800 Exception <a 'java/lang/ClassNotFoundException': Tree> (0x04ae9ed0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.141 Thread 0x009fc800 Exception <a 'java/lang/ClassNotFoundException': javax/swing/JTreeCell> (0x04aea208) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.141 Thread 0x009fc800 Exception <a 'java/lang/ClassNotFoundException': TreeCell> (0x04aea650) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.141 Thread 0x009fc800 Exception <a 'java/lang/ClassNotFoundException': RootPane> (0x04aeafc8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]

Events (10 events):
Event: 1.464 loading class java/lang/reflect/AnnotatedType
Event: 1.464 loading class java/lang/reflect/AnnotatedType done
Event: 1.464 loading class com/sun/jna/NativeString
Event: 1.464 loading class com/sun/jna/NativeString done
Event: 1.464 loading class com/sun/jna/Memory$SharedMemory
Event: 1.464 loading class com/sun/jna/Memory$SharedMemory done
Event: 1.467 loading class com/sun/jna/Function$PostCallRead
Event: 1.467 loading class com/sun/jna/Function$PostCallRead done
Event: 1.479 loading class sun/nio/cs/IBM866
Event: 1.479 loading class sun/nio/cs/IBM866 done


Dynamic libraries:
0x00a80000 - 0x00ab3000 C:\Program Files (x86)\Java\jdk1.8.0_102\bin\java.exe
0x77380000 - 0x77500000 C:\Windows\SysWOW64\ntdll.dll
0x76b80000 - 0x76c90000 C:\Windows\syswow64\kernel32.dll
0x74f80000 - 0x74fc7000 C:\Windows\syswow64\KERNELBASE.dll
0x76eb0000 - 0x76f50000 C:\Windows\syswow64\ADVAPI32.dll
0x769e0000 - 0x76a8c000 C:\Windows\syswow64\msvcrt.dll
0x76d70000 - 0x76d89000 C:\Windows\SysWOW64\sechost.dll
0x750c0000 - 0x751b0000 C:\Windows\syswow64\RPCRT4.dll
0x74dd0000 - 0x74e30000 C:\Windows\syswow64\SspiCli.dll
0x74dc0000 - 0x74dcc000 C:\Windows\syswow64\CRYPTBASE.dll
0x74e40000 - 0x74f40000 C:\Windows\syswow64\USER32.dll
0x76a90000 - 0x76b20000 C:\Windows\syswow64\GDI32.dll
0x751b0000 - 0x751ba000 C:\Windows\syswow64\LPK.dll
0x75350000 - 0x753ed000 C:\Windows\syswow64\USP10.dll
0x6ecf0000 - 0x6ee8e000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll
0x76b20000 - 0x76b77000 C:\Windows\syswow64\SHLWAPI.dll
0x74fd0000 - 0x75030000 C:\Windows\system32\IMM32.DLL
0x76d90000 - 0x76e5c000 C:\Windows\syswow64\MSCTF.dll
0x62160000 - 0x6221f000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\msvcr100.dll
0x5d240000 - 0x5d60d000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\client\jvm.dll
0x74ac0000 - 0x74ac7000 C:\Windows\system32\WSOCK32.dll
0x75790000 - 0x757c5000 C:\Windows\syswow64\WS2_32.dll
0x75340000 - 0x75346000 C:\Windows\syswow64\NSI.dll
0x70240000 - 0x70272000 C:\Windows\system32\WINMM.dll
0x74c40000 - 0x74c49000 C:\Windows\system32\VERSION.dll
0x757d0000 - 0x757d5000 C:\Windows\syswow64\PSAPI.DLL
0x62410000 - 0x6241c000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\verify.dll
0x62370000 - 0x62391000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\java.dll
0x62350000 - 0x62363000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\zip.dll
0x75d90000 - 0x769da000 C:\Windows\syswow64\SHELL32.dll
0x755a0000 - 0x756fc000 C:\Windows\syswow64\ole32.dll
0x74bc0000 - 0x74bcb000 C:\Windows\system32\profapi.dll
0x5c2b0000 - 0x5c3f5000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\awt.dll
0x75030000 - 0x750bf000 C:\Windows\syswow64\OLEAUT32.dll
0x6ff90000 - 0x70010000 C:\Windows\system32\uxtheme.dll
0x6fde0000 - 0x6fdf3000 C:\Windows\system32\dwmapi.dll
0x622a0000 - 0x622d9000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\fontmanager.dll
0x75a10000 - 0x75a93000 C:\Windows\syswow64\CLBCatQ.DLL
0x62270000 - 0x62294000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\dcpr.dll
0x62250000 - 0x62266000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\net.dll
0x70fc0000 - 0x70ffc000 C:\Windows\system32\mswsock.dll
0x74850000 - 0x74856000 C:\Windows\System32\wship6.dll
0x62340000 - 0x6234f000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\nio.dll
0x5f2d0000 - 0x5f302000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\t2k.dll
0x74870000 - 0x74886000 C:\Windows\system32\CRYPTSP.dll
0x71b80000 - 0x71bbb000 C:\Windows\system32\rsaenh.dll
0x70560000 - 0x70577000 C:\Windows\system32\USERENV.dll
0x70f50000 - 0x70f6c000 C:\Windows\system32\IPHLPAPI.DLL
0x74840000 - 0x74847000 C:\Windows\system32\WINNSI.DLL
0x70e90000 - 0x70e9d000 C:\Windows\system32\dhcpcsvc6.DLL
0x70e70000 - 0x70e82000 C:\Windows\system32\dhcpcsvc.DLL
0x16410000 - 0x16465000 C:\Users\ivan\AppData\Local\Temp\jna6631602300181129640.dll
0x5f290000 - 0x5f2c3000 D:\PiritLib.dll
0x749d0000 - 0x74abb000 C:\Windows\system32\dbghelp.dll

VM Arguments:
jvm_args: -Dfile.encoding=UTF-8
java_command: haupt.JFrame
java_class_path (initial): C:\Users\ivan\Documents\NetBeansProjects\JavaCobs\lib\jacob.jar;C:\Users\ivan\Documents\NetBeansProjects\JavaCobs\lib\jssc-2.8.0.jar;C:\Users\ivan\Documents\NetBeansProjects\JavaCobs\lib\jna.jar;C:\Users\ivan\Documents\NetBeansProjects\JavaCobs\lib\apache-commons.jar;C:\Users\ivan\Documents\NetBeansProjects\JavaCobs\build\classes
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_31
PATH=C:\ProgramData\Oracle\Java\javapath;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 (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;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 (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\OpenVPN\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Skype\Phone\
USERNAME=ivan
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel



--------------- S Y S T E M ---------------

OS: Windows 7 , 64 bit Build 7601 (6.1.7601.18015)

CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 58 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, clmul, erms, ht, tsc, tscinvbit, tscinv

Memory: 4k page, physical 8281892k(3191092k free), swap 16561920k(10899812k free)

vm_info: Java HotSpot(TM) Client VM (25.102-b14) for windows-x86 JRE (1.8.0_102-b14), built on Jun 22 2016 13:13:29 by "java_re" with MS VC++ 10.0 (VS2010)

time: Fri Mar 10 12:08:13 2017
elapsed time: 2 seconds (0d 0h 0m 2s)

...
Рейтинг: 0 / 0
10.03.2017, 12:22
    #39416799
f68
f68
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Ответ от функции из dll
Предыдущая неверная
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x5f2548b9, pid=6576, tid=0x00000e8c
#
# JRE version: Java(TM) SE Runtime Environment (8.0_102-b14) (build 1.8.0_102-b14)
# Java VM: Java HotSpot(TM) Client VM (25.102-b14 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [PiritLib.dll+0x48b9]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

--------------- T H R E A D ---------------

Current thread (0x16314000): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=3724, stack(0x16fa0000,0x16ff0000)]

siginfo: ExceptionCode=0xc0000005, writing address 0x00000000

Registers:
EAX=0x16fecd24, EBX=0x00000000, ECX=0x00000042, EDX=0x00000014
ESP=0x16fecd1c, EBP=0x16fece2c, ESI=0x16fecd24, EDI=0x00000000
EIP=0x5f2548b9, EFLAGS=0x00010246

Top of Stack: (sp=0x16fecd1c)
0x16fecd1c: 16fecf00 00000000 00000000 31330002
0x16fecd2c: 36323030 2e301c30 1c343131 3330031c
0x16fecd3c: 00c2cc74 fffffffe 773b01db 773b032a
0x16fecd4c: 0057a240 16fecc76 00000000 16fecc74
0x16fecd5c: 0057a140 16feccd0 773b03a2 773ae1b2
0x16fecd6c: 773b0378 6106bfb4 163b30b0 16314140
0x16fecd7c: 0000ffff 15f90000 00001a09 16fecd20
0x16fecd8c: 5b0425bc 00000000 0057a240 16fecc74

Instructions: (pc=0x5f2548b9)
0x5f254899: 45 0c 50 6a 31 8d 8d f8 fe ff ff 51 b9 f8 52 27
0x5f2548a9: 5f e8 a1 eb ff ff b9 42 00 00 00 8b f0 8b 7d 08
0x5f2548b9: f3 a5 8b 45 08 5f 5e 8b e5 5d c3 cc cc cc cc cc
0x5f2548c9: cc cc cc cc cc cc cc 55 8b ec 6a 00 b9 f8 52 27


Register to memory mapping:

EAX=0x16fecd24 is pointing into the stack for thread: 0x16314000
EBX=0x00000000 is an unknown value
ECX=0x00000042 is an unknown value
EDX=0x00000014 is an unknown value
ESP=0x16fecd1c is pointing into the stack for thread: 0x16314000
EBP=0x16fece2c is pointing into the stack for thread: 0x16314000
ESI=0x16fecd24 is pointing into the stack for thread: 0x16314000
EDI=0x00000000 is an unknown value


Stack: [0x16fa0000,0x16ff0000], sp=0x16fecd1c, free space=307k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [PiritLib.dll+0x48b9]
C [jna6479211251200768336.dll+0xcb67]
C [jna6479211251200768336.dll+0xc782]
C [jna6479211251200768336.dll+0x44ae]
C [jna6479211251200768336.dll+0x4e7e]
j com.sun.jna.Native.invokePointer(JI[Ljava/lang/Object;)J+0
j com.sun.jna.Function.invokePointer(I[Ljava/lang/Object;)Lcom/sun/jna/Pointer;+6
j com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;Z)Ljava/lang/Object;+738
j com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+214
j com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+341
j com.sun.proxy.$Proxy0.libCloseDocument(I)Lhaupt/NewJDialog$wndInterfasor$MData;+19
j haupt.NewJDialog.jButton1ActionPerformed(Ljava/awt/event/ActionEvent;)V+214
j haupt.NewJDialog.access$100(Lhaupt/NewJDialog;Ljava/awt/event/ActionEvent;)V+2
j haupt.NewJDialog$2.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
j javax.swing.AbstractButton.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+83
j javax.swing.AbstractButton$Handler.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
j javax.swing.DefaultButtonModel.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+34
j javax.swing.DefaultButtonModel.setPressed(Z)V+117
j javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Ljava/awt/event/MouseEvent;)V+35
j java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+64
j javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23
j java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V+81
j java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V+18
j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+589
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V+327
j java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z+155
j java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z+50
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+12
j java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+41
j java.awt.EventQueue.access$500(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3
j java.awt.EventQueue$3.run()Ljava/lang/Void;+32
j java.awt.EventQueue$3.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
V [jvm.dll+0x15a6e5]
V [jvm.dll+0x2204fe]
V [jvm.dll+0x15a77e]
V [jvm.dll+0x10ac3f]
C [java.dll+0x102f]
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+6
j java.awt.EventQueue$4.run()Ljava/lang/Void;+11
j java.awt.EventQueue$4.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
V [jvm.dll+0x15a6e5]
V [jvm.dll+0x2204fe]
V [jvm.dll+0x15a77e]
V [jvm.dll+0x10ac3f]
C [java.dll+0x102f]
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18
j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+73
j java.awt.EventDispatchThread.pumpOneEventForFilters(I)V+245
j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35
j java.awt.EventDispatchThread.pumpEventsForFilter(Ljava/awt/Conditional;Ljava/awt/EventFilter;)V+4
j java.awt.WaitDispatchSupport$2.run()V+59
j java.awt.WaitDispatchSupport$4.run()Ljava/lang/Void;+4
j java.awt.WaitDispatchSupport$4.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
V [jvm.dll+0x15a6e5]
V [jvm.dll+0x2204fe]
V [jvm.dll+0x15a77e]
V [jvm.dll+0x10ac3f]
C [java.dll+0x1015]
j java.awt.WaitDispatchSupport.enter()Z+279
j java.awt.Dialog.show()V+233
j java.awt.Component.show(Z)V+5
j java.awt.Component.setVisible(Z)V+2
j java.awt.Window.setVisible(Z)V+2
j java.awt.Dialog.setVisible(Z)V+2
j haupt.JFrame.formWindowOpened(Ljava/awt/event/WindowEvent;)V+12
j haupt.JFrame.access$000(Lhaupt/JFrame;Ljava/awt/event/WindowEvent;)V+2
j haupt.JFrame$1.windowOpened(Ljava/awt/event/WindowEvent;)V+5
j java.awt.Window.processWindowEvent(Ljava/awt/event/WindowEvent;)V+58
j javax.swing.JFrame.processWindowEvent(Ljava/awt/event/WindowEvent;)V+2
j java.awt.Window.processEvent(Ljava/awt/AWTEvent;)V+69
j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+589
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
j java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+41
j java.awt.EventQueue.access$500(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3
j java.awt.EventQueue$3.run()Ljava/lang/Void;+32
j java.awt.EventQueue$3.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
V [jvm.dll+0x15a6e5]
V [jvm.dll+0x2204fe]
V [jvm.dll+0x15a77e]
V [jvm.dll+0x10ac3f]
C [java.dll+0x102f]
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+6
j java.awt.EventQueue$4.run()Ljava/lang/Void;+11
j java.awt.EventQueue$4.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
V [jvm.dll+0x15a6e5]
V [jvm.dll+0x2204fe]
V [jvm.dll+0x15a77e]
...<more frames>...

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.jna.Native.invokePointer(JI[Ljava/lang/Object;)J+0
j com.sun.jna.Function.invokePointer(I[Ljava/lang/Object;)Lcom/sun/jna/Pointer;+6
j com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;Z)Ljava/lang/Object;+738
j com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+214
j com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+341
j com.sun.proxy.$Proxy0.libCloseDocument(I)Lhaupt/NewJDialog$wndInterfasor$MData;+19
j haupt.NewJDialog.jButton1ActionPerformed(Ljava/awt/event/ActionEvent;)V+214
j haupt.NewJDialog.access$100(Lhaupt/NewJDialog;Ljava/awt/event/ActionEvent;)V+2
j haupt.NewJDialog$2.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
j javax.swing.AbstractButton.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+83
j javax.swing.AbstractButton$Handler.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
j javax.swing.DefaultButtonModel.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+34
j javax.swing.DefaultButtonModel.setPressed(Z)V+117
j javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Ljava/awt/event/MouseEvent;)V+35
j java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+64
j javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23
j java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V+81
j java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V+18
j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+589
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V+327
j java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z+155
j java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z+50
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+12
j java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+41
j java.awt.EventQueue.access$500(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3
j java.awt.EventQueue$3.run()Ljava/lang/Void;+32
j java.awt.EventQueue$3.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+6
j java.awt.EventQueue$4.run()Ljava/lang/Void;+11
j java.awt.EventQueue$4.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18
j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+73
j java.awt.EventDispatchThread.pumpOneEventForFilters(I)V+245
j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35
j java.awt.EventDispatchThread.pumpEventsForFilter(Ljava/awt/Conditional;Ljava/awt/EventFilter;)V+4
j java.awt.WaitDispatchSupport$2.run()V+59
j java.awt.WaitDispatchSupport$4.run()Ljava/lang/Void;+4
j java.awt.WaitDispatchSupport$4.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;+0
j java.awt.WaitDispatchSupport.enter()Z+279
j java.awt.Dialog.show()V+233
j java.awt.Component.show(Z)V+5
j java.awt.Component.setVisible(Z)V+2
j java.awt.Window.setVisible(Z)V+2
j java.awt.Dialog.setVisible(Z)V+2
j haupt.JFrame.formWindowOpened(Ljava/awt/event/WindowEvent;)V+12
j haupt.JFrame.access$000(Lhaupt/JFrame;Ljava/awt/event/WindowEvent;)V+2
j haupt.JFrame$1.windowOpened(Ljava/awt/event/WindowEvent;)V+5
j java.awt.Window.processWindowEvent(Ljava/awt/event/WindowEvent;)V+58
j javax.swing.JFrame.processWindowEvent(Ljava/awt/event/WindowEvent;)V+2
j java.awt.Window.processEvent(Ljava/awt/AWTEvent;)V+69
j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+589
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
j java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+41
j java.awt.EventQueue.access$500(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3
j java.awt.EventQueue$3.run()Ljava/lang/Void;+32
j java.awt.EventQueue$3.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+6
j java.awt.EventQueue$4.run()Ljava/lang/Void;+11
j java.awt.EventQueue$4.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18
j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+73
j java.awt.EventDispatchThread.pumpOneEventForFilters(I)V+245
j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35
j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j java.awt.EventDispatchThread.run()V+9
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x00e3c800 JavaThread "DestroyJavaVM" [_thread_blocked, id=3816, stack(0x001e0000,0x00230000)]
=>0x16314000 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=3724, stack(0x16fa0000,0x16ff0000)]
0x162fb800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=6164, stack(0x00de0000,0x00e30000)]
0x162fa800 JavaThread "AWT-Shutdown" [_thread_blocked, id=4224, stack(0x16470000,0x164c0000)]
0x162f7c00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3992, stack(0x15af0000,0x15b40000)]
0x00f10800 JavaThread "Service Thread" daemon [_thread_blocked, id=5828, stack(0x15e70000,0x15ec0000)]
0x00ef1000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=952, stack(0x15e20000,0x15e70000)]
0x00ef0000 JavaThread "Attach Listener" daemon [_thread_blocked, id=6276, stack(0x15dd0000,0x15e20000)]
0x00eec800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4128, stack(0x15b40000,0x15b90000)]
0x00ee2800 JavaThread "Finalizer" daemon [_thread_blocked, id=2236, stack(0x15970000,0x159c0000)]
0x00e86800 JavaThread "Reference Handler" daemon [_thread_blocked, id=6588, stack(0x15aa0000,0x15af0000)]

Other Threads:
0x00e81400 VMThread [stack: 0x152a0000,0x152f0000] [id=2732]
0x00f22800 WatcherThread [stack: 0x15ce0000,0x15d30000] [id=6188]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
def new generation total 4928K, used 785K [0x04800000, 0x04d50000, 0x09d50000)
eden space 4416K, 6% used [0x04800000, 0x04845658, 0x04c50000)
from space 512K, 99% used [0x04c50000, 0x04ccf0d0, 0x04cd0000)
to space 512K, 0% used [0x04cd0000, 0x04cd0000, 0x04d50000)
tenured generation total 10944K, used 2977K [0x09d50000, 0x0a800000, 0x14800000)
the space 10944K, 27% used [0x09d50000, 0x0a038520, 0x0a038600, 0x0a800000)
Metaspace used 1445K, capacity 2727K, committed 2752K, reserved 4480K

Card table byte_map: [0x046e0000,0x04770000] byte_map_base: 0x046bc000

Polling page: 0x00230000

CodeCache: size=32768Kb used=959Kb max_used=959Kb free=31808Kb
bounds [0x026e0000, 0x027d0000, 0x046e0000]
total_blobs=468 nmethods=225 adapters=174
compilation: enabled

Compilation events (10 events):
Event: 1.606 Thread 0x00ef1000 221 java.io.DataOutputStream::incCount (20 bytes)
Event: 1.606 Thread 0x00ef1000 nmethod 221 0x027cc188 code [0x027cc280, 0x027cc310]
Event: 1.606 Thread 0x00ef1000 222 s java.io.ByteArrayOutputStream::write (32 bytes)
Event: 1.606 Thread 0x00ef1000 nmethod 222 0x027cc348 code [0x027cc450, 0x027cc67c]
Event: 1.614 Thread 0x00ef1000 223 s! sun.misc.URLClassPath::getLoader (197 bytes)
Event: 1.616 Thread 0x00ef1000 nmethod 223 0x027cc7c8 code [0x027cca20, 0x027cdb4c]
Event: 1.616 Thread 0x00ef1000 224 s sun.misc.URLClassPath::getNextLoader (88 bytes)
Event: 1.616 Thread 0x00ef1000 nmethod 224 0x027cecc8 code [0x027cee10, 0x027cf204]
Event: 1.618 Thread 0x00ef1000 225 sun.nio.cs.SingleByte::initC2B (233 bytes)
Event: 1.619 Thread 0x00ef1000 nmethod 225 0x027cf548 code [0x027cf660, 0x027cf900]

GC Heap History (4 events):
Event: 0.183 GC heap before
{Heap before GC invocations=0 (full 0):
def new generation total 4928K, used 4216K [0x04800000, 0x04d50000, 0x09d50000)
eden space 4416K, 95% used [0x04800000, 0x04c1e1f0, 0x04c50000)
from space 512K, 0% used [0x04c50000, 0x04c50000, 0x04cd0000)
to space 512K, 0% used [0x04cd0000, 0x04cd0000, 0x04d50000)
tenured generation total 10944K, used 0K [0x09d50000, 0x0a800000, 0x14800000)
the space 10944K, 0% used [0x09d50000, 0x09d50000, 0x09d50200, 0x0a800000)
Metaspace used 797K, capacity 2496K, committed 2496K, reserved 4480K
Event: 0.188 GC heap after
Heap after GC invocations=1 (full 0):
def new generation total 4928K, used 512K [0x04800000, 0x04d50000, 0x09d50000)
eden space 4416K, 0% used [0x04800000, 0x04800000, 0x04c50000)
from space 512K, 100% used [0x04cd0000, 0x04d50000, 0x04d50000)
to space 512K, 0% used [0x04c50000, 0x04c50000, 0x04cd0000)
tenured generation total 10944K, used 898K [0x09d50000, 0x0a800000, 0x14800000)
the space 10944K, 8% used [0x09d50000, 0x09e30ab0, 0x09e30c00, 0x0a800000)
Metaspace used 797K, capacity 2496K, committed 2496K, reserved 4480K
}
Event: 1.607 GC heap before
{Heap before GC invocations=1 (full 0):
def new generation total 4928K, used 4928K [0x04800000, 0x04d50000, 0x09d50000)
eden space 4416K, 100% used [0x04800000, 0x04c50000, 0x04c50000)
from space 512K, 100% used [0x04cd0000, 0x04d50000, 0x04d50000)
to space 512K, 0% used [0x04c50000, 0x04c50000, 0x04cd0000)
tenured generation total 10944K, used 898K [0x09d50000, 0x0a800000, 0x14800000)
the space 10944K, 8% used [0x09d50000, 0x09e30ab0, 0x09e30c00, 0x0a800000)
Metaspace used 1408K, capacity 2695K, committed 2752K, reserved 4480K
Event: 1.611 GC heap after
Heap after GC invocations=2 (full 0):
def new generation total 4928K, used 508K [0x04800000, 0x04d50000, 0x09d50000)
eden space 4416K, 0% used [0x04800000, 0x04800000, 0x04c50000)
from space 512K, 99% used [0x04c50000, 0x04ccf0d0, 0x04cd0000)
to space 512K, 0% used [0x04cd0000, 0x04cd0000, 0x04d50000)
tenured generation total 10944K, used 2977K [0x09d50000, 0x0a800000, 0x14800000)
the space 10944K, 27% used [0x09d50000, 0x0a038520, 0x0a038600, 0x0a800000)
Metaspace used 1408K, capacity 2695K, committed 2752K, reserved 4480K
}

Deoptimization events (0 events):
No events

Internal exceptions (10 events):
Event: 0.133 Thread 0x00e3c800 Exception <a 'java/lang/ClassNotFoundException': ToolBar> (0x04ae78d0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.133 Thread 0x00e3c800 Exception <a 'java/lang/ClassNotFoundException': ToggleButton> (0x04ae7e18) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.133 Thread 0x00e3c800 Exception <a 'java/lang/ClassNotFoundException': javax/swing/JToolBarSeparator> (0x04ae8220) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.133 Thread 0x00e3c800 Exception <a 'java/lang/ClassNotFoundException': ToolBarSeparator> (0x04ae8678) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.133 Thread 0x00e3c800 Exception <a 'java/lang/ClassNotFoundException': ToolTip> (0x04ae8d48) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.133 Thread 0x00e3c800 Exception <a 'java/lang/ClassNotFoundException': Tree> (0x04ae9830) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.133 Thread 0x00e3c800 Exception <a 'java/lang/ClassNotFoundException': Tree> (0x04ae9ed0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.133 Thread 0x00e3c800 Exception <a 'java/lang/ClassNotFoundException': javax/swing/JTreeCell> (0x04aea208) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.133 Thread 0x00e3c800 Exception <a 'java/lang/ClassNotFoundException': TreeCell> (0x04aea650) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.133 Thread 0x00e3c800 Exception <a 'java/lang/ClassNotFoundException': RootPane> (0x04aeafc8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]

Events (10 events):
Event: 1.614 loading class java/lang/reflect/AnnotatedType
Event: 1.614 loading class java/lang/reflect/AnnotatedType done
Event: 1.614 loading class com/sun/jna/NativeString
Event: 1.614 loading class com/sun/jna/NativeString done
Event: 1.615 loading class com/sun/jna/Memory$SharedMemory
Event: 1.615 loading class com/sun/jna/Memory$SharedMemory done
Event: 1.618 loading class com/sun/jna/Function$PostCallRead
Event: 1.618 loading class com/sun/jna/Function$PostCallRead done
Event: 1.618 loading class sun/nio/cs/IBM866
Event: 1.618 loading class sun/nio/cs/IBM866 done


Dynamic libraries:
0x00fd0000 - 0x01003000 C:\Program Files (x86)\Java\jdk1.8.0_102\bin\java.exe
0x77380000 - 0x77500000 C:\Windows\SysWOW64\ntdll.dll
0x76b80000 - 0x76c90000 C:\Windows\syswow64\kernel32.dll
0x74f80000 - 0x74fc7000 C:\Windows\syswow64\KERNELBASE.dll
0x76eb0000 - 0x76f50000 C:\Windows\syswow64\ADVAPI32.dll
0x769e0000 - 0x76a8c000 C:\Windows\syswow64\msvcrt.dll
0x76d70000 - 0x76d89000 C:\Windows\SysWOW64\sechost.dll
0x750c0000 - 0x751b0000 C:\Windows\syswow64\RPCRT4.dll
0x74dd0000 - 0x74e30000 C:\Windows\syswow64\SspiCli.dll
0x74dc0000 - 0x74dcc000 C:\Windows\syswow64\CRYPTBASE.dll
0x74e40000 - 0x74f40000 C:\Windows\syswow64\USER32.dll
0x76a90000 - 0x76b20000 C:\Windows\syswow64\GDI32.dll
0x751b0000 - 0x751ba000 C:\Windows\syswow64\LPK.dll
0x75350000 - 0x753ed000 C:\Windows\syswow64\USP10.dll
0x6ecf0000 - 0x6ee8e000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll
0x76b20000 - 0x76b77000 C:\Windows\syswow64\SHLWAPI.dll
0x74fd0000 - 0x75030000 C:\Windows\system32\IMM32.DLL
0x76d90000 - 0x76e5c000 C:\Windows\syswow64\MSCTF.dll
0x62160000 - 0x6221f000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\msvcr100.dll
0x5afc0000 - 0x5b38d000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\client\jvm.dll
0x74ac0000 - 0x74ac7000 C:\Windows\system32\WSOCK32.dll
0x75790000 - 0x757c5000 C:\Windows\syswow64\WS2_32.dll
0x75340000 - 0x75346000 C:\Windows\syswow64\NSI.dll
0x70240000 - 0x70272000 C:\Windows\system32\WINMM.dll
0x74c40000 - 0x74c49000 C:\Windows\system32\VERSION.dll
0x757d0000 - 0x757d5000 C:\Windows\syswow64\PSAPI.DLL
0x62410000 - 0x6241c000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\verify.dll
0x62370000 - 0x62391000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\java.dll
0x62350000 - 0x62363000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\zip.dll
0x75d90000 - 0x769da000 C:\Windows\syswow64\SHELL32.dll
0x755a0000 - 0x756fc000 C:\Windows\syswow64\ole32.dll
0x74bc0000 - 0x74bcb000 C:\Windows\system32\profapi.dll
0x5c0a0000 - 0x5c1e5000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\awt.dll
0x75030000 - 0x750bf000 C:\Windows\syswow64\OLEAUT32.dll
0x6ff90000 - 0x70010000 C:\Windows\system32\uxtheme.dll
0x6fde0000 - 0x6fdf3000 C:\Windows\system32\dwmapi.dll
0x622a0000 - 0x622d9000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\fontmanager.dll
0x75a10000 - 0x75a93000 C:\Windows\syswow64\CLBCatQ.DLL
0x62270000 - 0x62294000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\dcpr.dll
0x62250000 - 0x62266000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\net.dll
0x70fc0000 - 0x70ffc000 C:\Windows\system32\mswsock.dll
0x74850000 - 0x74856000 C:\Windows\System32\wship6.dll
0x62340000 - 0x6234f000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\nio.dll
0x5f2d0000 - 0x5f302000 C:\Program Files (x86)\Java\jdk1.8.0_102\jre\bin\t2k.dll
0x74870000 - 0x74886000 C:\Windows\system32\CRYPTSP.dll
0x71b80000 - 0x71bbb000 C:\Windows\system32\rsaenh.dll
0x70560000 - 0x70577000 C:\Windows\system32\USERENV.dll
0x70f50000 - 0x70f6c000 C:\Windows\system32\IPHLPAPI.DLL
0x74840000 - 0x74847000 C:\Windows\system32\WINNSI.DLL
0x70e90000 - 0x70e9d000 C:\Windows\system32\dhcpcsvc6.DLL
0x70e70000 - 0x70e82000 C:\Windows\system32\dhcpcsvc.DLL
0x15f90000 - 0x15fe5000 C:\Users\ivan\AppData\Local\Temp\jna6479211251200768336.dll
0x5f250000 - 0x5f283000 D:\PiritLib.dll
0x749d0000 - 0x74abb000 C:\Windows\system32\dbghelp.dll

VM Arguments:
jvm_args: -Dfile.encoding=UTF-8
java_command: haupt.JFrame
java_class_path (initial): C:\Users\ivan\Documents\NetBeansProjects\JavaCobs\lib\jacob.jar;C:\Users\ivan\Documents\NetBeansProjects\JavaCobs\lib\jssc-2.8.0.jar;C:\Users\ivan\Documents\NetBeansProjects\JavaCobs\lib\jna.jar;C:\Users\ivan\Documents\NetBeansProjects\JavaCobs\lib\apache-commons.jar;C:\Users\ivan\Documents\NetBeansProjects\JavaCobs\build\classes
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_31
PATH=C:\ProgramData\Oracle\Java\javapath;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 (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;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 (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\OpenVPN\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Skype\Phone\
USERNAME=ivan
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel



--------------- S Y S T E M ---------------

OS: Windows 7 , 64 bit Build 7601 (6.1.7601.18015)

CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 58 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, clmul, erms, ht, tsc, tscinvbit, tscinv

Memory: 4k page, physical 8281892k(3341104k free), swap 16561920k(11167948k free)

vm_info: Java HotSpot(TM) Client VM (25.102-b14) for windows-x86 JRE (1.8.0_102-b14), built on Jun 22 2016 13:13:29 by "java_re" with MS VC++ 10.0 (VS2010)

time: Fri Mar 10 12:21:20 2017
elapsed time: 2 seconds (0d 0h 0m 2s)

...
Рейтинг: 0 / 0
10.03.2017, 12:25
    #39416802
Blazkowicz
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Ответ от функции из dll
А почему libCloseDocument(0) а не 1 или 5?
...
Рейтинг: 0 / 0
10.03.2017, 12:29
    #39416805
f68
f68
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Ответ от функции из dll
В документации сказано:

Завершитьдокумент (0x31)
Функция: MDatalibCloseDocument(unsigned char cutPaper);
Входные параметры: cutPaper(Целое число) Флаг отрезки.
Если параметр “Флаг отрезки” = 1, отрезка сервисных документов по завершению не выполняется.
Если параметр “Флаг отрезки” = 5, отрезка чеков продажи и возвратапо завершению не выполняется.
Ответные параметры:(СтруктураMData)Ответ от ФР, который содержит:(Целое число)Сквозной номер документа,(Строка) Операционный счетчик,(Строка) Строка КПК.
Строка КПК возвращается только при завершении чеков на продажу и возврат.
В пакетномрежиме формирования документа, команда “Завершить документ” выключает пакетный режим, Если в пакетном режиме ошибка возникла ранее команды “Завершить документ”, то ответ команду “Завершить документ” не возвращается. Можно продолжить формирование документа, начиная с команды вернувшей ошибку,обычномрежиме.


При всех значениях 0-5 выскакивает ошибка.
...
Рейтинг: 0 / 0
10.03.2017, 13:37
    #39416883
Blazkowicz
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Ответ от функции из dll
я сдаюсь. Есть подозрение что дело не в JNA.
...
Рейтинг: 0 / 0
10.03.2017, 13:47
    #39416899
Blazkowicz
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Ответ от функции из dll
Что-то я рано сдался.
Вот так должно работать:

Код: java
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
    public interface PiritLib extends Library {
        MData.ByValue libCloseDocument(int l);

        class MData extends Structure {
            public static class ByValue extends MData implements Structure.ByValue { }
            public int errCode;
            public byte[] data = new byte[256];
            public int dataLength;
        }
    }
...
Рейтинг: 0 / 0
10.03.2017, 14:37
    #39416954
f68
f68
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Ответ от функции из dll
Blazkowicz

Заработало.
Спасибо Вам огромное!!!
...
Рейтинг: 0 / 0
Форумы / Java [игнор отключен] [закрыт для гостей] / Ответ от функции из dll / 17 сообщений из 17, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]