Grails应用程序在发出异常

时间:2016-07-15 17:32:55

标签: java grails

这很奇怪,应用程序在一段时间后停止工作并抛出错误。以下是相同的细节。

任何帮助都值得

操作系统:ubuntu0.14.04.1

Java版:打开JDK 7

Grails版本:2.4.5

申请类型:休息申请

错误/异常

MISSING EXCEPTION HANDLER for pc 0x00007fa0613a429c and handler bci -1
   Exception:
java.lang.StackOverflowError 
 - klass: 'java/lang/StackOverflowError'
 Compiled exception table :
ExceptionHandlerTable (size = 288 bytes)
catch_pco = 344 (1 entries)
  bci -1 at scope depth 0 -> pco 1329
catch_pco = 516 (1 entries)
  bci -1 at scope depth 0 -> pco 1523
catch_pco = 532 (1 entries)
  bci -1 at scope depth 0 -> pco 1528
catch_pco = 868 (1 entries)
  bci -1 at scope depth 0 -> pco 1533
catch_pco = 920 (1 entries)
  bci -1 at scope depth 0 -> pco 1535
catch_pco = 944 (1 entries)
  bci -1 at scope depth 0 -> pco 1537
catch_pco = 1160 (1 entries)
  bci -1 at scope depth 0 -> pco 1465
catch_pco = 1188 (1 entries)
  bci -1 at scope depth 0 -> pco 1518
catch_pco = 1220 (1 entries)
  bci -1 at scope depth 0 -> pco 1513
catch_pco = 1340 (2 entries)
  bci 100 at scope depth 0 -> pco 1490
  bci 110 at scope depth 0 -> pco 1476
catch_pco = 1476 (2 entries)
  bci 100 at scope depth 0 -> pco 1550
  bci 110 at scope depth 0 -> pco 1476
Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (sharedRuntime.cpp:714), pid=19233, tid=140325521483520
#  guarantee(false) failed: missing exception handler
#
# JRE version: OpenJDK Runtime Environment (7.0_101) (build 1.7.0_101-b00)
# Java VM: OpenJDK 64-Bit Server VM (24.95-b01 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 2.6.6
# Distribution: Ubuntu 14.04 LTS, package 7u101-2.6.6-0ubuntu0.14.04.1
# 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/vinay/Documents/projects/westcon/nimbus4/nimbus4-api/hs_err_pid19233.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
#

1 个答案:

答案 0 :(得分:0)

我有同样的问题。当我尝试运行任何grails命令时它浮出水面。

正在运行:grails 2.0.3,macOS 10.13.2。

我们的解决方法是使用JDK 1.7。

我将JDK 1.8设置为JAVA_HOME用于其他项目并忘记将其切换回1.7。

希望这有帮助