Chris2011 / NbScratchFile

Scratch Files for Netbeans - Create files without having a project.
Apache License 2.0
13 stars 4 forks source link

Allow specific formatting #1

Closed Mondane closed 7 years ago

Mondane commented 7 years ago

Most times when I want a scratch file it's for e.g. formatting an XML string. Could you add an option to change the type of the scratch file so I can aplly the Netbeans auto formatting?

Chris2011 commented 7 years ago

Atm the mimetype will be set after saving such scratch file. I thought about to give a specific mimetype via creating such file, like in IDEA, where you can choose your filetype (mimetype). So yes I will implement it but not as soon. As a workaround, save your scratch file and give them your *.xml type then everything should work.

Chris2011 commented 7 years ago

I'm working on it.

Chris2011 commented 7 years ago

I created a new window where you can choose the language of your need. You can clone the repo an build it by your own if you want. There are some little stuff, where I don't want to create a build. If you don't want I can create a pre-build of it. But for now you can do it by your own. Please let me know it.

Chris2011 commented 7 years ago

It is not finished yet and has some little glitches but it should work as expected.

Mondane commented 7 years ago

It would be great if you can build it for me.

2017-08-23 21:07 GMT+02:00 Chrizzly notifications@github.com:

It is not finished yet and has some little glitches but it should work as expected.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Chris2011/NbScratchFile/issues/1#issuecomment-324433313, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGNQCVGpX4UPAXxlfP9NXFxW-Jo6gK1ks5sbHiFgaJpZM4Kl63c .

Chris2011 commented 7 years ago

kk, I will do it today evening or tomorrow. Thx. Please stay tuned.

Chris2011 commented 7 years ago

Here it is: https://github.com/Chris2011/NbScratchFile/releases/tag/1.3

Chris2011 commented 7 years ago

Please test it and give feedback. It is not finished yet but maybe that what you wanted.

Chris2011 commented 7 years ago

It is not working correctly, the click will not trigger on the language. I will fix it and upload a new version soon. But the idea is clear. After hitting the shortcut, there is a little dialog which opens where you can choose your language and than a scratch.ext will created.

Mondane commented 7 years ago

@Chris2011 just tried v1.3 and after choosing 'New scratch file...', Netbeans crashes with:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fb7cd8480ed, pid=9171, tid=0x00007fb7698a5700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build 1.8.0_101-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x8b10ed]  Method::build_method_counters(Method*, Thread*)+0x2d
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/ernst/.local/share/applications/hs_err_pid9171.log
[thread 140425893013248 also had an error]
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
/home/ernst/netbeans-8.2/platform/lib/nbexec: regel 470:  9171 Afgebroken              (geheugendump gemaakt) "/home/ernst/netbeans-8.2/bin/jre/bin/java" -Djdk.home="/home/ernst/netbeans-8.2/bin/jre" -classpath "/home/ernst/netbeans-8.2/platform/lib/boot.jar:/home/ernst/netbeans-8.2/platform/lib/org-openide-modules.jar:/home/ernst/netbeans-8.2/platform/lib/org-openide-util.jar:/home/ernst/netbeans-8.2/platform/lib/org-openide-util-lookup.jar:/home/ernst/netbeans-8.2/platform/lib/org-openide-util-ui.jar:/home/ernst/netbeans-8.2/platform/lib/locale/boot_ja.jar:/home/ernst/netbeans-8.2/platform/lib/locale/boot_pt_BR.jar:/home/ernst/netbeans-8.2/platform/lib/locale/boot_ru.jar:/home/ernst/netbeans-8.2/platform/lib/locale/boot_zh_CN.jar:/home/ernst/netbeans-8.2/platform/lib/locale/org-openide-modules_ja.jar:/home/ernst/netbeans-8.2/platform/lib/locale/org-openide-modules_pt_BR.jar:/home/ernst/netbeans-8.2/platform/lib/locale/org-openide-modules_ru.jar:/home/ernst/netbeans-8.2/platform/lib/locale/org-openide-modules_zh_CN.jar:/home/ernst/netbeans-8.2/platform/lib/locale/org-openide-util_ja.jar:/home/ernst/netbeans-8.2/platform/lib/locale/org-openide-util-lookup_ja.jar:/home/ernst/netbeans-8.2/platform/lib/locale/org-openide-util-lookup_pt_BR.jar:/home/ernst/netbeans-8.2/platform/lib/locale/org-openide-util-lookup_ru.jar:/home/ernst/netbeans-8.2/platform/lib/locale/org-openide-util-lookup_zh_CN.jar:/home/ernst/netbeans-8.2/platform/lib/locale/org-openide-util_pt_BR.jar:/home/ernst/netbeans-8.2/platform/lib/locale/org-openide-util_ru.jar:/home/ernst/netbeans-8.2/platform/lib/locale/org-openide-util-ui_ja.jar:/home/ernst/netbeans-8.2/platform/lib/locale/org-openide-util-ui_pt_BR.jar:/home/ernst/netbeans-8.2/platform/lib/locale/org-openide-util-ui_ru.jar:/home/ernst/netbeans-8.2/platform/lib/locale/org-openide-util-ui_zh_CN.jar:/home/ernst/netbeans-8.2/platform/lib/locale/org-openide-util_zh_CN.jar" -Dnetbeans.default_userdir_root="/home/ernst/.netbeans" -Dnetbeans.running.environment=gnome -Dnetbeans.dirs="/home/ernst/netbeans-8.2/nb:/home/ernst/netbeans-8.2/ergonomics:/home/ernst/netbeans-8.2/ide:/home/ernst/netbeans-8.2/extide:/home/ernst/netbeans-8.2/java:/home/ernst/netbeans-8.2/apisupport:/home/ernst/netbeans-8.2/webcommon:/home/ernst/netbeans-8.2/websvccommon:/home/ernst/netbeans-8.2/enterprise:/home/ernst/netbeans-8.2/mobility:/home/ernst/netbeans-8.2/profiler:/home/ernst/netbeans-8.2/python:/home/ernst/netbeans-8.2/php:/home/ernst/netbeans-8.2/identity:/home/ernst/netbeans-8.2/harness:/home/ernst/netbeans-8.2/cnd:/home/ernst/netbeans-8.2/cndext:/home/ernst/netbeans-8.2/dlight:/home/ernst/netbeans-8.2/groovy:/home/ernst/netbeans-8.2/extra:/home/ernst/netbeans-8.2/javacard:/home/ernst/netbeans-8.2/javafx:" -Dnetbeans.home="/home/ernst/netbeans-8.2/platform" '-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade' '-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense' '-Xmx789m' '-client' '-Xss2m' '-Xms32m' '-Dapple.laf.useScreenMenuBar=true' '-Dapple.awt.graphics.UseQuartz=true' '-Dsun.java2d.noddraw=true' '-Dsun.java2d.dpiaware=true' '-Dsun.zip.disableMemoryMapping=true' '-javaagent:/usr/share/java/jayatanaag.jar' -DaddExports:java.desktop/sun.awt=ALL-UNNAMED -DaddExports:java.base/jdk.internal.jrtfs=ALL-UNNAMED -DaddExports:java.desktop/java.awt.peer=ALL-UNNAMED -DaddExports:java.desktop/com.sun.beans.editors=ALL-UNNAMED -DaddExports:java.desktop/sun.awt.im=ALL-UNNAMED -DaddExports:java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED -DaddExports:java.management/sun.management=ALL-UNNAMED -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="/home/ernst/.netbeans/8.2/var/log/heapdump.hprof" org.netbeans.Main --cachedir "/home/ernst/.cache/netbeans/8.2" --userdir "/home/ernst/.netbeans/8.2" "--branding" "nb" 0<&0

Maybe this extract from /home/ernst/.local/share/applications/hs_err_pid9171.log will help:

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

Current thread is native thread

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000140

Registers:
RAX=0x0000000000000000, RBX=0x00007fb7885b3000, RCX=0x0000000000000001, RDX=0x00007fb7698a5a20
RSP=0x00007fb7698a47a0, RBP=0x00007fb7698a47d0, RSI=0x00007fb7885b3000, RDI=0x0000000000000001
R8 =0x00007fb7b87c09c0, R9 =0x00007fb7698a4ac8, R10=0x00007fb7b87ae45f, R11=0x0000000000017001
R12=0x00007fb759a6fb48, R13=0x00007fb759a6fb38, R14=0x0000000000000000, R15=0x00007fb7885b3000
RIP=0x00007fb7cd8480ed, EFLAGS=0x0000000000010246, CSGSFS=0x1d39000000000033, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007fb7698a47a0)
0x00007fb7698a47a0:   00007fb7b0059360 00007fb7885b3000
0x00007fb7698a47b0:   0000000000000000 00007fb759a6fb38
0x00007fb7698a47c0:   00007fb7698a4878 00007fb7885b3000
0x00007fb7698a47d0:   00007fb7698a4810 00007fb7cd619a4b
0x00007fb7698a47e0:   00007fb7885b3000 00007fb7698a4820
0x00007fb7698a47f0:   00007fb7885b3000 00007fb7cd614b83
0x00007fb7698a4800:   00007fb759a6fb48 0000000000000000
0x00007fb7698a4810:   00007fb7698a4868 00007fb7b87c0b87
0x00007fb7698a4820:   00007fb7b87c0b42 00007fb7698a4828
0x00007fb7698a4830:   00007fb759a6fb38 00007fb7698a4878
0x00007fb7698a4840:   00007fb760cda828 0000000000000000
0x00007fb7698a4850:   00007fb759a6fb48 0000000000000000
0x00007fb7698a4860:   00007fb7698a4878 00007fb7698a48e0
0x00007fb7698a4870:   00007fb7b87ae4e7 00000000efc728e0
0x00007fb7698a4880:   0000000000001fa0 00007fb7889f1d78
0x00007fb7698a4890:   00007fb7885b3000 00007fb7698a4960
0x00007fb7698a48a0:   00000000efc728e0 00007fb7698a4920
0x00007fb7698a48b0:   00007fb7698a4920 00007fb7698a4c78
0x00007fb7698a48c0:   000000000000000a 00007fb759a6fb48
0x00007fb7698a48d0:   00007fb7b87c09c0 00007fb7698a4ac8
0x00007fb7698a48e0:   00007fb7698a4a50 00007fb7cd6266b6
0x00007fb7698a48f0:   0000000000000001 00007fb7885b3000
0x00007fb7698a4900:   00007fb7698a4ac0 00007fb7698a4c70
0x00007fb7698a4910:   00007fb7b87c09c0 00007fb70000000a
0x00007fb7698a4920:   00007fb7885b3000 00007fb7ac1f13d0
0x00007fb7698a4930:   00007fb759a6fb48 00000000efc728e0
0x00007fb7698a4940:   00007fb7597f9540 00007fb7b87c3528
0x00007fb7698a4950:   00007fb7597f95a0 00007fb7698a4c70
0x00007fb7698a4960:   00007fb7885b3000 00007fb788a9fdb0
0x00007fb7698a4970:   00007fb7889f1d60 00007fb7889f1d80
0x00007fb7698a4980:   00007fb7889f1e48 00000000000000d8
0x00007fb7698a4990:   00007fb7597f97d0 0000004000000001 

