The below error I get after I run my stand alone application developed in JAVA. Please help  # A fatal error has been detected by the Java Runtime Environment: #  EXCEPTION_PRIV_INSTRUCTION (0xc0000096) at pc=0x04730008, pid=1872, tid=2248 # JRE version: 6.0_30-b12 # Java VM: Java HotSpot(TM) Client VM (20.5-b03 mixed mode, sharing windows-x86 ) # Problematic frame: # C  0x04730008 # If you would like to submit a bug report, please visit: #   http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug.   I get this error after I run my stand alone application developed in JAVA.  Please help
81002
When a Java VM crashes with an EXCEPTION_ACCESS_VIOLATION and produces an hs_err_pidXXX.log file, what does that indicate? The error itself is basically a null pointer exception. Is it always caused by a bug in the JVM, or are there other causes like malfunctioning hardware or software conflicts?  Edit: there is a native component, this is an SWT application on win32.
7898
The StackExchange app crashes for me on every start when I click a link in the browser. It seems (based on the StackTrace) that the url parser causes a null pointer exception. I'm using 0.1.90.
121233
I'm trying to run an application downloaded from the internet (e.g., Jabref) but it seems that it fails silently. When I try to open it by double clicking it, nothing happens. When I use the terminal I get the following message:     LSOpenURLsWithRole() failed with error -10810 for the file .../xxxx.app   I tried several suggestions that I found here like changing permissions and modifying the Info.plist file, but nothing works.  Because it's a Java application, I tried to run it through terminal using      java -cp "CLASSPATH" MAINCLASS    and it works fine.  Just to mention that I get this error not only with this app, but for a few other applications.  Thanks in advance.
103252
$ cat /etc/lsb-release  DISTRIB_ID=Ubuntu DISTRIB_RELEASE=17.04 DISTRIB_CODENAME=zesty DISTRIB_DESCRIPTION="Ubuntu 17.04"  $ java -version java version "9" Java(TM) SE Runtime Environment (build 9+181) Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)  $ javac -version javac 9 $ umake --version 16.11.1  $ umake ide netbeans [sudo] password for thufir:  Choose installation path: /home/thufir/.local/share/umake/ide/netbeans Downloading and installing requirements                                                    | 100% |#####################################################################################| Installing Netbeans |##########################################################################################| Installation done  $ netbeans The program 'netbeans' is currently not installed. You can install it by typing: sudo apt install netbeans     possibly related to:  $ /home/thufir/.local/share/umake/bin/netbeans  WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/home/thufir/.local/share/umake/ide/netbeans/platform/lib/boot.jar) to field java.net.URL.handler WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release ^C   which is an error I was seeing before a  install.  (Possibly related to , or at least similar.)
13711
I am trying to install a Java application on my Linux machine (Slackware).   I have received the following error, and I do not understand it.   Could you advise me how to approach the problem? Thank you.  Here is what I get: (I see that some X11 DISPLAY variable needs to be set, but what value should I give it and how?)  ~$ java -jar gate-5.0-beta1-build3048-installer.jar - ERROR -  java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless(Graphic sEnvironment.java:159) at java.awt.Window.&lt;init&gt;(Window.java:407) at java.awt.Frame.&lt;init&gt;(Frame.java:402) at net.sourceforge.mlf.metouia.borders.MetouiaDotsBuf fer.&lt;init&gt;(MetouiaDotsBuffer.java:105) at net.sourceforge.mlf.metouia.borders.MetouiaDots.&lt;i nit&gt;(MetouiaDots.java:66) at net.sourceforge.mlf.metouia.borders.MetouiaToolBar Border.&lt;init&gt;(MetouiaToolBarBorder.java:49) at net.sourceforge.mlf.metouia.MetouiaLookAndFeel.ini tComponentDefaults(MetouiaLookAndFeel.java:241) at javax.swing.plaf.basic.BasicLookAndFeel.getDefault s(BasicLookAndFeel.java:130) at javax.swing.plaf.metal.MetalLookAndFeel.getDefault s(MetalLookAndFeel.java:1591) at javax.swing.UIManager.setLookAndFeel(UIManager.jav a:537) at javax.swing.UIManager.setLookAndFeel(UIManager.jav a:581) at com.izforge.izpack.installer.GUIInstaller.loadLook AndFeel(GUIInstaller.java:373) at com.izforge.izpack.installer.GUIInstaller.&lt;init&gt;(G UIInstaller.java:116) at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Construc tor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:30 at com.izforge.izpack.installer.Installer.main(Instal ler.java:62)
113159
I'm not sure why I'm getting this error, but shouldn't this code compile, since I'm already checking to see if queue is getting initialized?   public static void Main(String[] args) {     Byte maxSize;     Queue queue;      if(args.Length != 0)     {         if(Byte.TryParse(args[0], out maxSize))             queue = new Queue(){MaxSize = maxSize};         else             Environment.Exit(0);     }     else     {         Environment.Exit(0);     }      for(Byte j = 0; j &lt; queue.MaxSize; j++)         queue.Insert(j);     for(Byte j = 0; j &lt; queue.MaxSize; j++)         Console.WriteLine(queue.Remove()); }   So if queue is not initialized, then the for loops aren't reachable right? Since the program already terminates with Environment.Exit(0)?  Hope ya'll can give me some pointers :)  Thanks.
98616
I can hookup to AppDomain.CurrentDomain.UnhandledException to log exceptions from background threads, but how do I prevent them terminating the runtime?
92098
When a java based application starts to misbehave on a windows machine, you want to be able to kill the process in the task manager if you can't quit the application normally. Most of the time, there's more than one java based application running on my machine. Is there a better way than just randomly killing java.exe processes in hope that you'll hit the correct application eventually?  EDIT: Thank you to all the people who pointed me to Sysinternal's Process Explorer - Exactly what I'm looking for!
29851
I have an error that seems common on the web,  Though i cant find a definite answer that applies to my case:  I have the following Apex code:  public with sharing class templicenseemail {      private ApexPages.standardController standardController;       public Trainee__c trainee { get; set; }     public templicenseemail(ApexPages.StandardController controller) {         this.standardController = standardController;     }      public PageReference doSomething()     {         trainee  = [SELECT Email__c,First_Name__c,Institution__c,Last_Name__c FROM Trainee__c                  WHERE Id = :ApexPages.currentPage().getParameters().get('id')];                  String whatIs = trainee.Volume_Serial_Number__c;                 integer strlen = whatIs.length();                  ApexPages.addMessage(new ApexPages.message(ApexPages.severity.INFO, trainee.Email__c  ));         return null;      }     }   And the following test case:  @isTest(seealldata=false)      private class Send_noti_emailsTestClass5 {          static testMethod void validateSend_noti_emails5() {              templicenseemail  MyTestcase = new templicenseemail();              // code here in the Middle              MyTestcase.doSomething();          }     }   I'm getting the following error:  Error: Compile Error: Constructor not defined: [templicenseemail].&lt;Constructor&gt;(SOBJECT:Lead) at line:      templicenseemail  MyTestcase = new templicenseemail();   Does anyone know why?
104149
When an exception is thrown in an Asp.Net web page, an error message is displayed with the complete stack trace.    Example below:       Stack Trace:     IndexOutOfRangeException: Index was outside the bounds of the array.    MyNameSpace.SPAPP.ViewDetailsCodeBehind.LoadView()  +5112   MyNameSpace.SPAPP.ViewDetailsCodeBehind.Page_Load(Object sender, EventArgs e) +67   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +13   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +43   System.Web.UI.Control.OnLoad(EventArgs e) +98   ... ...   The problem is that the Line number displayed does not correspond to the line in my code that originated the exception. In the example above, the stack shows line number 5111, yet my code behind .cs file only has 250 lines!  The aspx page is stored in a SharePoint site and the Assembly with the code behind has been deployed to GAC. Also, I've compiled in Debug mode. Given the settings above, how can I find out what line in my code caused the Exception?    Clarification as pointed out by :     In Release mode the number in front of the exception is NOT the line of code. Instead it's an offset to the native compiled code, which doesn't have any meaning to humans. More about this here:       In debug mode the PDB file will automatically map the native code offset to your .cs line in code and the number displayed WILL be the corresponding line in code.
45425
Along side the question "" that explained the programical aspects of the error and suggested some workarounds, I want to know: what does this error mean?   X is not in the sudoers file.  This incident will be reported.   The former part of the error explains, clearly, the error. But the second part says that "This error will be reported"?! But why? Why the error will be reported and where? To whom? I'm both user and administrator and didn't receive any report :)!
43021
I am executing an exe through my java program. The path is hardcoded in Java.  I have packaged my the exe in the jar.  But am stuck as I have the path name hardcoded in the Java file, so I am not able to execute my jar as a stand alone program.  Any hints for packaging such jar i.e having an exe inside and able to run it as a stand alone program?
101710
An existing integration from Salesforce to Oracle stopped working this morning. When I send an http request from Salesforce to an Oracle webservice, I get a message "System.CalloutException: Received fatal alert: bad_record_mac". This seems like a common Java related error related to SSL and there are some suggested fixes on the web. However, I do not find any reference to this error in the context of Salesforce.   Has anyone seen this error in Salesforce? What was the issue and how did you resolve this?
77222
I have a really simple Java class that effectively decorates a Map with input validation, with the obvious void set() and String get() methods.  I'd like to be able to effectively call those methods and handle return values and exceptions from outside the JVM, but still on the same machine Update: the caller I have in mind is not another JVM; thanks @Dave Ray  My implementation considerations are typical    performance ease of implementation and maintenance (simplicity?) reliability flexibility (i.e. can I call from a remote machine, etc.)   Is there a 'right way?' If not, what are my options, and what are the pro/cons for each?  (Stuff people have actually done and can provide real-life feedback on would be great!)
56904
I switched to full screen on minecraft, the screen turned black as if it were loading it took a while so i closed minecraft and reopened it. When I logged on it gave me a program on my taskbar saying "minecraft minecraft" then when i closed the program it gave me this error message:   java(tm) platform SE binary has stopped working.    Is there a way to fix this?
26143
It keeps crashing and this is the newest one:  Anonymous UUID:       0BCEAA1D-32A3-1735-AF5F-607108F40027  Wed Jun 13 18:53:02 2018  *** Panic Report *** panic(cpu 0 caller 0xffffff8016f154f0):  initproc exited -- exit reason namespace 2 subcode 0xa description: none  Thread 1 crashed  RAX: 0x0000000000000010, RBX: 0x00000001047f4f28, RCX: 0x00000001047a6a80, RDX: 0x00000001047f2000 RSP: 0x0000700003560250, RBP: 0x00007000035602f0, RSI: 0x000000000004b000, RDI: 0x00000001047f7410 R8:  0x0000000000000000, R9:  0x0000000000000e20, R10: 0x00000001047a6a10, R11: 0x0000000000000001 R12: 0x0000000000000001, R13: 0x0000000000001cf0, R14: 0x0000000000000001, R15: 0x0000000000000001 RFL: 0x0000000000010202, RIP: 0x00007fff6e9497c4, CS:  0x000000000000002b, SS:  0x0000000000000023  Thread 0: 0xffffff80258a8000 0x00007fff6ea9402a 0x00007fff6e915cc0 0x0000000000000000  Thread 1: 0xffffff802683f290 0x00007fff6e9497c4 0x00007fff6e94aa8d 0x00007fff6e94aca5 0x00007fff6e9521c4 0x00007fff6e9a45b1 0x00000001047c8c95 0x00000001047d89ea 0x00007fff6e909db8 0x00007fff6e91ce81 0x00007fff6e90c081 0x00007fff6e91e07a 0x00007fff6e911166 0x00007fff6e91ef0d 0x00007fff6e922d21 0x00007fff6ec5afd2 0x00007fff6ec5abe9 0x0000000000000000  Thread 2: 0xffffff8029432c70 0x00007fff6ea955b2 0x00007fff6e91ce81 0x00007fff6e90c081 0x00007fff6e91e07a 0x00007fff6e911166 0x00007fff6e91ef0d 0x00007fff6e922d21 0x00007fff6ec5afd2 0x00007fff6ec5abe9 0x0000000000000000  Thread 3: 0xffffff802c2c54f0 0x00007fff6ec5abdc  Thread 4: 0xffffff8027d56650 0x00007fff6ec5abdc   Mac OS version: 17F77  Kernel version: Darwin Kernel Version 17.6.0: Tue May  8 15:22:16 PDT 2018; root:xnu-4570.61.1~1/RELEASE_X86_64 Kernel UUID: CC1699EE-71B5-3AF1-AAA3-6DBD16222B92 System model name: MacBookAir7,2 (Mac-937CB26E2E02BB01) Root disk errors: "Could not recover SATA HDD after 5 attempts. Terminating."  EOF Model: MacBookAir7,2, BootROM MBA71.0177.B00, 2 processors, Intel Core i5, 1.6 GHz, 4 GB, SMC 2.27f2 Graphics: Intel HD Graphics 6000, Intel HD Graphics 6000, Built-In Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E384A544D4C41522D4E544D Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E384A544D4C41522D4E544D AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x117), Broadcom BCM43xx 1.0 (7.77.37.31.1a9) Bluetooth: Version 6.0.6f2, 3 services, 27 devices, 1 incoming serial ports Network Service: Wi-Fi, AirPort, en0 Serial ATA Device: APPLE SSD SM0256G, 251 GB USB Device: USB 3.0 Bus USB Device: BRCM20702 Hub USB Device: Bluetooth USB Host Controller Thunderbolt Bus: MacBook Air, Apple Inc., 27.2
5531
Is it possible to handle POSIX signals within the Java Virtual Machine?  At least  and  should be quite platform independent.