chb 7 anni fa
parent
commit
727c3286df

+ 324 - 0
saicLogistics/hs_err_pid31492.log

@@ -0,0 +1,324 @@
+#
+# There is insufficient memory for the Java Runtime Environment to continue.
+# Native memory allocation (malloc) failed to allocate 4092 bytes for AllocateHeap
+# Possible reasons:
+#   The system is out of physical RAM or swap space
+#   In 32 bit mode, the process size limit was hit
+# Possible solutions:
+#   Reduce memory load on the system
+#   Increase physical memory or swap space
+#   Check if swap backing store is full
+#   Use 64 bit Java on a 64 bit OS
+#   Decrease Java heap size (-Xmx/-Xms)
+#   Decrease number of Java threads
+#   Decrease Java thread stack sizes (-Xss)
+#   Set larger code cache with -XX:ReservedCodeCacheSize=
+# This output file may be truncated or incomplete.
+#
+#  Out of Memory Error (memory/allocation.inline.hpp:61), pid=31492, tid=32368
+#
+# JRE version: Java(TM) SE Runtime Environment (8.0_66-b18) (build 1.8.0_66-b18)
+# Java VM: Java HotSpot(TM) Client VM (25.66-b18 mixed mode windows-x86 )
+# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x025ec000):  VMThread [stack: 0x14aa0000,0x14af0000] [id=32368]
+
+Stack: [0x14aa0000,0x14af0000],  sp=0x14aeedb0,  free space=315k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+V  [jvm.dll+0x1a808b]
+V  [jvm.dll+0x1a0988]
+V  [jvm.dll+0x9365d]
+V  [jvm.dll+0xb98cf]
+V  [jvm.dll+0xbc8bb]
+V  [jvm.dll+0xd1a88]
+V  [jvm.dll+0xd1bfd]
+V  [jvm.dll+0x1b35c1]
+V  [jvm.dll+0x1b37bc]
+V  [jvm.dll+0x178723]
+V  [jvm.dll+0x17725a]
+V  [jvm.dll+0x971d0]
+V  [jvm.dll+0x984c1]
+V  [jvm.dll+0x9a240]
+V  [jvm.dll+0x9a6a9]
+V  [jvm.dll+0x994bf]
+V  [jvm.dll+0xa57e2]
+V  [jvm.dll+0x98093]
+V  [jvm.dll+0x92045]
+V  [jvm.dll+0x1b6a06]
+V  [jvm.dll+0x1811db]
+V  [jvm.dll+0x1805f1]
+V  [jvm.dll+0x180a07]
+V  [jvm.dll+0x180c02]
+V  [jvm.dll+0x1c06f6]
+C  [msvcr100.dll+0x5c556]
+C  [msvcr100.dll+0x5c600]
+C  [KERNEL32.DLL+0x18744]
+C  [ntdll.dll+0x6582d]
+C  [ntdll.dll+0x657fd]
+
+VM_Operation (0x00d5ddd4): GenCollectForAllocation, mode: safepoint, requested by thread 0x002dc400
+
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x14b26400 JavaThread "Service Thread" daemon [_thread_blocked, id=32344, stack(0x15060000,0x150b0000)]
+  0x14b1e400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=28788, stack(0x14fd0000,0x15020000)]
+  0x14b1c800 JavaThread "Attach Listener" daemon [_thread_blocked, id=32268, stack(0x14f40000,0x14f90000)]
+  0x14b17800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=19756, stack(0x14eb0000,0x14f00000)]
+  0x14af6800 JavaThread "Finalizer" daemon [_thread_blocked, id=20732, stack(0x14dc0000,0x14e10000)]
+  0x025eec00 JavaThread "Reference Handler" daemon [_thread_blocked, id=32100, stack(0x14d30000,0x14d80000)]
+  0x002dc400 JavaThread "main" [_thread_blocked, id=9684, stack(0x00d10000,0x00d60000)]
+
+Other Threads:
+=>0x025ec000 VMThread [stack: 0x14aa0000,0x14af0000] [id=32368]
+  0x14bce000 WatcherThread [stack: 0x150f0000,0x15140000] [id=24608]
+
+VM state:at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
+[0x002dba60] Threads_lock - owner thread: 0x025ec000
+[0x002db240] Heap_lock - owner thread: 0x002dc400
+
+Heap:
+ def new generation   total 22208K, used 22207K [0x04600000, 0x05e10000, 0x09b50000)
+  eden space 19776K, 100% used [0x04600000, 0x05950000, 0x05950000)
+  from space 2432K,  99% used [0x05bb0000, 0x05e0fff8, 0x05e10000)
+  to   space 2432K,   0% used [0x05950000, 0x05950000, 0x05bb0000)
+ tenured generation   total 50032K, used 50032K [0x09b50000, 0x0cc2c000, 0x14600000)
+   the space 50032K, 100% used [0x09b50000, 0x0cc2c000, 0x0cc2c000, 0x0cc2c000)
+ Metaspace       used 12903K, capacity 13069K, committed 13184K, reserved 13696K
+
+Card table byte_map: [0x003a0000,0x00430000] byte_map_base: 0x0037d000
+
+Polling page: 0x00260000
+
+CodeCache: size=32768Kb used=5429Kb max_used=5429Kb free=27338Kb
+ bounds [0x025f0000, 0x02b40000, 0x045f0000]
+ total_blobs=3082 nmethods=2897 adapters=115
+ compilation: enabled
+
+Compilation events (10 events):
+Event: 19.015 Thread 0x14b1e400 2936             com.sun.tools.javac.comp.TransTypes::addBridge (367 bytes)
+Event: 19.017 Thread 0x14b1e400 nmethod 2936 0x02b39d08 code [0x02b3a060, 0x02b3b04c]
+Event: 19.023 Thread 0x14b1e400 2937             com.sun.tools.javac.comp.TransTypes::visitIf (58 bytes)
+Event: 19.023 Thread 0x14b1e400 nmethod 2937 0x02b3ce08 code [0x02b3cf40, 0x02b3d1e4]
+Event: 19.032 Thread 0x14b1e400 2938             com.sun.tools.javac.tree.TreeMaker::Types (46 bytes)
+Event: 19.032 Thread 0x14b1e400 nmethod 2938 0x02b3d388 code [0x02b3d4a0, 0x02b3d608]
+Event: 19.049 Thread 0x14b1e400 2939             com.sun.tools.javac.tree.TreeMaker::MethodDef (79 bytes)
+Event: 19.049 Thread 0x14b1e400 nmethod 2939 0x02b3d748 code [0x02b3d8e0, 0x02b3dbe4]
+Event: 19.049 Thread 0x14b1e400 2940             com.sun.tools.javac.tree.TreeMaker::TypeParams (59 bytes)
+Event: 19.050 Thread 0x14b1e400 nmethod 2940 0x02b3df48 code [0x02b3e080, 0x02b3e314]
+
+GC Heap History (10 events):
+Event: 18.213 GC heap after
+Heap after GC invocations=63 (full 20):
+ def new generation   total 21888K, used 2300K [0x04600000, 0x05db0000, 0x09b50000)
+  eden space 19520K,  11% used [0x04600000, 0x0483f028, 0x05910000)
+  from space 2368K,   0% used [0x05910000, 0x05910000, 0x05b60000)
+  to   space 2368K,   0% used [0x05b60000, 0x05b60000, 0x05db0000)
+ tenured generation   total 48448K, used 48448K [0x09b50000, 0x0caa0000, 0x14600000)
+   the space 48448K, 100% used [0x09b50000, 0x0caa0000, 0x0caa0000, 0x0caa0000)
+ Metaspace       used 12903K, capacity 13069K, committed 13184K, reserved 13696K
+}
+Event: 18.272 GC heap before
+{Heap before GC invocations=63 (full 20):
+ def new generation   total 21888K, used 19520K [0x04600000, 0x05db0000, 0x09b50000)
+  eden space 19520K, 100% used [0x04600000, 0x05910000, 0x05910000)
+  from space 2368K,   0% used [0x05910000, 0x05910000, 0x05b60000)
+  to   space 2368K,   0% used [0x05b60000, 0x05b60000, 0x05db0000)
+ tenured generation   total 48448K, used 48448K [0x09b50000, 0x0caa0000, 0x14600000)
+   the space 48448K, 100% used [0x09b50000, 0x0caa0000, 0x0caa0000, 0x0caa0000)
+ Metaspace       used 12903K, capacity 13069K, committed 13184K, reserved 13696K
+Event: 18.381 GC heap after
+Heap after GC invocations=64 (full 21):
+ def new generation   total 21952K, used 2256K [0x04600000, 0x05dd0000, 0x09b50000)
+  eden space 19520K,  11% used [0x04600000, 0x04834078, 0x05910000)
+  from space 2432K,   0% used [0x05910000, 0x05910000, 0x05b70000)
+  to   space 2432K,   0% used [0x05b70000, 0x05b70000, 0x05dd0000)
+ tenured generation   total 48704K, used 48703K [0x09b50000, 0x0cae0000, 0x14600000)
+   the space 48704K,  99% used [0x09b50000, 0x0cadffd8, 0x0cae0000, 0x0cae0000)
+ Metaspace       used 12903K, capacity 13069K, committed 13184K, reserved 13696K
+}
+Event: 18.443 GC heap before
+{Heap before GC invocations=64 (full 21):
+ def new generation   total 21952K, used 19520K [0x04600000, 0x05dd0000, 0x09b50000)
+  eden space 19520K, 100% used [0x04600000, 0x05910000, 0x05910000)
+  from space 2432K,   0% used [0x05910000, 0x05910000, 0x05b70000)
+  to   space 2432K,   0% used [0x05b70000, 0x05b70000, 0x05dd0000)
+ tenured generation   total 48704K, used 48703K [0x09b50000, 0x0cae0000, 0x14600000)
+   the space 48704K,  99% used [0x09b50000, 0x0cadffd8, 0x0cae0000, 0x0cae0000)
+ Metaspace       used 12903K, capacity 13069K, committed 13184K, reserved 13696K
+Event: 18.557 GC heap after
+Heap after GC invocations=65 (full 22):
+ def new generation   total 22016K, used 2372K [0x04600000, 0x05de0000, 0x09b50000)
+  eden space 19584K,  12% used [0x04600000, 0x04851078, 0x05920000)
+  from space 2432K,   0% used [0x05920000, 0x05920000, 0x05b80000)
+  to   space 2432K,   0% used [0x05b80000, 0x05b80000, 0x05de0000)
+ tenured generation   total 48832K, used 48831K [0x09b50000, 0x0cb00000, 0x14600000)
+   the space 48832K,  99% used [0x09b50000, 0x0cafffe0, 0x0cb00000, 0x0cb00000)
+ Metaspace       used 12903K, capacity 13069K, committed 13184K, reserved 13696K
+}
+Event: 18.619 GC heap before
+{Heap before GC invocations=65 (full 22):
+ def new generation   total 22016K, used 19584K [0x04600000, 0x05de0000, 0x09b50000)
+  eden space 19584K, 100% used [0x04600000, 0x05920000, 0x05920000)
+  from space 2432K,   0% used [0x05920000, 0x05920000, 0x05b80000)
+  to   space 2432K,   0% used [0x05b80000, 0x05b80000, 0x05de0000)
+ tenured generation   total 48832K, used 48831K [0x09b50000, 0x0cb00000, 0x14600000)
+   the space 48832K,  99% used [0x09b50000, 0x0cafffe0, 0x0cb00000, 0x0cb00000)
+ Metaspace       used 12903K, capacity 13069K, committed 13184K, reserved 13696K
+Event: 18.725 GC heap after
+Heap after GC invocations=66 (full 23):
+ def new generation   total 22144K, used 2324K [0x04600000, 0x05e00000, 0x09b50000)
+  eden space 19712K,  11% used [0x04600000, 0x04845240, 0x05940000)
+  from space 2432K,   0% used [0x05940000, 0x05940000, 0x05ba0000)
+  to   space 2432K,   0% used [0x05ba0000, 0x05ba0000, 0x05e00000)
+ tenured generation   total 49088K, used 49087K [0x09b50000, 0x0cb40000, 0x14600000)
+   the space 49088K,  99% used [0x09b50000, 0x0cb3ffe8, 0x0cb40000, 0x0cb40000)
+ Metaspace       used 12903K, capacity 13069K, committed 13184K, reserved 13696K
+}
+Event: 18.794 GC heap before
+{Heap before GC invocations=66 (full 23):
+ def new generation   total 22144K, used 19712K [0x04600000, 0x05e00000, 0x09b50000)
+  eden space 19712K, 100% used [0x04600000, 0x05940000, 0x05940000)
+  from space 2432K,   0% used [0x05940000, 0x05940000, 0x05ba0000)
+  to   space 2432K,   0% used [0x05ba0000, 0x05ba0000, 0x05e00000)
+ tenured generation   total 49088K, used 49087K [0x09b50000, 0x0cb40000, 0x14600000)
+   the space 49088K,  99% used [0x09b50000, 0x0cb3ffe8, 0x0cb40000, 0x0cb40000)
+ Metaspace       used 12903K, capacity 13069K, committed 13184K, reserved 13696K
+Event: 18.903 GC heap after
+Heap after GC invocations=67 (full 24):
+ def new generation   total 22208K, used 2294K [0x04600000, 0x05e10000, 0x09b50000)
+  eden space 19776K,  11% used [0x04600000, 0x0483d808, 0x05950000)
+  from space 2432K,   0% used [0x05950000, 0x05950000, 0x05bb0000)
+  to   space 2432K,   0% used [0x05bb0000, 0x05bb0000, 0x05e10000)
+ tenured generation   total 49216K, used 49215K [0x09b50000, 0x0cb60000, 0x14600000)
+   the space 49216K,  99% used [0x09b50000, 0x0cb5ffc0, 0x0cb60000, 0x0cb60000)
+ Metaspace       used 12903K, capacity 13069K, committed 13184K, reserved 13696K
+}
+Event: 19.053 GC heap before
+{Heap before GC invocations=67 (full 24):
+ def new generation   total 22208K, used 19776K [0x04600000, 0x05e10000, 0x09b50000)
+  eden space 19776K, 100% used [0x04600000, 0x05950000, 0x05950000)
+  from space 2432K,   0% used [0x05950000, 0x05950000, 0x05bb0000)
+  to   space 2432K,   0% used [0x05bb0000, 0x05bb0000, 0x05e10000)
+ tenured generation   total 49216K, used 49215K [0x09b50000, 0x0cb60000, 0x14600000)
+   the space 49216K,  99% used [0x09b50000, 0x0cb5ffc0, 0x0cb60000, 0x0cb60000)
+ Metaspace       used 12903K, capacity 13069K, committed 13184K, reserved 13696K
+
+Deoptimization events (0 events):
+No events
+
+Internal exceptions (10 events):
+Event: 8.426 Thread 0x002dc400 Exception <a 'java/lang/ArrayIndexOutOfBoundsException'> (0x0492c580) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\5298\hotspot\src\share\vm\runtime\sharedRuntime.cpp, line 605]
+Event: 8.426 Thread 0x002dc400 Exception <a 'java/lang/ArrayIndexOutOfBoundsException'> (0x0492da50) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\5298\hotspot\src\share\vm\runtime\sharedRuntime.cpp, line 605]
+Event: 8.426 Thread 0x002dc400 Exception <a 'java/lang/ArrayIndexOutOfBoundsException'> (0x0492eda0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\5298\hotspot\src\share\vm\runtime\sharedRuntime.cpp, line 605]
+Event: 8.642 Thread 0x002dc400 Exception <a 'java/lang/ArrayIndexOutOfBoundsException'> (0x049f3b90) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\5298\hotspot\src\share\vm\runtime\sharedRuntime.cpp, line 605]
+Event: 8.642 Thread 0x002dc400 Exception <a 'java/lang/ArrayIndexOutOfBoundsException'> (0x049f4ec8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\5298\hotspot\src\share\vm\runtime\sharedRuntime.cpp, line 605]
+Event: 8.642 Thread 0x002dc400 Exception <a 'java/lang/ArrayIndexOutOfBoundsException'> (0x049f6340) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\5298\hotspot\src\share\vm\runtime\sharedRuntime.cpp, line 605]
+Event: 8.642 Thread 0x002dc400 Exception <a 'java/lang/ArrayIndexOutOfBoundsException'> (0x049f77f0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\5298\hotspot\src\share\vm\runtime\sharedRuntime.cpp, line 605]
+Event: 10.017 Thread 0x002dc400 Exception <a 'java/lang/ClassNotFoundException': com/sun/tools/javac/api/JavacTool> (0x047ae590) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\5298\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
+Event: 13.676 Thread 0x002dc400 Exception <a 'java/io/FileNotFoundException'> (0x0481c8c0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jni.cpp, line 709]
+Event: 13.688 Thread 0x002dc400 Exception <a 'java/io/FileNotFoundException'> (0x0484e468) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jni.cpp, line 709]
+
+Events (10 events):
+Event: 18.213 Executing VM operation: GenCollectForAllocation done
+Event: 18.272 Executing VM operation: GenCollectForAllocation
+Event: 18.381 Executing VM operation: GenCollectForAllocation done
+Event: 18.443 Executing VM operation: GenCollectForAllocation
+Event: 18.557 Executing VM operation: GenCollectForAllocation done
+Event: 18.619 Executing VM operation: GenCollectForAllocation
+Event: 18.725 Executing VM operation: GenCollectForAllocation done
+Event: 18.794 Executing VM operation: GenCollectForAllocation
+Event: 18.903 Executing VM operation: GenCollectForAllocation done
+Event: 19.053 Executing VM operation: GenCollectForAllocation
+
+
+Dynamic libraries:
+0x00d70000 - 0x00da3000 	D:\office\java\Jdk1.8.0_66\bin\javaw.exe
+0x77c80000 - 0x77e0e000 	C:\WINDOWS\SYSTEM32\ntdll.dll
+0x77770000 - 0x77840000 	C:\WINDOWS\System32\KERNEL32.DLL
+0x74b40000 - 0x74d02000 	C:\WINDOWS\System32\KERNELBASE.dll
+0x754a0000 - 0x75517000 	C:\WINDOWS\System32\ADVAPI32.dll
+0x74d10000 - 0x74dcd000 	C:\WINDOWS\System32\msvcrt.dll
+0x75640000 - 0x75681000 	C:\WINDOWS\System32\sechost.dll
+0x75e50000 - 0x75f10000 	C:\WINDOWS\System32\RPCRT4.dll
+0x74750000 - 0x74770000 	C:\WINDOWS\System32\SspiCli.dll
+0x74740000 - 0x7474a000 	C:\WINDOWS\System32\CRYPTBASE.dll
+0x75590000 - 0x755e7000 	C:\WINDOWS\System32\bcryptPrimitives.dll
+0x775b0000 - 0x776ec000 	C:\WINDOWS\System32\USER32.dll
+0x751f0000 - 0x75206000 	C:\WINDOWS\System32\win32u.dll
+0x75e10000 - 0x75e31000 	C:\WINDOWS\System32\GDI32.dll
+0x75cb0000 - 0x75e08000 	C:\WINDOWS\System32\gdi32full.dll
+0x776f0000 - 0x77769000 	C:\WINDOWS\System32\msvcp_win.dll
+0x74a20000 - 0x74b38000 	C:\WINDOWS\System32\ucrtbase.dll
+0x70370000 - 0x7057e000 	C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.15063.483_none_6dad63fefc436da8\COMCTL32.dll
+0x778a0000 - 0x77ad8000 	C:\WINDOWS\System32\combase.dll
+0x75f10000 - 0x75f35000 	C:\WINDOWS\System32\IMM32.DLL
+0x61500000 - 0x615bf000 	D:\office\java\Jdk1.8.0_66\jre\bin\msvcr100.dll
+0x65e00000 - 0x661c5000 	D:\office\java\Jdk1.8.0_66\jre\bin\client\jvm.dll
+0x75e40000 - 0x75e46000 	C:\WINDOWS\System32\PSAPI.DLL
+0x72d00000 - 0x72d24000 	C:\WINDOWS\SYSTEM32\WINMM.dll
+0x69d00000 - 0x69d08000 	C:\WINDOWS\SYSTEM32\WSOCK32.dll
+0x74700000 - 0x74708000 	C:\WINDOWS\SYSTEM32\VERSION.dll
+0x75690000 - 0x756f7000 	C:\WINDOWS\System32\WS2_32.dll
+0x72c60000 - 0x72c83000 	C:\WINDOWS\SYSTEM32\winmmbase.dll
+0x755f0000 - 0x75629000 	C:\WINDOWS\System32\cfgmgr32.dll
+0x71db0000 - 0x71dbc000 	D:\office\java\Jdk1.8.0_66\jre\bin\verify.dll
+0x6fef0000 - 0x6ff11000 	D:\office\java\Jdk1.8.0_66\jre\bin\java.dll
+0x6fed0000 - 0x6fee3000 	D:\office\java\Jdk1.8.0_66\jre\bin\zip.dll
+0x761d0000 - 0x77518000 	C:\WINDOWS\System32\SHELL32.dll
+0x760f0000 - 0x7617c000 	C:\WINDOWS\System32\shcore.dll
+0x75700000 - 0x75c87000 	C:\WINDOWS\System32\windows.storage.dll
+0x76180000 - 0x761c5000 	C:\WINDOWS\System32\shlwapi.dll
+0x760e0000 - 0x760ee000 	C:\WINDOWS\System32\kernel.appcore.dll
+0x75f40000 - 0x75f85000 	C:\WINDOWS\System32\powrprof.dll
+0x75ca0000 - 0x75cb0000 	C:\WINDOWS\System32\profapi.dll
+0x722a0000 - 0x722b3000 	C:\WINDOWS\SYSTEM32\CRYPTSP.dll
+0x72270000 - 0x7229f000 	C:\WINDOWS\system32\rsaenh.dll
+0x74490000 - 0x744a8000 	C:\WINDOWS\SYSTEM32\bcrypt.dll
+0x74710000 - 0x74732000 	C:\WINDOWS\SYSTEM32\USERENV.dll
+0x6feb0000 - 0x6fec6000 	D:\office\java\Jdk1.8.0_66\jre\bin\net.dll
+0x73de0000 - 0x73e2e000 	C:\WINDOWS\system32\mswsock.dll
+0x744d0000 - 0x744ff000 	C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
+0x75630000 - 0x75637000 	C:\WINDOWS\System32\NSI.dll
+0x74520000 - 0x74533000 	C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
+0x73ee0000 - 0x73ef4000 	C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
+0x6fea0000 - 0x6feaf000 	D:\office\java\Jdk1.8.0_66\jre\bin\nio.dll
+0x6da80000 - 0x6da89000 	C:\Users\dell\AppData\Local\Temp\jansi-1.16-481767642601297536.dll
+0x6b5a0000 - 0x6b5a9000 	C:\Users\dell\AppData\Local\Temp\jansi-1.16-2233568559346342629.dll
+0x72db0000 - 0x72f0d000 	C:\WINDOWS\SYSTEM32\dbghelp.dll
+
+VM Arguments:
+jvm_args: -Dmaven.home=D:\maven\apache-maven-3.5.2 -Dclassworlds.conf=D:\eclipse-workspace\.metadata\.plugins\org.eclipse.m2e.launching\launches\m2conf5494820294364678715.tmp -Dmaven.multiModuleProjectDirectory=C:\Users\dell\git\sqLogisticsProject\saicLogistics -Dfile.encoding=GBK 
+java_command: org.codehaus.plexus.classworlds.launcher.Launcher -B -gs D:\maven\apache-maven-3.5.2\conf\settings.xml install
+java_class_path (initial): D:\maven\apache-maven-3.5.2\boot\plexus-classworlds-2.5.2.jar
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=D:\office\java\Jdk1.8.0_66
+CLASSPATH=.;D:\office\java\Jdk1.8.0_66\lib\dt.jar;D:\office\java\Jdk1.8.0_66\lib\tools.jar;
+PATH=D:/office/java/Jdk1.8.0_66/bin/../jre/bin/client;D:/office/java/Jdk1.8.0_66/bin/../jre/bin;D:/office/java/Jdk1.8.0_66/bin/../jre/lib/i386;D:\office\java\Jdk1.8.0_66\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\VisualSVN Server\bin;C:\Program Files\TortoiseSVN\bin;D:\maven\apache-maven-3.5.2\bin;D:\maven\Git\cmd;C:\Users\dell\AppData\Local\Microsoft\WindowsApps;;D:\MyEclipse\eclipse;
+USERNAME=dell
+OS=Windows_NT
+PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 158 Stepping 9, GenuineIntel
+
+
+
+---------------  S Y S T E M  ---------------
+
+OS: Windows 10.0 , 64 bit Build 15063 (10.0.15063.296)
+
+CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 158 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, rtm, 3dnowpref, lzcnt, tsc, tscinvbit, bmi1, bmi2, adx
+
+Memory: 4k page, physical 8269924k(2153928k free), swap 21377120k(2304k free)
+
+vm_info: Java HotSpot(TM) Client VM (25.66-b18) for windows-x86 JRE (1.8.0_66-b18), built on Nov  9 2015 10:58:29 by "java_re" with MS VC++ 10.0 (VS2010)
+
+time: Mon Feb 05 16:16:26 2018
+elapsed time: 19 seconds (0d 0h 0m 19s)
+