Instructions: (pc=0x00007fb7cd8480ed)
0x00007fb7cd8480cd:   f6 41 55 41 54 49 89 fc 53 48 83 ec 08 48 85 ff
0x00007fb7cd8480dd:   74 33 48 8b 05 3a 0b 6c 00 8b 38 e8 13 d2 96 ff
0x00007fb7cd8480ed:   48 8b 98 40 01 00 00 49 89 c6 8b 13 3b 53 04 0f
0x00007fb7cd8480fd:   84 ee 00 00 00 8d 42 01 48 63 d2 89 03 48 8b 43 

Register to memory mapping:

RAX=0x0000000000000000 is an unknown value
RBX=0x00007fb7885b3000 is a thread
RCX=0x0000000000000001 is an unknown value
RDX=0x00007fb7698a5a20 is an unknown value
RSP=0x00007fb7698a47a0 is an unknown value
RBP=0x00007fb7698a47d0 is an unknown value
RSI=0x00007fb7885b3000 is a thread
RDI=0x0000000000000001 is an unknown value
R8 =0x00007fb7b87c09c0 is at code_begin+0 in an Interpreter codelet
method entry point (kind = zerolocals)  [0x00007fb7b87c09c0, 0x00007fb7b87c0e40]  1152 bytes
R9 =0x00007fb7698a4ac8 is an unknown value
R10=0x00007fb7b87ae45f is at begin+0 in a stub
StubRoutines::call_stub [0x00007fb7b87ae45f, 0x00007fb7b87ae547[ (232 bytes)
R11=0x0000000000017001 is an unknown value
R12={method} {0x00007fb759a6fb48} 'run' '()V' in 'com/sun/javafx/tk/quantum/QuantumToolkit$$Lambda$87'
R13=0x00007fb759a6fb38 is pointing into metadata
R14=0x0000000000000000 is an unknown value
R15=0x00007fb7885b3000 is a thread

Stack: [0x00007fb7690a5000,0x00007fb7698a6000],  sp=0x00007fb7698a47a0,  free space=8189k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x8b10ed]  Method::build_method_counters(Method*, Thread*)+0x2d
V  [libjvm.so+0x682a4b]  InterpreterRuntime::build_method_counters(JavaThread*, Method*)+0x2b
j  com.sun.javafx.tk.quantum.QuantumToolkit$$Lambda$87.run()V+0
v  ~StubRoutines::call_stub
V  [libjvm.so+0x68f6b6]  JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x1056
V  [libjvm.so+0x6d182b]  jni_invoke_nonstatic(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*)+0x40b
V  [libjvm.so+0x6d5bff]  jni_CallVoidMethodV+0x10f
C  [libglass.so+0x13e51]  JNIEnv_::CallVoidMethod(_jobject*, _jmethodID*, ...)+0x81
C  [libglass.so+0x20c99]  call_runnable_in_timer(void*)+0x39

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

VM state:synchronizing (normal execution)

VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
[0x00007fb7c8009930] Safepoint_lock - owner thread: 0x00007fb7c80fe000
[0x00007fb7c80099b0] Threads_lock - owner thread: 0x00007fb7c80fe000

Heap:
 PSYoungGen      total 239104K, used 7677K [0x00000000ef900000, 0x0000000100000000, 0x0000000100000000)
  eden space 209408K, 3% used [0x00000000ef900000,0x00000000f007f728,0x00000000fc580000)
  from space 29696K, 0% used [0x00000000fe280000,0x00000000fe280000,0x00000000fff80000)
  to   space 29696K, 0% used [0x00000000fc580000,0x00000000fc580000,0x00000000fe280000)
 ParOldGen       total 145408K, used 89299K [0x00000000cea00000, 0x00000000d7800000, 0x00000000ef900000)
  object space 145408K, 61% used [0x00000000cea00000,0x00000000d4134c60,0x00000000d7800000)
 Metaspace       used 76845K, capacity 87050K, committed 87296K, reserved 1124352K
  class space    used 9678K, capacity 12525K, committed 12544K, reserved 1048576K

Card table byte_map: [0x00007fb7ce9fa000,0x00007fb7ceb86000] byte_map_base: 0x00007fb7ce385000

Marking Bits: (ParMarkBitMap*) 0x00007fb7cdf58120
 Begin Bits: [0x00007fb7b6834000, 0x00007fb7b748c000)
 End Bits:   [0x00007fb7b748c000, 0x00007fb7b80e4000)

Polling page: 0x00007fb7ceba8000

CodeCache: size=245760Kb used=26054Kb max_used=26107Kb free=219705Kb
 bounds [0x00007fb7b87ae000, 0x00007fb7ba15e000, 0x00007fb7c77ae000]
 total_blobs=10542 nmethods=9599 adapters=854
 compilation: enabled

Compilation events (10 events):
Event: 36,281 Thread 0x00007fb7c823a800 nmethod 11391 0x00007fb7b9bae5d0 code [0x00007fb7b9bae720, 0x00007fb7b9bae830]
Event: 36,290 Thread 0x00007fb7c823a800 11392       3       java.util.Arrays::copyOfRange (95 bytes)
Event: 36,291 Thread 0x00007fb7c823a800 nmethod 11392 0x00007fb7b97e6e10 code [0x00007fb7b97e7060, 0x00007fb7b97e7ef8]
Event: 36,291 Thread 0x00007fb7c823a800 11393       3       java.lang.invoke.MethodHandles$Lookup::checkAccess (250 bytes)
Event: 36,294 Thread 0x00007fb7c823a800 nmethod 11393 0x00007fb7ba132c90 code [0x00007fb7ba132f60, 0x00007fb7ba1347e8]
Event: 36,313 Thread 0x00007fb7c823a800 11394       3       java.lang.invoke.MemberName::isCallerSensitive (7 bytes)
Event: 36,313 Thread 0x00007fb7c823a800 nmethod 11394 0x00007fb7b97e6950 code [0x00007fb7b97e6ac0, 0x00007fb7b97e6d30]
Event: 36,317 Thread 0x00007fb7c823a800 11396       3       java.awt.Toolkit$ToolkitEventMulticaster::eventDispatched (27 bytes)
Event: 36,317 Thread 0x00007fb7c823a800 nmethod 11396 0x00007fb7b988e590 code [0x00007fb7b988e720, 0x00007fb7b988ec18]
Event: 36,318 Thread 0x00007fb7c823a800 11397       3       sun.awt.SunToolkit::getAppContext (42 bytes)

GC Heap History (10 events):
Event: 28,703 GC heap before
{Heap before GC invocations=27 (full 4):
 PSYoungGen      total 237056K, used 210485K [0x00000000ef900000, 0x0000000100000000, 0x0000000100000000)
  eden space 204288K, 100% used [0x00000000ef900000,0x00000000fc080000,0x00000000fc080000)
  from space 32768K, 18% used [0x00000000fe000000,0x00000000fe60d550,0x0000000100000000)
  to   space 32256K, 0% used [0x00000000fc080000,0x00000000fc080000,0x00000000fe000000)
 ParOldGen       total 108544K, used 63639K [0x00000000cea00000, 0x00000000d5400000, 0x00000000ef900000)
  object space 108544K, 58% used [0x00000000cea00000,0x00000000d2825c08,0x00000000d5400000)
 Metaspace       used 73324K, capacity 83298K, committed 83584K, reserved 1120256K
  class space    used 9350K, capacity 12095K, committed 12160K, reserved 1048576K
Event: 28,749 GC heap after
Heap after GC invocations=27 (full 4):
 PSYoungGen      total 218624K, used 14245K [0x00000000ef900000, 0x00000000ffc80000, 0x0000000100000000)
  eden space 204288K, 0% used [0x00000000ef900000,0x00000000ef900000,0x00000000fc080000)
  from space 14336K, 99% used [0x00000000fc080000,0x00000000fce69428,0x00000000fce80000)
  to   space 30720K, 0% used [0x00000000fde80000,0x00000000fde80000,0x00000000ffc80000)
 ParOldGen       total 108544K, used 67499K [0x00000000cea00000, 0x00000000d5400000, 0x00000000ef900000)
  object space 108544K, 62% used [0x00000000cea00000,0x00000000d2beac48,0x00000000d5400000)
 Metaspace       used 73324K, capacity 83298K, committed 83584K, reserved 1120256K
  class space    used 9350K, capacity 12095K, committed 12160K, reserved 1048576K
}
Event: 30,591 GC heap before
{Heap before GC invocations=28 (full 4):
 PSYoungGen      total 218624K, used 218533K [0x00000000ef900000, 0x00000000ffc80000, 0x0000000100000000)
  eden space 204288K, 100% used [0x00000000ef900000,0x00000000fc080000,0x00000000fc080000)
  from space 14336K, 99% used [0x00000000fc080000,0x00000000fce69428,0x00000000fce80000)
  to   space 30720K, 0% used [0x00000000fde80000,0x00000000fde80000,0x00000000ffc80000)
 ParOldGen       total 108544K, used 67499K [0x00000000cea00000, 0x00000000d5400000, 0x00000000ef900000)
  object space 108544K, 62% used [0x00000000cea00000,0x00000000d2beac48,0x00000000d5400000)
 Metaspace       used 73488K, capacity 83636K, committed 83840K, reserved 1120256K
  class space    used 9352K, capacity 12098K, committed 12160K, reserved 1048576K
Event: 30,673 GC heap after
Heap after GC invocations=28 (full 4):
 PSYoungGen      total 236544K, used 10061K [0x00000000ef900000, 0x0000000100000000, 0x0000000100000000)
  eden space 205824K, 0% used [0x00000000ef900000,0x00000000ef900000,0x00000000fc200000)
  from space 30720K, 32% used [0x00000000fde80000,0x00000000fe853720,0x00000000ffc80000)
  to   space 29184K, 0% used [0x00000000fc200000,0x00000000fc200000,0x00000000fde80000)
 ParOldGen       total 108544K, used 79996K [0x00000000cea00000, 0x00000000d5400000, 0x00000000ef900000)
  object space 108544K, 73% used [0x00000000cea00000,0x00000000d381f3e0,0x00000000d5400000)
 Metaspace       used 73488K, capacity 83636K, committed 83840K, reserved 1120256K
  class space    used 9352K, capacity 12098K, committed 12160K, reserved 1048576K
}
Event: 32,089 GC heap before
{Heap before GC invocations=29 (full 4):
 PSYoungGen      total 236544K, used 215885K [0x00000000ef900000, 0x0000000100000000, 0x0000000100000000)
  eden space 205824K, 100% used [0x00000000ef900000,0x00000000fc200000,0x00000000fc200000)
  from space 30720K, 32% used [0x00000000fde80000,0x00000000fe853720,0x00000000ffc80000)
  to   space 29184K, 0% used [0x00000000fc200000,0x00000000fc200000,0x00000000fde80000)
 ParOldGen       total 108544K, used 79996K [0x00000000cea00000, 0x00000000d5400000, 0x00000000ef900000)
  object space 108544K, 73% used [0x00000000cea00000,0x00000000d381f3e0,0x00000000d5400000)
 Metaspace       used 73943K, capacity 84130K, committed 84224K, reserved 1122304K
  class space    used 9379K, capacity 12198K, committed 12288K, reserved 1048576K
Event: 32,195 GC heap after
Heap after GC invocations=29 (full 4):
 PSYoungGen      total 235008K, used 17493K [0x00000000ef900000, 0x00000000fff80000, 0x0000000100000000)
  eden space 205824K, 0% used [0x00000000ef900000,0x00000000ef900000,0x00000000fc200000)
  from space 29184K, 59% used [0x00000000fc200000,0x00000000fd315610,0x00000000fde80000)
  to   space 29696K, 0% used [0x00000000fe280000,0x00000000fe280000,0x00000000fff80000)
 ParOldGen       total 108544K, used 88427K [0x00000000cea00000, 0x00000000d5400000, 0x00000000ef900000)
  object space 108544K, 81% used [0x00000000cea00000,0x00000000d405af10,0x00000000d5400000)
 Metaspace       used 73943K, capacity 84130K, committed 84224K, reserved 1122304K
  class space    used 9379K, capacity 12198K, committed 12288K, reserved 1048576K
}
Event: 35,659 GC heap before
{Heap before GC invocations=30 (full 4):
 PSYoungGen      total 235008K, used 223317K [0x00000000ef900000, 0x00000000fff80000, 0x0000000100000000)
  eden space 205824K, 100% used [0x00000000ef900000,0x00000000fc200000,0x00000000fc200000)
  from space 29184K, 59% used [0x00000000fc200000,0x00000000fd315610,0x00000000fde80000)
  to   space 29696K, 0% used [0x00000000fe280000,0x00000000fe280000,0x00000000fff80000)
 ParOldGen       total 108544K, used 88427K [0x00000000cea00000, 0x00000000d5400000, 0x00000000ef900000)
  object space 108544K, 81% used [0x00000000cea00000,0x00000000d405af10,0x00000000d5400000)
 Metaspace       used 76082K, capacity 86208K, committed 86400K, reserved 1124352K
  class space    used 9584K, capacity 12404K, committed 12416K, reserved 1048576K
Event: 35,743 GC heap after
Heap after GC invocations=30 (full 4):
 PSYoungGen      total 239104K, used 3156K [0x00000000ef900000, 0x0000000100000000, 0x0000000100000000)
  eden space 209408K, 0% used [0x00000000ef900000,0x00000000ef900000,0x00000000fc580000)
  from space 29696K, 10% used [0x00000000fe280000,0x00000000fe5953d8,0x00000000fff80000)
  to   space 29696K, 0% used [0x00000000fc580000,0x00000000fc580000,0x00000000fe280000)
 ParOldGen       total 108544K, used 105536K [0x00000000cea00000, 0x00000000d5400000, 0x00000000ef900000)
  object space 108544K, 97% used [0x00000000cea00000,0x00000000d5110318,0x00000000d5400000)
 Metaspace       used 76082K, capacity 86208K, committed 86400K, reserved 1124352K
  class space    used 9584K, capacity 12404K, committed 12416K, reserved 1048576K
}
Event: 35,743 GC heap before
{Heap before GC invocations=31 (full 5):
 PSYoungGen      total 239104K, used 3156K [0x00000000ef900000, 0x0000000100000000, 0x0000000100000000)
  eden space 209408K, 0% used [0x00000000ef900000,0x00000000ef900000,0x00000000fc580000)
  from space 29696K, 10% used [0x00000000fe280000,0x00000000fe5953d8,0x00000000fff80000)
  to   space 29696K, 0% used [0x00000000fc580000,0x00000000fc580000,0x00000000fe280000)
 ParOldGen       total 108544K, used 105536K [0x00000000cea00000, 0x00000000d5400000, 0x00000000ef900000)
  object space 108544K, 97% used [0x00000000cea00000,0x00000000d5110318,0x00000000d5400000)
 Metaspace       used 76082K, capacity 86208K, committed 86400K, reserved 1124352K
  class space    used 9584K, capacity 12404K, committed 12416K, reserved 1048576K
Event: 36,159 GC heap after
Heap after GC invocations=31 (full 5):
 PSYoungGen      total 239104K, used 0K [0x00000000ef900000, 0x0000000100000000, 0x0000000100000000)
  eden space 209408K, 0% used [0x00000000ef900000,0x00000000ef900000,0x00000000fc580000)
  from space 29696K, 0% used [0x00000000fe280000,0x00000000fe280000,0x00000000fff80000)
  to   space 29696K, 0% used [0x00000000fc580000,0x00000000fc580000,0x00000000fe280000)
 ParOldGen       total 145408K, used 89299K [0x00000000cea00000, 0x00000000d7800000, 0x00000000ef900000)
  object space 145408K, 61% used [0x00000000cea00000,0x00000000d4134c60,0x00000000d7800000)
 Metaspace       used 76082K, capacity 86208K, committed 86400K, reserved 1124352K
  class space    used 9584K, capacity 12404K, committed 12416K, reserved 1048576K
}

Deoptimization events (10 events):
Event: 31,908 Thread 0x00007fb7a40d1000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007fb7b9f18a3c method=java.net.URL.<init>(Ljava/net/URL;Ljava/lang/String;Ljava/net/URLStreamHandler;)V @ 347
Event: 31,909 Thread 0x00007fb7a40d1000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007fb7b9e15204 method=java.net.URLStreamHandler.parseURL(Ljava/net/URL;Ljava/lang/String;II)V @ 238
Event: 31,953 Thread 0x00007fb7889c8800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007fb7b8eddf0c method=org.openide.filesystems.AbstractFileSystem.getAbstractRoot()Lorg/openide/filesystems/AbstractFileObject; @ 8
Event: 32,386 Thread 0x00007fb7784ae800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007fb7b96aeccc method=java.io.File.equals(Ljava/lang/Object;)Z @ 5
Event: 32,501 Thread 0x00007fb7785d0800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007fb7ba02ba40 method=java.util.ArrayDeque.copyElements([Ljava/lang/Object;)[Ljava/lang/Object; @ 39
Event: 32,758 Thread 0x00007fb7784ae800 Uncommon trap: reason=null_check action=make_not_entrant pc=0x00007fb7b9d9d8b8 method=org.netbeans.modules.editor.settings.AttrSet$Shared.getAttribute(Ljava/lang/Object;)Ljava/lang/Object; @ 9
Event: 35,132 Thread 0x00007fb77928e800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007fb7b9ba5dd4 method=org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.pingIO(I)I @ 37
Event: 35,545 Thread 0x00007fb788591800 Uncommon trap: reason=predicate action=maybe_recompile pc=0x00007fb7b9c82b00 method=java.lang.String.regionMatches(ZILjava/lang/String;II)Z @ 63
Event: 35,651 Thread 0x00007fb778128000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007fb7b8c422e8 method=java.util.regex.Pattern.sequence(Ljava/util/regex/Pattern$Node;)Ljava/util/regex/Pattern$Node; @ 151
Event: 36,296 Thread 0x00007fb778128000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007fb7b92c2990 method=sun.misc.URLClassPath$JarLoader.getResource(Ljava/lang/String;Z)Lsun/misc/Resource; @ 62

Internal exceptions (10 events):
Event: 31,751 Thread 0x00007fb7a40d1000 Exception <a 'java/io/FileNotFoundException'> (0x00000000f8a99b08) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 31,753 Thread 0x00007fb7a40d1000 Exception <a 'java/io/FileNotFoundException'> (0x00000000f8a9c9a0) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 31,784 Thread 0x00007fb7a40d1000 Exception <a 'java/io/FileNotFoundException'> (0x00000000f8d82ec8) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 31,787 Thread 0x00007fb7a40d1000 Exception <a 'java/io/FileNotFoundException'> (0x00000000f8dde1b8) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 31,791 Thread 0x00007fb7a40d1000 Exception <a 'java/io/FileNotFoundException'> (0x00000000f8de0ad0) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 31,791 Thread 0x00007fb7a40d1000 Exception <a 'java/io/FileNotFoundException'> (0x00000000f8de3968) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 31,816 Thread 0x00007fb784001800 Implicit null exception at 0x00007fb7b93a480b to 0x00007fb7b93a4b15
Event: 31,822 Thread 0x00007fb7a40d1000 Implicit null exception at 0x00007fb7b9f5528a to 0x00007fb7b9f55841
Event: 32,758 Thread 0x00007fb7784ae800 Implicit null exception at 0x00007fb7b9d9d624 to 0x00007fb7b9d9d8a5
Event: 36,296 Thread 0x00007fb778128000 Exception <a 'java/lang/NullPointerException'> (0x00000000efeaa7d0) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/interpreter/linkResolver.cpp, line 1178]

Events (10 events):
Event: 36,315 loading class javafx/embed/swing/SwingFXUtils done
Event: 36,315 loading class sun/awt/FwDispatcher
Event: 36,315 loading class sun/awt/FwDispatcher done
Event: 36,315 loading class javafx/scene/image/PixelFormat
Event: 36,315 loading class javafx/scene/image/PixelFormat done
Event: 36,316 loading class javafx/scene/image/WritablePixelFormat
Event: 36,316 loading class javafx/scene/image/WritablePixelFormat done
Event: 36,316 loading class sun/awt/UngrabEvent
Event: 36,316 loading class sun/awt/UngrabEvent done
Event: 36,318 Thread 0x00007fb7b00b4000 Thread exited: 0x00007fb7b00b4000

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

OS:DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"

uname:Linux 4.4.0-93-generic #116-Ubuntu SMP Fri Aug 11 21:17:51 UTC 2017 x86_64
libc:glibc 2.23 NPTL 2.23 
rlimit: STACK 8192k, CORE 0k, NPROC 15629, NOFILE 1048576, AS infinity
load average:3,09 2,57 1,76

vm_info: Java HotSpot(TM) 64-Bit Server VM (25.101-b13) for linux-amd64 JRE (1.8.0_101-b13), built on Jun 22 2016 02:59:44 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)
Chris2011 commented 7 years ago

I will upload soon a 1.3.1. Maybe it is fixed than. I tried it only under windows.

Chris2011 commented 7 years ago

Please test it again: https://github.com/Chris2011/NbScratchFile/releases/tag/1.3.1

Chris2011 commented 7 years ago

Sry, now everything should be fine: https://github.com/Chris2011/NbScratchFile/releases/tag/1.3.2

I did a renaming from UI to ui but I forgot to remove the I so the path was ...uiI/.

Chris2011 commented 7 years ago

Please test it, everything should work now.

Chris2011 commented 7 years ago

Try to use the latest one: https://github.com/Chris2011/NbScratchFile/releases/tag/v1.4.0-dev

Chris2011 commented 7 years ago

Now we have a smaller version: https://github.com/Chris2011/NbScratchFile/releases/tag/v1.4.1-dev

Chris2011 commented 7 years ago

Please test the newest version: https://github.com/Chris2011/NbScratchFile/releases/tag/v1.4.2-dev.

Mondane commented 7 years ago

@Chris2011 just tried v1.4.2-dev and after choosing 'New scratch file...', Netbeans crashes with:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fc02c41bd9a, pid=9273, tid=0x00007fbf84e06700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build 1.8.0_101-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x57dd9a]  Exceptions::throw_stack_overflow_exception(Thread*, char const*, int, methodHandle)+0x12a
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/evs/hs_err_pid9273.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
/home/evs/netbeans-8.2/platform/lib/nbexec: line 470:  9273 Aborted                 (core dumped) "/home/evs/netbeans-8.2/bin/jre/bin/java" -Djdk.home="/home/evs/netbeans-8.2/bin/jre" -classpath "/home/evs/netbeans-8.2/platform/lib/boot.jar:/home/evs/netbeans-8.2/platform/lib/org-openide-modules.jar:/home/evs/netbeans-8.2/platform/lib/org-openide-util.jar:/home/evs/netbeans-8.2/platform/lib/org-openide-util-lookup.jar:/home/evs/netbeans-8.2/platform/lib/org-openide-util-ui.jar:/home/evs/netbeans-8.2/platform/lib/locale/boot_ja.jar:/home/evs/netbeans-8.2/platform/lib/locale/boot_pt_BR.jar:/home/evs/netbeans-8.2/platform/lib/locale/boot_ru.jar:/home/evs/netbeans-8.2/platform/lib/locale/boot_zh_CN.jar:/home/evs/netbeans-8.2/platform/lib/locale/org-openide-modules_ja.jar:/home/evs/netbeans-8.2/platform/lib/locale/org-openide-modules_pt_BR.jar:/home/evs/netbeans-8.2/platform/lib/locale/org-openide-modules_ru.jar:/home/evs/netbeans-8.2/platform/lib/locale/org-openide-modules_zh_CN.jar:/home/evs/netbeans-8.2/platform/lib/locale/org-openide-util_ja.jar:/home/evs/netbeans-8.2/platform/lib/locale/org-openide-util-lookup_ja.jar:/home/evs/netbeans-8.2/platform/lib/locale/org-openide-util-lookup_pt_BR.jar:/home/evs/netbeans-8.2/platform/lib/locale/org-openide-util-lookup_ru.jar:/home/evs/netbeans-8.2/platform/lib/locale/org-openide-util-lookup_zh_CN.jar:/home/evs/netbeans-8.2/platform/lib/locale/org-openide-util_pt_BR.jar:/home/evs/netbeans-8.2/platform/lib/locale/org-openide-util_ru.jar:/home/evs/netbeans-8.2/platform/lib/locale/org-openide-util-ui_ja.jar:/home/evs/netbeans-8.2/platform/lib/locale/org-openide-util-ui_pt_BR.jar:/home/evs/netbeans-8.2/platform/lib/locale/org-openide-util-ui_ru.jar:/home/evs/netbeans-8.2/platform/lib/locale/org-openide-util-ui_zh_CN.jar:/home/evs/netbeans-8.2/platform/lib/locale/org-openide-util_zh_CN.jar" -Dnetbeans.default_userdir_root="/home/evs/.netbeans" -Dnetbeans.running.environment=gnome -Dnetbeans.dirs="/home/evs/netbeans-8.2/nb:/home/evs/netbeans-8.2/ergonomics:/home/evs/netbeans-8.2/ide:/home/evs/netbeans-8.2/extide:/home/evs/netbeans-8.2/java:/home/evs/netbeans-8.2/apisupport:/home/evs/netbeans-8.2/webcommon:/home/evs/netbeans-8.2/websvccommon:/home/evs/netbeans-8.2/enterprise:/home/evs/netbeans-8.2/mobility:/home/evs/netbeans-8.2/profiler:/home/evs/netbeans-8.2/python:/home/evs/netbeans-8.2/php:/home/evs/netbeans-8.2/identity:/home/evs/netbeans-8.2/harness:/home/evs/netbeans-8.2/cnd:/home/evs/netbeans-8.2/cndext:/home/evs/netbeans-8.2/dlight:/home/evs/netbeans-8.2/groovy:/home/evs/netbeans-8.2/extra:/home/evs/netbeans-8.2/javacard:/home/evs/netbeans-8.2/javafx:" -Dnetbeans.home="/home/evs/netbeans-8.2/platform" '-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade' '-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense' '-Xmx1024m' '-client' '-Xss2m' '-Xms32m' '-Dapple.laf.useScreenMenuBar=true' '-Dapple.awt.graphics.UseQuartz=true' '-Dsun.java2d.noddraw=true' '-Dsun.java2d.dpiaware=true' '-Dsun.zip.disableMemoryMapping=true' '-javaagent:/usr/share/java/jayatanaag.jar' -DaddExports:java.desktop/sun.awt=ALL-UNNAMED -DaddExports:java.base/jdk.internal.jrtfs=ALL-UNNAMED -DaddExports:java.desktop/java.awt.peer=ALL-UNNAMED -DaddExports:java.desktop/com.sun.beans.editors=ALL-UNNAMED -DaddExports:java.desktop/sun.awt.im=ALL-UNNAMED -DaddExports:java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED -DaddExports:java.management/sun.management=ALL-UNNAMED -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="/home/evs/.netbeans/8.2/var/log/heapdump.hprof" org.netbeans.Main --cachedir "/home/evs/.cache/netbeans/8.2" --userdir "/home/evs/.netbeans/8.2" "--branding" "nb" 0<&0

