gpt4 book ai didi

java - Grails 应用程序在给出异常后终止

转载 作者:行者123 更新时间:2023-12-02 08:34:01 24 4
gpt4 key购买 nike

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

任何帮助都是值得的

操作系统: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
#

最佳答案

我也遇到了同样的问题。当我尝试运行任何 grails 命令时,它就会出现。

运行:grails 2.0.3,macOS 10.13.2。

结果我们的解决办法是使用 JDK 1.7。

我为另一个项目将 JDK 1.8 设置为 JAVA_HOME,但忘记将其切换回 1.7。

希望这有帮助

关于java - Grails 应用程序在给出异常后终止,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38402086/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com