+ 11 - 2
saicLogistics/src/main/java/com/fuzamei/service/serviceImpl/UserServiceImpl.java

@@ -18,8 +18,10 @@ import com.fuzamei.entity.User;
 import com.fuzamei.mapperInterface.ReceivingClerkMapper;
 import com.fuzamei.mapperInterface.UserMapper;
 import com.fuzamei.service.UserService;
+import com.fuzamei.util.JSONUtil;
 import com.fuzamei.util.PageDTO;
 import com.fuzamei.util.blockchain.BlockChainUtil;
+import com.fuzamei.util.blockchain.ProtobufBean;
 
 @Service
 public class UserServiceImpl  implements  UserService {
@@ -74,10 +76,17 @@ public class UserServiceImpl  implements  UserService {
 		user.setHash(hash);//操作hash
 		userMapper.insertOperationHistory(user);
 		
-		/*boolean flag = blockChainUtil.sendBlockChain(user.getSign());//发送签名直接转发到区块链
+		//boolean flag = blockChainUtil.sendBlockChain(sign);//发送签名直接转发到区块链
+		ProtobufBean protobufBean = new ProtobufBean();
+		Map<String,Object> map1 = JSONUtil.jsonToMap(sign);
+		protobufBean.setInstructionId(Long.parseLong(map1.get("sid").toString()));
+		protobufBean.setSignature(map1.get("signdata").toString());
+		String result = BlockChainUtil.sendPostParam(protobufBean);
+		boolean flag = BlockChainUtil.vilaResult(result);
+		
 		if(!flag) {
 			 throw new RuntimeException("区块链操作失败1");	
-		}*/
+		}
 		
 	}
 	