Maybe this extract from /home/ernst/.local/share/applications/hs_err_pid9171.log will help:

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

Current thread is native thread

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000140

Registers:
RAX=0x0000000000000000, RBX=0x00007fbf7d5f4ba0, RCX=0x0000000000000003, RDX=0x00007fbf84e06a20
RSP=0x00007fbf84e058a0, RBP=0x00007fbf84e05900, RSI=0x00007fbfa8794800, RDI=0x0000000000000001
R8 =0x00007fbfa87a2650, R9 =0x0000000000000000, R10=0x0000000000000001, R11=0x0000000000017100
R12=0x0000000000000000, R13=0x00007fbfa8794800, R14=0x00007fbfa82a72c0, R15=0x0000000000000182
RIP=0x00007fc02c41bd9a, EFLAGS=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007fbf84e058a0)
0x00007fbf84e058a0:   00007fc02c9d0d40 00007fbf7d5f4ba0
0x00007fbf84e058b0:   00007fbf7d5f4ba0 0000000000000000
0x00007fbf84e058c0:   00007fbfa82a72c0 00007fc02c3358c5
0x00007fbf84e058d0:   00007fbf84e05900 00007fbfa87a2650
0x00007fbf84e058e0:   00000000f20bde28 00007fbf7d5f4ba0
0x00007fbf84e058f0:   00007fbfa8794800 00007fbfa82a72b8
0x00007fbf84e05900:   00007fbf84e05a70 00007fc02c52ca2a
0x00007fbf84e05910:   0000000000000000 00007fbfa86b5100
0x00007fbf84e05920:   00007fbf84e05ae0 00007fbf84e05c90
0x00007fbf84e05930:   00007fc015012c80 00007fbf0000000a
0x00007fbf84e05940:   0000000000000001 00007fbfa848fe00
0x00007fbf84e05950:   00007fbfcc0191b0 00007fbfbba4770c
0x00007fbf84e05960:   00007fbf84e05ae0 00007fbf00000020
0x00007fbf84e05970:   00007fbf84e05a00 00007fbf84e05ab0
0x00007fbf84e05980:   00000000000002f5 00007fbfa86b5100
0x00007fbf84e05990:   00007fbf84e05a30 0000004000000001
0x00007fbf84e059a0:   00000000cc0191b0 00007fbfcc019220
0x00007fbf84e059b0:   00007fbf84e05a50 0000013d01000055
0x00007fbf84e059c0:   00007fbfcc019140 00007fbf84e05a50
0x00007fbf84e059d0:   00007fbf7d5f4ba0 00007fbfa8794800
0x00007fbf84e059e0:   00007fbf7d5f4ba0 00007fbfa8794800
0x00007fbf84e059f0:   0000000000000006 00007fbf84e05a30
0x00007fbf84e05a00:   00007fbf84e05a20 00007fc02c87e061
0x00007fbf84e05a10:   00007fbf7d5f4ba0 00007fbfa8794800
0x00007fbf84e05a20:   00007fbf84e05a70 00007fc02c74b33f
0x00007fbf84e05a30:   00007fbf7d5f4ba0 00007fbfa8794800
0x00007fbf84e05a40:   0000000000000003 00007fbfa87a2650
0x00007fbf84e05a50:   00000000f20bde28 00007fbf7d5f4ba0
0x00007fbf84e05a60:   00007fbfa87a1f60 00007fbfa8794800
0x00007fbf84e05a70:   00007fbf84e05c00 00007fc02c56f82b
0x00007fbf84e05a80:   0000000000000000 00007fbfbba5c450
0x00007fbf84e05a90:   00007fbf84e05ae0 00007fbf84e05b60 

