Tuesday, 15 April 2014

osx - Why does Java hang on my Mac when I try to use ImageIO? -


Suddenly, last afternoon, my Java (Groove, in fact) was hanging while trying to call in Classloader.load (string, bullion). ImageIO.read (file) The stack trace indicates that he was trying to load the AWT related code.

If it was a IntelliJ or Gradle issue, so I tried it the command line, where it still hangs, but I specified -Djava.awt.headless = true- apparently - XstartOnFirstThread is related to the SWT 2013 bug, but it certainly meant that I was unable to display windows from the program.

This is a trivial 'only load an image' program.

Basically, an existing Java-based application was running happily, and a new user was not a problem on the same machine.

Checking my environment variables for suspicious objects against files and logging / out of my entire account, and my new environment did not have any effect.

I do not know why this is happening, but it's already going to face a domestic accident relates to:

  # # received a fatal error by Java runtime environment: # # PC = 0x0000000l3l099blb, PID = 11165, TID = 4867 # # Jeari version: Java (TM ) SE runtime environment (8k0_3l-B-13) (Build Lk8k0_3l B 13) # # Java VM: hotspot # Saijisijivi (0xb) Java (TM) 64-bit server VM (25.31-B-07 Mixed mode BSD-MD 64 Compred ops) # problematic frame: C # [libtesseract.dylib + 0x156 B1] Elist :: length () const + 0x5 # # Failed writing core dump. Core dump has been disabled To enable core dumping, try "Unlimited-Unlimited" before resuming Java # # An error report file with more information has been saved: # / Users / tim / git / t4jhack / hs_err_pid11165.log # # If you want to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # # # # # # # # # # # # # # # # # # # Report the bug to see the problematic frame. #  

Because I started it again, and revived this issue immediately.

App crash is called

  AppMain left unexpectedly again click again to open the app. This report will be sent automatically to Apple [Show Details] [OK] [Reopen]  

I clicked 'Ok' and 'Reopen' - Both cause problem .

System Preferences, open the Java Control Panel, where it says:

  Last time you Java Unexpectedly left while reopening the window. Do you want to try to open your window again again? If you do not choose to reopen the window, you may have to open windows and place yourself again. Reopen [Reopen]  

You want to 're Open ', then OK result window


No comments:

Post a Comment