+ 3 - 3
saicLogistics/src/main/java/com/fuzamei/web/PlannerAction.java

@@ -114,13 +114,13 @@ public class PlannerAction {
 		try {
 			@SuppressWarnings("unchecked")
 			Integer user_id = ValidationUtil.checkAndAssignInt(req.getHeader("Authorization").split("&")[1]);
-			userAuthoricationService.queryUserAuthority(user_id, Roles.ADMIN);
+			userAuthoricationService.queryUserAuthority(user_id, Roles.ADMIN);//管理员来操作
 			Integer plannerId = ValidationUtil.checkAndAssignInt(pp.getPlannerId());//得到前端传来的计划员id(校验)
 			ValidationUtil.checkBlankAndAssignString(pp.getSign());//校验前端传来的签名
-		    if(pp.getSupplierId().equals("")) {//如果传过来得到的供应商是空的 (点击配置后,什么操作都没做) 就报异常    不让删除原先得供应商
+		    if(pp.getSupplierId().equals("")) {//判断如果传过来得到的供应商是没有移动的的 (就是点击配置后,什么操作都没做) 就提示他   不让删除原先得供应商
 			 throw  new  RuntimeException("不能操作");
 			   
-		    }else {//否则就做先删除原先得  在添加得到id做插入操作
+		    }else {//否则就做先删除原先得  在添加得到新的供应商id 做插入操作
 		    	plannerService.deleteBeforeSupplierByUserId(plannerId);//(前端传来的计划员id)根据计划员id先删除之前所对应的供应商
 		    	plannerService.insertAgainSupplier(pp);
 		    }

+ 4 - 2
saicLogistics/src/main/java/com/fuzamei/web/UserAction.java

@@ -92,12 +92,13 @@ public class UserAction {
 			Integer roleId = ValidationUtil.checkBlankIntegerAndAssignNullIfIsBlank(map.get("roleId"));
 			String username = ValidationUtil.checkBlankStringAndAssignEmptyIfIsBlank(map.get("username"));
 			String personName = ValidationUtil.checkBlankStringAndAssignEmptyIfIsBlank(map.get("personName"));
+			String random = ValidationUtil.checkBlankStringAndAssignEmptyIfIsBlank(map.get("random"));//校验随机数 ————  待——
 			Map<String, Object> mapToService = new LinkedHashMap<String, Object>();
 			mapToService.put("user_id", user_id);
 			mapToService.put("roleId", roleId);
 			mapToService.put("username", username);
 			mapToService.put("personName", personName);
-			
+			mapToService.put("random", random);
 			mapToService.put("startPage", (page - 1) * rowNum);
 			mapToService.put("rowNum", rowNum); // 默认每页显示数据是几条
 			PageDTO  pt = userService.queryUsers(mapToService);
@@ -139,6 +140,7 @@ public class UserAction {
 			 userService.updateAccountByUserId(user);
 			return JSONUtil.getJsonMap(200, true, HintMSG.OPERATION_SUCCESS, null);
 		} catch (Exception e) {
+			e.printStackTrace();
 			return JSONUtil.getJsonMap(500, false, HintMSG.OPERATION_FAIL+":"+e.getMessage(), null);
 		}
 
@@ -177,7 +179,7 @@ public class UserAction {
 		    if(uu!=0) throw new RuntimeException("随机数重复");
 		    if (us.size()!=0) throw new RuntimeException("账号已存在");
 			userService.insertUsers(user);
-			return JSONUtil.getJsonMap(200, true, HintMSG.OPERATION_SUCCESS, null);
+			return JSONUtil.getJsonMap(200, true, HintMSG.OPERATION_SUCCESS, uu);
 		} catch (Exception e) {
 			return JSONUtil.getJsonMap(500, false, HintMSG.OPERATION_FAIL+":"+e.getMessage(), null);
 		}