Instructions: (pc=0x00007fc02c41bd9a)
0x00007fc02c41bd7a:   00 48 85 db 48 89 5d a8 48 89 5d b0 74 38 48 8b
0x00007fc02c41bd8a:   05 91 3e 9f 00 8b 38 e8 6a 05 ca ff 48 89 45 b8
0x00007fc02c41bd9a:   48 8b 98 40 01 00 00 8b 13 3b 53 04 0f 84 c3 00
0x00007fc02c41bdaa:   00 00 8d 42 01 48 63 d2 89 03 48 8b 43 18 48 8b 

Register to memory mapping:

RAX=0x0000000000000000 is an unknown value
RBX={method} {0x00007fbf7d5f4ba0} 'run' '()V' in 'com/sun/glass/ui/InvokeLaterDispatcher$Future'
RCX=0x0000000000000003 is an unknown value
RDX=0x00007fbf84e06a20 is an unknown value
RSP=0x00007fbf84e058a0 is an unknown value
RBP=0x00007fbf84e05900 is an unknown value
RSI=0x00007fbfa8794800 is a thread
RDI=0x0000000000000001 is an unknown value
R8 =0x00007fbfa87a2650 is an unknown value
R9 =0x0000000000000000 is an unknown value
R10=0x0000000000000001 is an unknown value
R11=0x0000000000017100 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x00007fbfa8794800 is a thread
R14=0x00007fbfa82a72c0 is an unknown value
R15=0x0000000000000182 is an unknown value

Stack: [0x00007fbf84606000,0x00007fbf84e07000],  sp=0x00007fbf84e058a0,  free space=8190k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x57dd9a]  Exceptions::throw_stack_overflow_exception(Thread*, char const*, int, methodHandle)+0x12a
V  [libjvm.so+0x68ea2a]  JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x3ca
V  [libjvm.so+0x6d182b]  jni_invoke_nonstatic(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*)+0x40b
V  [libjvm.so+0x6d5bff]  jni_CallVoidMethodV+0x10f
C  [libglass.so+0x13e51]  JNIEnv_::CallVoidMethod(_jobject*, _jmethodID*, ...)+0x81
C  [libglass.so+0x2049b]  call_runnable(void*)+0x2b

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

VM state:synchronizing (normal execution)

VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
[0x00007fc024009860] Threads_lock - owner thread: 0x00007fc024142000

Heap:
 PSYoungGen      total 187392K, used 140785K [0x00000000eab00000, 0x00000000fc600000, 0x0000000100000000)
  eden space 143872K, 86% used [0x00000000eab00000,0x00000000f252dab0,0x00000000f3780000)
  from space 43520K, 36% used [0x00000000f3780000,0x00000000f46ce970,0x00000000f6200000)
  to   space 64512K, 0% used [0x00000000f8700000,0x00000000f8700000,0x00000000fc600000)
 ParOldGen       total 184832K, used 103985K [0x00000000c0000000, 0x00000000cb480000, 0x00000000eab00000)
  object space 184832K, 56% used [0x00000000c0000000,0x00000000c658c420,0x00000000cb480000)
 Metaspace       used 84201K, capacity 94542K, committed 94592K, reserved 1130496K
  class space    used 10674K, capacity 13429K, committed 13440K, reserved 1048576K

Card table byte_map: [0x00007fc02a12b000,0x00007fc02a32c000] byte_map_base: 0x00007fc029b2b000

Marking Bits: (ParMarkBitMap*) 0x00007fc02ce5f120
 Begin Bits: [0x00007fc002000000, 0x00007fc003000000)
 End Bits:   [0x00007fc003000000, 0x00007fc004000000)

Polling page: 0x00007fc02daaf000

CodeCache: size=245760Kb used=25809Kb max_used=25814Kb free=219951Kb
 bounds [0x00007fc015000000, 0x00007fc016960000, 0x00007fc024000000]
 total_blobs=9537 nmethods=8583 adapters=864
 compilation: enabled

Compilation events (10 events):
Event: 20,909 Thread 0x00007fc024281800 10613       3       sun.awt.X11.WindowPropertyGetter::execute (6 bytes)
Event: 20,910 Thread 0x00007fc024281800 nmethod 10613 0x00007fc016957d10 code [0x00007fc016957e80, 0x00007fc016958008]
Event: 20,911 Thread 0x00007fc02427e000 10615       4       sun.awt.X11.Native::getLong (25 bytes)
Event: 20,913 Thread 0x00007fc02427e000 nmethod 10615 0x00007fc016956210 code [0x00007fc016956360, 0x00007fc0169563f8]
Event: 20,913 Thread 0x00007fc024281800 10616       3       sun.awt.X11.XPropertyEvent::get_atom (20 bytes)
Event: 20,914 Thread 0x00007fc024281800 nmethod 10616 0x00007fc016955ad0 code [0x00007fc016955c60, 0x00007fc016956028]
Event: 20,914 Thread 0x00007fc024281800 10618       3       java.lang.invoke.MethodTypeForm::cachedLambdaForm (44 bytes)
Event: 20,914 Thread 0x00007fc024281800 nmethod 10618 0x00007fc0169553d0 code [0x00007fc016955560, 0x00007fc0169558e8]
Event: 20,914 Thread 0x00007fc024281800 10617       3       sun.invoke.util.BytecodeDescriptor::unparse (18 bytes)
Event: 20,915 Thread 0x00007fc024281800 nmethod 10617 0x00007fc0169570d0 code [0x00007fc016957280, 0x00007fc016957778]

GC Heap History (10 events):
Event: 11,088 GC heap before
{Heap before GC invocations=26 (full 4):
 PSYoungGen      total 140288K, used 119665K [0x00000000eab00000, 0x00000000f6300000, 0x0000000100000000)
  eden space 111104K, 100% used [0x00000000eab00000,0x00000000f1780000,0x00000000f1780000)
  from space 29184K, 29% used [0x00000000f1780000,0x00000000f1fdc568,0x00000000f3400000)
  to   space 28160K, 0% used [0x00000000f4780000,0x00000000f4780000,0x00000000f6300000)
 ParOldGen       total 104448K, used 51422K [0x00000000c0000000, 0x00000000c6600000, 0x00000000eab00000)
  object space 104448K, 49% used [0x00000000c0000000,0x00000000c3237af8,0x00000000c6600000)
 Metaspace       used 73071K, capacity 82820K, committed 83072K, reserved 1120256K
  class space    used 9170K, capacity 11824K, committed 11904K, reserved 1048576K
Event: 11,103 GC heap after
Heap after GC invocations=26 (full 4):
 PSYoungGen      total 156160K, used 27156K [0x00000000eab00000, 0x00000000f6900000, 0x0000000100000000)
  eden space 128000K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000f2800000)
  from space 28160K, 96% used [0x00000000f4780000,0x00000000f62053a8,0x00000000f6300000)
  to   space 32256K, 0% used [0x00000000f2800000,0x00000000f2800000,0x00000000f4780000)
 ParOldGen       total 104448K, used 51430K [0x00000000c0000000, 0x00000000c6600000, 0x00000000eab00000)
  object space 104448K, 49% used [0x00000000c0000000,0x00000000c3239af8,0x00000000c6600000)
 Metaspace       used 73071K, capacity 82820K, committed 83072K, reserved 1120256K
  class space    used 9170K, capacity 11824K, committed 11904K, reserved 1048576K
}
Event: 11,540 GC heap before
{Heap before GC invocations=27 (full 4):
 PSYoungGen      total 156160K, used 155156K [0x00000000eab00000, 0x00000000f6900000, 0x0000000100000000)
  eden space 128000K, 100% used [0x00000000eab00000,0x00000000f2800000,0x00000000f2800000)
  from space 28160K, 96% used [0x00000000f4780000,0x00000000f62053a8,0x00000000f6300000)
  to   space 32256K, 0% used [0x00000000f2800000,0x00000000f2800000,0x00000000f4780000)
 ParOldGen       total 104448K, used 51430K [0x00000000c0000000, 0x00000000c6600000, 0x00000000eab00000)
  object space 104448K, 49% used [0x00000000c0000000,0x00000000c3239af8,0x00000000c6600000)
 Metaspace       used 74280K, capacity 84202K, committed 84224K, reserved 1122304K
  class space    used 9365K, capacity 12017K, committed 12032K, reserved 1048576K
Event: 11,565 GC heap after
Heap after GC invocations=27 (full 4):
 PSYoungGen      total 160256K, used 32232K [0x00000000eab00000, 0x00000000f8700000, 0x0000000100000000)
  eden space 128000K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000f2800000)
  from space 32256K, 99% used [0x00000000f2800000,0x00000000f477a158,0x00000000f4780000)
  to   space 37888K, 0% used [0x00000000f6200000,0x00000000f6200000,0x00000000f8700000)
 ParOldGen       total 104448K, used 53411K [0x00000000c0000000, 0x00000000c6600000, 0x00000000eab00000)
  object space 104448K, 51% used [0x00000000c0000000,0x00000000c3428c68,0x00000000c6600000)
 Metaspace       used 74280K, capacity 84202K, committed 84224K, reserved 1122304K
  class space    used 9365K, capacity 12017K, committed 12032K, reserved 1048576K
}
Event: 11,981 GC heap before
{Heap before GC invocations=28 (full 4):
 PSYoungGen      total 160256K, used 160232K [0x00000000eab00000, 0x00000000f8700000, 0x0000000100000000)
  eden space 128000K, 100% used [0x00000000eab00000,0x00000000f2800000,0x00000000f2800000)
  from space 32256K, 99% used [0x00000000f2800000,0x00000000f477a158,0x00000000f4780000)
  to   space 37888K, 0% used [0x00000000f6200000,0x00000000f6200000,0x00000000f8700000)
 ParOldGen       total 104448K, used 53411K [0x00000000c0000000, 0x00000000c6600000, 0x00000000eab00000)
  object space 104448K, 51% used [0x00000000c0000000,0x00000000c3428c68,0x00000000c6600000)
 Metaspace       used 74857K, capacity 84772K, committed 84864K, reserved 1122304K
  class space    used 9437K, capacity 12120K, committed 12160K, reserved 1048576K
Event: 12,002 GC heap after
Heap after GC invocations=28 (full 4):
 PSYoungGen      total 181760K, used 35907K [0x00000000eab00000, 0x00000000f9180000, 0x0000000100000000)
  eden space 143872K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000f3780000)
  from space 37888K, 94% used [0x00000000f6200000,0x00000000f8510ee8,0x00000000f8700000)
  to   space 43520K, 0% used [0x00000000f3780000,0x00000000f3780000,0x00000000f6200000)
 ParOldGen       total 104448K, used 53419K [0x00000000c0000000, 0x00000000c6600000, 0x00000000eab00000)
  object space 104448K, 51% used [0x00000000c0000000,0x00000000c342ac68,0x00000000c6600000)
 Metaspace       used 74857K, capacity 84772K, committed 84864K, reserved 1122304K
  class space    used 9437K, capacity 12120K, committed 12160K, reserved 1048576K
}
Event: 13,410 GC heap before
{Heap before GC invocations=29 (full 4):
 PSYoungGen      total 181760K, used 179779K [0x00000000eab00000, 0x00000000f9180000, 0x0000000100000000)
  eden space 143872K, 100% used [0x00000000eab00000,0x00000000f3780000,0x00000000f3780000)
  from space 37888K, 94% used [0x00000000f6200000,0x00000000f8510ee8,0x00000000f8700000)
  to   space 43520K, 0% used [0x00000000f3780000,0x00000000f3780000,0x00000000f6200000)
 ParOldGen       total 104448K, used 53472K [0x00000000c0000000, 0x00000000c6600000, 0x00000000eab00000)
  object space 104448K, 51% used [0x00000000c0000000,0x00000000c3438330,0x00000000c6600000)
 Metaspace       used 77677K, capacity 87716K, committed 87936K, reserved 1124352K
  class space    used 9880K, capacity 12610K, committed 12672K, reserved 1048576K
Event: 13,458 GC heap after
Heap after GC invocations=29 (full 4):
 PSYoungGen      total 187392K, used 43511K [0x00000000eab00000, 0x00000000fc600000, 0x0000000100000000)
  eden space 143872K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000f3780000)
  from space 43520K, 99% used [0x00000000f3780000,0x00000000f61fdf48,0x00000000f6200000)
  to   space 64512K, 0% used [0x00000000f8700000,0x00000000f8700000,0x00000000fc600000)
 ParOldGen       total 104448K, used 91514K [0x00000000c0000000, 0x00000000c6600000, 0x00000000eab00000)
  object space 104448K, 87% used [0x00000000c0000000,0x00000000c595ea18,0x00000000c6600000)
 Metaspace       used 77677K, capacity 87716K, committed 87936K, reserved 1124352K
  class space    used 9880K, capacity 12610K, committed 12672K, reserved 1048576K
}
Event: 13,458 GC heap before
{Heap before GC invocations=30 (full 5):
 PSYoungGen      total 187392K, used 43511K [0x00000000eab00000, 0x00000000fc600000, 0x0000000100000000)
  eden space 143872K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000f3780000)
  from space 43520K, 99% used [0x00000000f3780000,0x00000000f61fdf48,0x00000000f6200000)
  to   space 64512K, 0% used [0x00000000f8700000,0x00000000f8700000,0x00000000fc600000)
 ParOldGen       total 104448K, used 91514K [0x00000000c0000000, 0x00000000c6600000, 0x00000000eab00000)
  object space 104448K, 87% used [0x00000000c0000000,0x00000000c595ea18,0x00000000c6600000)
 Metaspace       used 77677K, capacity 87716K, committed 87936K, reserved 1124352K
  class space    used 9880K, capacity 12610K, committed 12672K, reserved 1048576K
Event: 13,838 GC heap after
Heap after GC invocations=30 (full 5):
 PSYoungGen      total 187392K, used 15674K [0x00000000eab00000, 0x00000000fc600000, 0x0000000100000000)
  eden space 143872K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000f3780000)
  from space 43520K, 36% used [0x00000000f3780000,0x00000000f46ce970,0x00000000f6200000)
  to   space 64512K, 0% used [0x00000000f8700000,0x00000000f8700000,0x00000000fc600000)
 ParOldGen       total 184832K, used 103985K [0x00000000c0000000, 0x00000000cb480000, 0x00000000eab00000)
  object space 184832K, 56% used [0x00000000c0000000,0x00000000c658c420,0x00000000cb480000)
 Metaspace       used 77677K, capacity 87716K, committed 87936K, reserved 1124352K
  class space    used 9880K, capacity 12610K, committed 12672K, reserved 1048576K
}

Deoptimization events (10 events):
Event: 17,837 Thread 0x00007fbfc83ec000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007fc0166fd344 method=com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.checkBeforeLoad(Lcom/sun/xml/internal/stream/Entity$ScannedEntity;II)I @ 18
Event: 17,942 Thread 0x00007fbfc83ec000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007fc0166bc1c4 method=com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanLiteral(ILcom/sun/org/apache/xerces/internal/xni/XMLString;Z)I @ 44
Event: 19,842 Thread 0x00007fbfc85d8000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007fc0161f09b4 method=java.util.regex.Matcher.find()Z @ 10
Event: 19,843 Thread 0x00007fbfc85d8000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007fc01602e96c method=java.io.DataOutputStream.write(I)V @ 5
Event: 19,843 Thread 0x00007fbfc85d8000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007fc01602e96c method=java.io.DataOutputStream.write(I)V @ 5
Event: 19,844 Thread 0x00007fbfc85d8000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007fc01602e96c method=java.io.DataOutputStream.write(I)V @ 5
Event: 19,844 Thread 0x00007fbfc85d8000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007fc01602e96c method=java.io.DataOutputStream.write(I)V @ 5
Event: 20,691 Thread 0x00007fbfc80c7800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007fc016488fa8 method=sun.awt.SunToolkit.getAppContext(Ljava/lang/Object;)Lsun/awt/AppContext; @ 4
Event: 20,710 Thread 0x00007fbfc810a800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007fc0165fb3e0 method=org.netbeans.Archive.getData(Lorg/netbeans/ArchiveResources;Ljava/lang/String;)[B @ 20
Event: 20,903 Thread 0x00007fbfc810a800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007fc015aa11bc method=sun.misc.URLClassPath$JarLoader.getResource(Ljava/lang/String;Z)Lsun/misc/Resource; @ 62

Internal exceptions (10 events):
Event: 11,950 Thread 0x00007fbfa88f5800 Exception <a 'java/io/FileNotFoundException'> (0x00000000f23df568) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 11,961 Thread 0x00007fbfbc002800 Exception <a 'java/io/FileNotFoundException'> (0x00000000f24b4440) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 11,969 Thread 0x00007fbfa88f5800 Exception <a 'java/io/FileNotFoundException'> (0x00000000f2531238) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 11,969 Thread 0x00007fbfa88f5800 Exception <a 'java/io/FileNotFoundException'> (0x00000000f253b840) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 11,970 Thread 0x00007fbfa88f5800 Exception <a 'java/io/FileNotFoundException'> (0x00000000f253e0e8) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 11,970 Thread 0x00007fbfa88f5800 Exception <a 'java/io/FileNotFoundException'> (0x00000000f2540ed8) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 14,104 Thread 0x00007fc0246ec000 Implicit null exception at 0x00007fc016561e94 to 0x00007fc016561f39
Event: 14,104 Thread 0x00007fc0246ec000 Implicit null exception at 0x00007fc016642294 to 0x00007fc016642401
Event: 14,419 Thread 0x00007fc0246ec000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000edd75898) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jvm.cpp, line 1386]
Event: 20,903 Thread 0x00007fbfc810a800 Exception <a 'java/lang/NullPointerException'> (0x00000000f2142d50) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/interpreter/linkResolver.cpp, line 1178]

Events (10 events):
Event: 20,912 loading class javafx/embed/swing/JFXPanel done
Event: 20,912 loading class javafx/embed/swing/SwingFXUtils
Event: 20,912 loading class javafx/embed/swing/SwingFXUtils done
Event: 20,913 loading class sun/awt/FwDispatcher
Event: 20,913 loading class sun/awt/FwDispatcher done
Event: 20,913 loading class javafx/scene/image/PixelFormat
Event: 20,913 loading class javafx/scene/image/PixelFormat done
Event: 20,914 loading class javafx/scene/image/WritablePixelFormat
Event: 20,914 loading class javafx/scene/image/WritablePixelFormat done
Event: 20,915 Thread 0x00007fbfcc035800 Thread exited: 0x00007fbfcc035800

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

OS:DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"

uname:Linux 4.4.0-96-generic #119-Ubuntu SMP Tue Sep 12 14:59:54 UTC 2017 x86_64
libc:glibc 2.23 NPTL 2.23 
rlimit: STACK 8192k, CORE 0k, NPROC 63551, NOFILE 1048576, AS infinity
load average:1,98 1,49 1,00

vm_info: Java HotSpot(TM) 64-Bit Server VM (25.101-b13) for linux-amd64 JRE (1.8.0_101-b13), built on Jun 22 2016 02:59:44 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)
Chris2011 commented 7 years ago

Thx, I will have a look. With a quick look, I saw an OutOfMemory Exception, maybe you can give NetBeans or the JVM more memory?

Chris2011 commented 7 years ago

Ok this was only a defined error.

Chris2011 commented 7 years ago

Can you please deactivate the HUDSON plugin and test it again?

Mondane commented 7 years ago

Done, still crashes:

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f2ddf1aa0ed, pid=21387, tid=0x00007f2d38021700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build 1.8.0_101-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x8b10ed]  Method::build_method_counters(Method*, Thread*)+0x2d
Instructions: (pc=0x00007f2ddf1aa0ed)
0x00007f2ddf1aa0cd:   f6 41 55 41 54 49 89 fc 53 48 83 ec 08 48 85 ff
0x00007f2ddf1aa0dd:   74 33 48 8b 05 3a 0b 6c 00 8b 38 e8 13 d2 96 ff
0x00007f2ddf1aa0ed:   48 8b 98 40 01 00 00 49 89 c6 8b 13 3b 53 04 0f
0x00007f2ddf1aa0fd:   84 ee 00 00 00 8d 42 01 48 63 d2 89 03 48 8b 43 

Register to memory mapping:

RAX=0x0000000000000000 is an unknown value
RBX=0x00007f2d58630800 is a thread
RCX=0x0000000000000001 is an unknown value
RDX=0x00007f2d38021a20 is an unknown value
RSP=0x00007f2d38020790 is an unknown value
RBP=0x00007f2d380207c0 is an unknown value
RSI=0x00007f2d58630800 is a thread
RDI=0x0000000000000001 is an unknown value
R8 =0x00007f2dc1012c80 is at code_begin+0 in an Interpreter codelet
method entry point (kind = zerolocals)  [0x00007f2dc1012c80, 0x00007f2dc1013100]  1152 bytes
R9 =0x00007f2d38020ae8 is an unknown value
R10=0x00007f2dc100071f is at begin+0 in a stub
StubRoutines::call_stub [0x00007f2dc100071f, 0x00007f2dc1000807[ (232 bytes)
R11=0x0000000000017101 is an unknown value
R12={method} {0x00007f2d31b18940} 'run' '()V' in 'com/sun/glass/ui/InvokeLaterDispatcher$Future'
R13=0x00007f2d31b188a8 is pointing into metadata
R14=0x0000000000000000 is an unknown value
R15=0x00007f2d58630800 is a thread

Stack: [0x00007f2d37821000,0x00007f2d38022000],  sp=0x00007f2d38020790,  free space=8189k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x8b10ed]  Method::build_method_counters(Method*, Thread*)+0x2d
V  [libjvm.so+0x682a4b]  InterpreterRuntime::build_method_counters(JavaThread*, Method*)+0x2b
j  com.sun.glass.ui.InvokeLaterDispatcher$Future.run()V+0
v  ~StubRoutines::call_stub
V  [libjvm.so+0x68f6b6]  JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x1056
V  [libjvm.so+0x6d182b]  jni_invoke_nonstatic(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*)+0x40b
V  [libjvm.so+0x6d5bff]  jni_CallVoidMethodV+0x10f
C  [libglass.so+0x13e51]  JNIEnv_::CallVoidMethod(_jobject*, _jmethodID*, ...)+0x81
C  [libglass.so+0x2049b]  call_runnable(void*)+0x2b

Internal exceptions (10 events):
Event: 11,176 Thread 0x00007f2d70401800 Exception <a 'java/io/FileNotFoundException'> (0x00000000f46f52c8) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 11,182 Thread 0x00007f2d74002800 Exception <a 'java/io/FileNotFoundException'> (0x00000000f47ee040) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 11,182 Thread 0x00007f2d74002800 Exception <a 'java/io/FileNotFoundException'> (0x00000000f47f8648) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 11,182 Thread 0x00007f2d74002800 Exception <a 'java/io/FileNotFoundException'> (0x00000000f47faeb8) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 11,182 Thread 0x00007f2d74002800 Exception <a 'java/io/FileNotFoundException'> (0x00000000f47fdce0) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 11,197 Thread 0x00007f2d70401800 Implicit null exception at 0x00007f2dc1e9e9b2 to 0x00007f2dc1e9fc2d
Event: 11,199 Thread 0x00007f2d70401800 Implicit null exception at 0x00007f2dc20f6509 to 0x00007f2dc20f68d5
Event: 11,477 Thread 0x00007f2d700b5000 Implicit null exception at 0x00007f2dc2243c51 to 0x00007f2dc2243f34
Event: 14,283 Thread 0x00007f2d70401800 Implicit null exception at 0x00007f2dc2426197 to 0x00007f2dc24267b5
Event: 14,479 Thread 0x00007f2d700b5000 Exception <a 'java/lang/NullPointerException'> (0x00000000efef1950) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/interpreter/linkResolver.cpp, line 1178]

Events (10 events):
Event: 14,478 loading class javafx/application/Platform done
Event: 14,478 loading class com/sun/javafx/runtime/SystemProperties
Event: 14,478 loading class com/sun/javafx/runtime/SystemProperties done
Event: 14,479 Thread 0x00007f2d700b5000 Uncommon trap: trap_request=0xffffff65 fr.pc=0x00007f2dc14d3504
Event: 14,479 Thread 0x00007f2d700b5000 DEOPT PACKING pc=0x00007f2dc14d3504 sp=0x00007f2d6f368df0
Event: 14,479 Thread 0x00007f2d700b5000 DEOPT UNPACKING pc=0x00007f2dc1005229 sp=0x00007f2d6f368e00 mode 2
Event: 14,480 loading class java/util/concurrent/LinkedBlockingDeque$Node
Event: 14,480 loading class java/util/concurrent/LinkedBlockingDeque$Node done
Event: 14,480 loading class com/sun/glass/ui/InvokeLaterDispatcher$Future
Event: 14,480 loading class com/sun/glass/ui/InvokeLaterDispatcher$Future done
Chris2011 commented 7 years ago

So you have NetBeans 8.2 Patch 2 (?) and Ubuntu 1604 LTS right?

Mondane commented 7 years ago

Yes: Netbeans

Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
Java: 1.8.0_101; Java HotSpot(TM) 64-Bit Server VM 25.101-b13
Runtime: Java(TM) SE Runtime Environment 1.8.0_101-b13
System: Linux version 4.4.0-96-generic running on amd64; UTF-8; en_US (nb)

uname:

Linux evs-ubuntu 4.4.0-96-generic #119-Ubuntu SMP Tue Sep 12 14:59:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

cat /proc/version:

Linux version 4.4.0-96-generic (buildd@lgw01-10) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #119-Ubuntu SMP Tue Sep 12 14:59:54 UTC 2017

lsb_release -a

Distributor ID: Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:    16.04
Codename:   xenial

Netbeans and Ubuntu have no outstanding updates.

Chris2011 commented 7 years ago

Thx for the detailed information.

Chris2011 commented 7 years ago

Do you have an other (different or similar enviroment) where you can test it?

Mondane commented 7 years ago

I've tested the plugin on 2 laptops, both have the same Netbeans and Ubuntu. It crashed on both. If I may ask, on what setup do you test it?

Mondane commented 7 years ago

NB After installing v1.5, I got this message when starting Netbeans a second time:


Warning - could not install some modules: org.apache.commons.lang - org.netbeans.

InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-apache-commons-lang.jar: Not found bundle:org.apache.commons.lang org.apache.commons.codec - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-apache-commons-codec.jar: Not found bundle:org.apache.commons.codec org.apache.ws.commons.util - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-apache-ws-commons-util.jar: Not found bundle:org.apache.ws.commons.util com.googlecode.javaewah.JavaEWAH - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/com-googlecode-javaewah-JavaEWAH.jar: Not found bundle:com.googlecode.javaewah.JavaEWAH org.apache.commons.io - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-apache-commons-io.jar: Not found bundle:org.apache.commons.io net.java.html - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/platform/modules/net-java-html.jar: Not found bundle:net.java.html net.java.html.json - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/platform/modules/net-java-html-json.jar: Not found bundle:net.java.html.json com.google.guava - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/com-google-guava.jar: Not found bundle:com.google.guava org.eclipse.mylyn.wikitext.core - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-eclipse-mylyn-wikitext-core.jar: Not found bundle:org.eclipse.mylyn.wikitext.core com.jcraft.jzlib - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/com-jcraft-jzlib.jar: Not found bundle:com.jcraft.jzlib com.jcraft.jsch - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/com-jcraft-jsch.jar: Not found bundle:com.jcraft.jsch org.eclipse.equinox.common - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-eclipse-equinox-common.jar: Not found bundle:org.eclipse.equinox.common org.eclipse.core.runtime.compatibility.auth - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-eclipse-core-runtime-compatibility-auth.jar: Not found bundle:org.eclipse.core.runtime.compatibility.auth net.java.html.boot - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/platform/modules/net-java-html-boot.jar: Not found bundle:net.java.html.boot net.java.html.geo - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/platform/modules/net-java-html-geo.jar: Not found bundle:net.java.html.geo org.netbeans.html.ko4j - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/platform/modules/org-netbeans-html-ko4j.jar: Not found bundle:org.netbeans.html.ko4j org.eclipse.core.jobs - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-eclipse-core-jobs.jar: Not found bundle:org.eclipse.core.jobs net.java.html.boot.fx - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/platform/modules/net-java-html-boot-fx.jar: Not found bundle:net.java.html.boot.fx org.apache.commons.logging - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-apache-commons-logging.jar: Not found bundle:org.apache.commons.logging org.apache.commons.httpclient - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-apache-commons-httpclient.jar: Not found bundle:org.apache.commons.httpclient org.apache.xmlrpc - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-apache-xmlrpc.jar: Not found bundle:org.apache.xmlrpc org.eclipse.equinox.registry - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-eclipse-equinox-registry.jar: Not found bundle:org.eclipse.equinox.registry org.eclipse.equinox.preferences - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-eclipse-equinox-preferences.jar: Not found bundle:org.eclipse.equinox.preferences org.eclipse.equinox.app - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-eclipse-equinox-app.jar: Not found bundle:org.eclipse.equinox.app org.eclipse.core.contenttype - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-eclipse-core-contenttype.jar: Not found bundle:org.eclipse.core.contenttype org.eclipse.core.runtime - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-eclipse-core-runtime.jar: Not found bundle:org.eclipse.core.runtime org.eclipse.equinox.security - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-eclipse-equinox-security.jar: Not found bundle:org.eclipse.equinox.security org.eclipse.core.net - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-eclipse-core-net.jar: Not found bundle:org.eclipse.core.net org.eclipse.mylyn.commons.core - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-eclipse-mylyn-commons-core.jar: Not found bundle:org.eclipse.mylyn.commons.core org.eclipse.mylyn.commons.net - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-eclipse-mylyn-commons-net.jar: Not found bundle:org.eclipse.mylyn.commons.net org.eclipse.mylyn.commons.repositories.core - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-eclipse-mylyn-commons-repositories-core.jar: Not found bundle:org.eclipse.mylyn.commons.repositories.core org.eclipse.mylyn.tasks.core - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-eclipse-mylyn-tasks-core.jar: Not found bundle:org.eclipse.mylyn.tasks.core org.eclipse.mylyn.commons.xmlrpc - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-eclipse-mylyn-commons-xmlrpc.jar: Not found bundle:org.eclipse.mylyn.commons.xmlrpc org.eclipse.mylyn.bugzilla.core - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-eclipse-mylyn-bugzilla-core.jar: Not found bundle:org.eclipse.mylyn.bugzilla.core org.netbeans.html.xhr4j - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/platform/modules/org-netbeans-html-xhr4j.jar: Not found bundle:org.netbeans.html.xhr4j org.eclipse.jgit - org.netbeans.
InvalidException: Netigso: /home/evs/netbeans-8.2/ide/modules/org-eclipse-jgit.jar: Not found bundle:org.eclipse.jgit

After removing file ~/.netbeans/8.2/modules/org-chrisle-netbeans-plugins-nbscratchfile.jar, Netbeans would start again properly.

Chris2011 commented 7 years ago

Possible to reformat the exception message please? I will have a look, whether I use such dependencies. Where did you get the message? Is there a popup or do you use the messages.log?

I use Windows 10 with NB 8.2 Patch 2 and JDK 8.

Mondane commented 7 years ago

Reformatted. The error was given in a Netbeans popup.

Chris2011 commented 7 years ago

Thx.

Chris2011 commented 7 years ago

Can you test the newest release?: https://github.com/Chris2011/NbScratchFile/releases/tag/v1.5.1 I removed unused dependencies. Thx. Please report the exception again, if it happens again. I need to have a look, whether it uses the same dependencies or not. Please remove any old NbScratchFile plugins, if you still have it. Thx.

Mondane commented 7 years ago

The startup error is gone. Still crashes when creating the scratch file:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f1bbd5df0ed, pid=2833, tid=0x00007f1b15f60700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build 1.8.0_101-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x8b10ed]  Method::build_method_counters(Method*, Thread*)+0x2d

From the log

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

Current thread is native thread

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000140

Registers:
RAX=0x0000000000000000, RBX=0x00007f1b388be000, RCX=0x0000000000000001, RDX=0x00007f1b15f60a20
RSP=0x00007f1b15f5f790, RBP=0x00007f1b15f5f7c0, RSI=0x00007f1b388be000, RDI=0x0000000000000001
R8 =0x00007f1b9d012c80, R9 =0x00007f1b15f5fae8, R10=0x00007f1b9d00071f, R11=0x0000000000017101
R12=0x00007f1b0864fb80, R13=0x00007f1b0864fae8, R14=0x0000000000000000, R15=0x00007f1b388be000
RIP=0x00007f1bbd5df0ed, EFLAGS=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007f1b15f5f790)
0x00007f1b15f5f790:   00007f1b15f5f820 00007f1b388be000
0x00007f1b15f5f7a0:   0000000000000000 00007f1b0864fae8
0x00007f1b15f5f7b0:   00007f1b15f5f898 00007f1b388be000
0x00007f1b15f5f7c0:   00007f1b15f5f800 00007f1bbd3b0a4b
0x00007f1b15f5f7d0:   00007f1b388be000 00007f1bb40af000
0x00007f1b15f5f7e0:   00007f1b388be000 00007f1bbdcea930
0x00007f1b15f5f7f0:   00007f1b0864fb80 0000000000000000
0x00007f1b15f5f800:   00007f1b15f5f860 00007f1b9d012e39
0x00007f1b15f5f810:   00007f1b15f5f830 00007f1b9d012e02
0x00007f1b15f5f820:   00007f1b15f5f820 00007f1b0864fae8
0x00007f1b15f5f830:   00007f1b15f5f898 00007f1b0864fc30
0x00007f1b15f5f840:   0000000000000000 00007f1b0864fb80
0x00007f1b15f5f850:   0000000000000000 00007f1b15f5f898
0x00007f1b15f5f860:   00007f1b15f5f900 00007f1b9d0007a7
0x00007f1b15f5f870:   0000000000000000 0000000000000000
0x00007f1b15f5f880:   0000000000000000 0000000000000000
0x00007f1b15f5f890:   0000000000000000 00000000eae198d8
0x00007f1b15f5f8a0:   0000000000001fa0 00007f1b780028a8
0x00007f1b15f5f8b0:   00007f1b388be000 00007f1b15f5f980
0x00007f1b15f5f8c0:   00000000eae198d8 00007f1b15f5f940
0x00007f1b15f5f8d0:   00007f1b15f5f940 00007f1b15f5fc98
0x00007f1b15f5f8e0:   000000000000000a 00007f1b0864fb80
0x00007f1b15f5f8f0:   00007f1b9d012c80 00007f1b15f5fae8
0x00007f1b15f5f900:   00007f1b15f5fa70 00007f1bbd3bd6b6
0x00007f1b15f5f910:   00007f1b00000001 00007f1b388be000
0x00007f1b15f5f920:   00007f1b15f5fae0 00007f1b15f5fc90
0x00007f1b15f5f930:   00007f1b9d012c80 00007f1b0000000a
0x00007f1b15f5f940:   00007f1b388be000 00007f1b4002ca10
0x00007f1b15f5f950:   00007f1b0864fb80 00000000eae198d8
0x00007f1b15f5f960:   00007f1b118b67c0 00007f1b9d0179e8
0x00007f1b15f5f970:   00007f1b118b6820 00007f1b15f5fc90
0x00007f1b15f5f980:   00007f1b388be000 00007f1b388bc750 

Instructions: (pc=0x00007f1bbd5df0ed)
0x00007f1bbd5df0cd:   f6 41 55 41 54 49 89 fc 53 48 83 ec 08 48 85 ff
0x00007f1bbd5df0dd:   74 33 48 8b 05 3a 0b 6c 00 8b 38 e8 13 d2 96 ff
0x00007f1bbd5df0ed:   48 8b 98 40 01 00 00 49 89 c6 8b 13 3b 53 04 0f
0x00007f1bbd5df0fd:   84 ee 00 00 00 8d 42 01 48 63 d2 89 03 48 8b 43 

Register to memory mapping:

RAX=0x0000000000000000 is an unknown value
RBX=0x00007f1b388be000 is a thread
RCX=0x0000000000000001 is an unknown value
RDX=0x00007f1b15f60a20 is an unknown value
RSP=0x00007f1b15f5f790 is an unknown value
RBP=0x00007f1b15f5f7c0 is an unknown value
RSI=0x00007f1b388be000 is a thread
RDI=0x0000000000000001 is an unknown value
R8 =0x00007f1b9d012c80 is at code_begin+0 in an Interpreter codelet
method entry point (kind = zerolocals)  [0x00007f1b9d012c80, 0x00007f1b9d013100]  1152 bytes
R9 =0x00007f1b15f5fae8 is an unknown value
R10=0x00007f1b9d00071f is at begin+0 in a stub
StubRoutines::call_stub [0x00007f1b9d00071f, 0x00007f1b9d000807[ (232 bytes)
R11=0x0000000000017101 is an unknown value
R12={method} {0x00007f1b0864fb80} 'run' '()V' in 'com/sun/glass/ui/InvokeLaterDispatcher$Future'
R13=0x00007f1b0864fae8 is pointing into metadata
R14=0x0000000000000000 is an unknown value
R15=0x00007f1b388be000 is a thread

Stack: [0x00007f1b15760000,0x00007f1b15f61000],  sp=0x00007f1b15f5f790,  free space=8189k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x8b10ed]  Method::build_method_counters(Method*, Thread*)+0x2d
V  [libjvm.so+0x682a4b]  InterpreterRuntime::build_method_counters(JavaThread*, Method*)+0x2b
j  com.sun.glass.ui.InvokeLaterDispatcher$Future.run()V+0
v  ~StubRoutines::call_stub
V  [libjvm.so+0x68f6b6]  JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x1056
V  [libjvm.so+0x6d182b]  jni_invoke_nonstatic(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*)+0x40b
V  [libjvm.so+0x6d5bff]  jni_CallVoidMethodV+0x10f
C  [libglass.so+0x13e51]  JNIEnv_::CallVoidMethod(_jobject*, _jmethodID*, ...)+0x81
C  [libglass.so+0x2049b]  call_runnable(void*)+0x2b

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

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 PSYoungGen      total 267776K, used 31205K [0x00000000eab00000, 0x00000000feb00000, 0x0000000100000000)
  eden space 224768K, 3% used [0x00000000eab00000,0x00000000eb3854e0,0x00000000f8680000)
  from space 43008K, 52% used [0x00000000f8680000,0x00000000f9c73fa8,0x00000000fb080000)
  to   space 41984K, 0% used [0x00000000fc200000,0x00000000fc200000,0x00000000feb00000)
 ParOldGen       total 120320K, used 66521K [0x00000000c0000000, 0x00000000c7580000, 0x00000000eab00000)
  object space 120320K, 55% used [0x00000000c0000000,0x00000000c40f66d8,0x00000000c7580000)
 Metaspace       used 86788K, capacity 97788K, committed 98048K, reserved 1132544K
  class space    used 11288K, capacity 14273K, committed 14336K, reserved 1048576K

Card table byte_map: [0x00007f1bb90e8000,0x00007f1bb92e9000] byte_map_base: 0x00007f1bb8ae8000

Marking Bits: (ParMarkBitMap*) 0x00007f1bbdcef120
 Begin Bits: [0x00007f1b96000000, 0x00007f1b97000000)
 End Bits:   [0x00007f1b97000000, 0x00007f1b98000000)

Polling page: 0x00007f1bbe93f000

CodeCache: size=245760Kb used=27571Kb max_used=27582Kb free=218188Kb
 bounds [0x00007f1b9d000000, 0x00007f1b9eb20000, 0x00007f1bac000000]
 total_blobs=10257 nmethods=9263 adapters=903
 compilation: enabled

Compilation events (10 events):
Event: 20,444 Thread 0x00007f1bac39c000 11749       3       java.lang.invoke.MethodHandles$Lookup::<init> (15 bytes)
Event: 20,445 Thread 0x00007f1bac39c000 nmethod 11749 0x00007f1b9eb13510 code [0x00007f1b9eb13680, 0x00007f1b9eb13850]
Event: 20,445 Thread 0x00007f1bac39c000 11750       3       jdk.internal.org.objectweb.asm.MethodWriter::visitAnnotation (82 bytes)
Event: 20,445 Thread 0x00007f1bac39c000 nmethod 11750 0x00007f1b9eb13910 code [0x00007f1b9eb13ae0, 0x00007f1b9eb14198]
Event: 20,445 Thread 0x00007f1bac39c000 11751       3       java.lang.invoke.MethodHandles$Lookup::in (125 bytes)
Event: 20,446 Thread 0x00007f1bac39c000 nmethod 11751 0x00007f1b9eb144d0 code [0x00007f1b9eb14700, 0x00007f1b9eb15378]
Event: 20,448 Thread 0x00007f1bac39c000 11752       3       java.lang.invoke.DirectMethodHandle::preparedLambdaForm (31 bytes)
Event: 20,448 Thread 0x00007f1bac39c000 nmethod 11752 0x00007f1b9eb158d0 code [0x00007f1b9eb15a60, 0x00007f1b9eb15ee8]
Event: 20,449 Thread 0x00007f1bac39a000 11753       4       jdk.internal.org.objectweb.asm.Item::<init> (66 bytes)
Event: 20,449 Thread 0x00007f1bac391800 11754       4       jdk.internal.org.objectweb.asm.Type::getArgumentsAndReturnSizes (151 bytes)

Deoptimization events (10 events):
Event: 19,837 Thread 0x00007f1b5436e800 Uncommon trap: reason=unloaded action=reinterpret pc=0x00007f1b9dc0f5f0 method=java.util.regex.Pattern.group0()Ljava/util/regex/Pattern$Node; @ 449
Event: 19,838 Thread 0x00007f1b5436e800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007f1b9dc1c000 method=java.util.regex.Matcher.find()Z @ 10
Event: 19,838 Thread 0x00007f1b5436e800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007f1b9de583ec method=java.io.DataOutputStream.write(I)V @ 5
Event: 19,839 Thread 0x00007f1b5436e800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007f1b9de583ec method=java.io.DataOutputStream.write(I)V @ 5
Event: 19,839 Thread 0x00007f1b5436e800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007f1b9de583ec method=java.io.DataOutputStream.write(I)V @ 5
Event: 19,840 Thread 0x00007f1b5436e800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00007f1b9de583ec method=java.io.DataOutputStream.write(I)V @ 5
Event: 20,200 Thread 0x00007f1b540b0800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007f1b9d82302c method=org.netbeans.Archive.getData(Lorg/netbeans/ArchiveResources;Ljava/lang/String;)[B @ 20
Event: 20,384 Thread 0x00007f1b38732800 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x00007f1b9e337328 method=java.util.concurrent.locks.AbstractQueuedSynchronizer.release(I)Z @ 2
Event: 20,434 Thread 0x00007f1b38732800 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x00007f1b9e337328 method=java.util.concurrent.locks.AbstractQueuedSynchronizer.release(I)Z @ 2
Event: 20,449 Thread 0x00007f1b540b0800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007f1b9d747ec4 method=sun.misc.URLClassPath$JarLoader.getResource(Ljava/lang/String;Z)Lsun/misc/Resource; @ 62

Internal exceptions (10 events):
Event: 18,494 Thread 0x00007f1b3852d000 Exception <a 'java/io/FileNotFoundException'> (0x00000000f3776280) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 18,494 Thread 0x00007f1b3852d000 Exception <a 'java/io/FileNotFoundException'> (0x00000000f377fd90) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 18,494 Thread 0x00007f1b3852d000 Exception <a 'java/io/FileNotFoundException'> (0x00000000f37825e8) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 18,495 Thread 0x00007f1b3852d000 Exception <a 'java/io/FileNotFoundException'> (0x00000000f37853f8) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 18,527 Thread 0x00007f1b38533000 Exception <a 'java/io/FileNotFoundException'> (0x00000000f419f218) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 18,540 Thread 0x00007f1b3852d000 Exception <a 'java/io/FileNotFoundException'> (0x00000000f40978e0) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 18,540 Thread 0x00007f1b3852d000 Exception <a 'java/io/FileNotFoundException'> (0x00000000f40a1330) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 18,540 Thread 0x00007f1b3852d000 Exception <a 'java/io/FileNotFoundException'> (0x00000000f40a3b88) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 18,540 Thread 0x00007f1b3852d000 Exception <a 'java/io/FileNotFoundException'> (0x00000000f40a6998) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 20,449 Thread 0x00007f1b540b0800 Exception <a 'java/lang/NullPointerException'> (0x00000000eb30ba18) thrown at [/HUDSON3/workspace/8-2-build-linux-amd64/jdk8u101/7261/hotspot/src/share/vm/interpreter/linkResolver.cpp, line 1178]

Events (10 events):
Event: 20,448 loading class javafx/application/Platform done
Event: 20,448 loading class com/sun/javafx/runtime/SystemProperties
Event: 20,448 loading class com/sun/javafx/runtime/SystemProperties done
Event: 20,449 Thread 0x00007f1b540b0800 Uncommon trap: trap_request=0xffffff65 fr.pc=0x00007f1b9d747ec4
Event: 20,449 Thread 0x00007f1b540b0800 DEOPT PACKING pc=0x00007f1b9d747ec4 sp=0x00007f1b5d380e20
Event: 20,449 Thread 0x00007f1b540b0800 DEOPT UNPACKING pc=0x00007f1b9d005229 sp=0x00007f1b5d380e30 mode 2
Event: 20,449 loading class java/util/concurrent/LinkedBlockingDeque$Node
Event: 20,449 loading class java/util/concurrent/LinkedBlockingDeque$Node done
Event: 20,450 loading class com/sun/glass/ui/InvokeLaterDispatcher$Future
Event: 20,450 loading class com/sun/glass/ui/InvokeLaterDispatcher$Future done
Chris2011 commented 7 years ago

Is the whole IDE crashing after you click on it?

Chris2011 commented 7 years ago

It seems that you use an "old" JDK 8 version. This bug could be related to this: https://bugs.openjdk.java.net/browse/JDK-8172121. So please update your JDK to the latest JDK 8. You don't need JDK 9, but an more updated JDK 8 version. Please try it. :)

Chris2011 commented 7 years ago

It could be fixed with a version > 122.

Chris2011 commented 7 years ago

I think we are at 1.4.1.

Mondane commented 7 years ago

Just tested 1.5.1 on Ubuntu 17.10 beta 2 with Netbeans 8.2 and it works properly.

Chris2011 commented 7 years ago

Finally, thx :) You mean 1.5.1 from JDK or what?

Mondane commented 7 years ago

I mean this one: https://github.com/Chris2011/NbScratchFile/releases/tag/v1.5.1

Chris2011 commented 7 years ago

Ok, but tell me, which JDK 8 version do you use, I need the full one. Thx.

Mondane commented 7 years ago

That would be: 8u144-b01-2

See https://packages.ubuntu.com/artful/openjdk-8-jdk

Chris2011 commented 7 years ago

Ok thx :)