gpt4 book ai didi

grails - 跟踪/BPT陷阱:5个正在运行的grails 2.1.0应用-跟踪/BPT陷阱:5

转载 作者:行者123 更新时间:2023-12-02 14:45:32 36 4
gpt4 key购买 nike

我将应用程序从2.0.0M2升级到了2.1.0,但是当我尝试运行该应用程序时,出现此错误:

Note: /Volumes/Info/proyectos-grails/vincoorbis/Member-2.1.0/member/src/groovy/com/vincoorbis/aeromexico/clubpremier/member/WSCredentialsException.j va uses or overrides a deprecated API. 
Note: Recompile with -Xlint:deprecation for details.

| Creating SSL Certificate...

Created SSL Certificate.

Configuring Spring Security Core ...
... finished configuring Spring Security Core
Trace/BPT trap: 5

这是日志:
Process:         java [10418]
Path: /usr/bin/java
Identifier: com.apple.javajdk16.cmd
Version: 1.0 (1.0)
Code Type: X86-64 (Native)
Parent Process: bash [8980]
User ID: 501

Date/Time: 2012-09-03 12:16:47.579 -0500
OS Version: Mac OS X 10.8 (12A269)
Report Version: 10

Interval Since Last Report: 1320567 sec
Crashes Since Last Report: 13
Per-App Interval Since Last Report: 111302 sec
Per-App Crashes Since Last Report: 12
Anonymous UUID: 92ED5BE2-E51C-418A-A60B-388303A36546

Crashed Thread: 5 Java: GC task thread#1 (ParallelGC)

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
Java information:
Exception type: Internal Error (/SourceCache/JavaJDK16/JavaJDK16-424/hotspot/src/share/vm/runtime/javaCalls.cpp, line 62)

# guarantee(thread->is_Java_thread()) failed: crucial check - the VM thread cannot and must not escape to Java code
Java VM: Java HotSpot(TM) 64-Bit Server VM (20.8-b03-424 mixed mode macosx-amd64)

Current thread (7fd2fb801800): GCTaskThread [stack: 10c32d000,10c42d000] [id=205705216]
Stack: [10c32d000,10c42d000]
JavaThread 7fd2fe8d5800 (nid = 4540796928) was being processed
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.springsource.loaded.Utils.loadBytesFromStream(Ljava/io/InputStream;)[B+12
j com.springsource.loaded.Utils.loadClassAsBytes2(Ljava/lang/ClassLoader;Ljava/lang/String;)[B+39
J com.springsource.loaded.TypeRegistry.getDescriptorFor(Ljava/lang/String;)Lcom/springsource/loaded/TypeDescriptor;
J com.springsource.loaded.TypeDescriptorExtractor$ExtractionVisitor.computeFieldsRequiringAccessors()V
j com.springsource.loaded.TypeDescriptorExtractor$ExtractionVisitor.getTypeDescriptor()Lcom/springsource/loaded/TypeDescriptor;+12
J com.springsource.loaded.TypeRegistry.getDescriptorFor(Ljava/lang/String;)Lcom/springsource/loaded/TypeDescriptor;
J com.springsource.loaded.TypeDescriptorExtractor$ExtractionVisitor.computeFieldsRequiringAccessors()V
j com.springsource.loaded.TypeDescriptorExtractor$ExtractionVisitor.getTypeDescriptor()Lcom/springsource/loaded/TypeDescriptor;+12
J com.springsource.loaded.TypeRegistry.getDescriptorFor(Ljava/lang/String;)Lcom/springsource/loaded/TypeDescriptor;
J com.springsource.loaded.TypeDescriptorExtractor$ExtractionVisitor.computeFieldsRequiringAccessors()V
j com.springsource.loaded.TypeDescriptorExtractor$ExtractionVisitor.getTypeDescriptor()Lcom/springsource/loaded/TypeDescriptor;+12
J com.springsource.loaded.TypeRegistry.getDescriptorFor(Ljava/lang/String;)Lcom/springsource/loaded/TypeDescriptor;
J com.springsource.loaded.TypeDescriptorExtractor$ExtractionVisitor.findTypeDescriptor(Lcom/springsource/loaded/TypeRegistry;Ljava/lang/String;)Lcom/springsource/loaded/TypeDescriptor;
J com.springsource.loaded.TypeDescriptorExtractor$ExtractionVisitor.computeCatchers()V
j com.springsource.loaded.TypeDescriptorExtractor$ExtractionVisitor.getTypeDescriptor()Lcom/springsource/loaded/TypeDescriptor;+8
j com.springsource.loaded.TypeDescriptorExtractor.extract([BZ)Lcom/springsource/loaded/TypeDescriptor;+29
j com.springsource.loaded.TypeRegistry.addType(Ljava/lang/String;[B)Lcom/springsource/loaded/ReloadableType;+50
J com.springsource.loaded.agent.SpringLoadedPreProcessor.preProcess(Ljava/lang/ClassLoader;Ljava/lang/String;Ljava/security/ProtectionDomain;[B)[B
J sun.instrument.TransformerManager.transform(Ljava/lang/ClassLoader;Ljava/lang/String;Ljava/lang/Class;Ljava/security/ProtectionDomain;[B)[B
j sun.instrument.InstrumentationImpl.transform(Ljava/lang/ClassLoader;Ljava/lang/String;Ljava/lang/Class;Ljava/security/ProtectionDomain;[BZ)[B+34
v ~StubRoutines::call_stub
j java.lang.ClassLoader.defineClass1(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;Z)Ljava/lang/Class;+0
j java.lang.ClassLoader.defineClassCond(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Z)Ljava/lang/Class;+32
j java.lang.ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;+9
j org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts.define(Ljava/lang/String;[B)Ljava/lang/Class;+26
j org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts$1.run()Ljava/lang/Class;+12
j org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts$1.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
J java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
j org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts.defineClassAndGetConstructor(Ljava/lang/String;[B)Ljava/lang/reflect/Constructor;+10
j org.codehaus.groovy.runtime.callsite.CallSiteGenerator.compileStaticMethod(Lorg/codehaus/groovy/reflection/CachedMethod;)Ljava/lang/reflect/Constructor;+43
j org.codehaus.groovy.reflection.CachedMethod.createStaticMetaMethodSite(Lorg/codehaus/groovy/runtime/callsite/CallSite;Lgroovy/lang/MetaClassImpl;[Ljava/lang/Class;)Lorg/codehaus/groovy/runtime/callsite/CallSite;+30
j org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.createStaticMetaMethodSite(Lorg/codehaus/groovy/runtime/callsite/CallSite;Lgroovy/lang/MetaClassImpl;Lgroovy/lang/MetaMethod;[Ljava/lang/Class;[Ljava/lang/Object;)Lorg/codehaus/groovy/runtime/callsite/CallSite;+56
j groovy.lang.MetaClassImpl.createStaticSite(Lorg/codehaus/groovy/runtime/callsite/CallSite;[Ljava/lang/Object;)Lorg/codehaus/groovy/runtime/callsite/CallSite;+36
j groovy.lang.ExpandoMetaClass.createStaticSite(Lorg/codehaus/groovy/runtime/callsite/CallSite;[Ljava/lang/Object;)Lorg/codehaus/groovy/runtime/callsite/CallSite;+20
j org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallStaticSite(Lorg/codehaus/groovy/runtime/callsite/CallSite;Ljava/lang/Class;[Ljava/lang/Object;)Lorg/codehaus/groovy/runtime/callsite/CallSite;+18
j org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite(Lorg/codehaus/groovy/runtime/callsite/CallSite;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/codehaus/groovy/runtime/callsite/CallSite;+26
j org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(Lorg/codehaus/groovy/runtime/callsite/CallSite;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+3
j org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+3
j org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(Ljava/lang/Object;)Ljava/lang/Object;+5
j BootStrap$_closure1.doCall(Ljava/lang/Object;)Ljava/lang/Object;+6360
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
J java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
J com.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
J groovy.lang.MetaMethod.doMethodInvoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
J groovy.lang.MetaClassImpl.invokeMethod(Ljava/lang/Class;Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;ZZ)Ljava/lang/Object;
J groovy.lang.MetaClassImpl.invokeMethod(Ljava/lang/Class;Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;ZZ)Ljava/lang/Object;
J groovy.lang.Closure.call([Ljava/lang/Object;)Ljava/lang/Object;
j groovy.lang.Closure.call()Ljava/lang/Object;+6
j grails.util.Environment.evaluateEnvironmentSpecificBlock(Lgrails/util/Environment;Lgroovy/lang/Closure;)Lgrails/util/Environment$EnvironmentBlockEvaluator;+16
j grails.util.Environment.executeForEnvironment(Lgrails/util/Environment;Lgroovy/lang/Closure;)Ljava/lang/Object;+8
j grails.util.Environment.executeForCurrentEnvironment(Lgroovy/lang/Closure;)Ljava/lang/Object;+6
j org.codehaus.groovy.grails.commons.DefaultGrailsBootstrapClass.callInit(Ljavax/servlet/ServletContext;)V+23
j org.codehaus.groovy.grails.web.context.GrailsConfigUtils.executeGrailsBootstraps(Lorg/codehaus/groovy/grails/commons/GrailsApplication;Lorg/springframework/web/context/WebApplicationContext;Ljavax/servlet/ServletContext;)V+113
j org.codehaus.groovy.grails.web.context.GrailsContextLoader.initWebApplicationContext(Ljavax/servlet/ServletContext;)Lorg/springframework/web/context/WebApplicationContext;+131
j org.springframework.web.context.ContextLoaderListener.contextInitialized(Ljavax/servlet/ServletContextEvent;)V+28
j org.apache.catalina.core.StandardContext.listenerStart()Z+530
j org.apache.catalina.core.StandardContext.startInternal()V+1187
j org.apache.catalina.util.LifecycleBase.start()V+210
j org.apache.catalina.core.ContainerBase$StartChild.call()Ljava/lang/Void;+4
j org.apache.catalina.core.ContainerBase$StartChild.call()Ljava/lang/Object;+1
j java.util.concurrent.FutureTask$Sync.innerRun()V+30
j java.util.concurrent.FutureTask.run()V+4
j java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Ljava/lang/Runnable;)V+59
j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+28
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub

最佳答案

您可以尝试使用http://maven.springframework.org/snapshot/com/springsource/springloaded/springloaded-core/的快照版本替换springloaded的Java代理

下载http://maven.springframework.org/snapshot/com/springsource/springloaded/springloaded-core/1.1.1.BUILD-SNAPSHOT/springloaded-core-1.1.1.BUILD-20120821.173635-2.jar并将其放在Grails 2.1.0附带的springloaded版本的顶部,即
grails-2.1.0 / lib / com.springsource.springloaded / springloaded-core / jars / springloaded-core-1.0.6.jar

例如:

wget http://maven.springframework.org/snapshot/com/springsource/springloaded/springloaded-core/1.1.1.BUILD-SNAPSHOT/springloaded-core-1.1.1.BUILD-20120821.173635-2.jar
mv springloaded-core-1.1.1.BUILD-20120821.173635-2.jar $GRAILS_HOME/lib/com.springsource.springloaded/springloaded-core/jars/springloaded-core-1.0.6.jar

有一些用户在邮件列表中报告了相同的问题:
http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=search_page&node=1312388&query=%22crucial+check%22&days=0

Springiraed 1.1.1快照中似乎修复了诸如 http://jira.grails.org/browse/GRAILS-9019 / https://issuetracker.springsource.com/browse/STS-2851(关于java.lang.ClassCircularityError)之类的jira问题。

请重新测试快照,并报告一个jira问题以及重现该问题的步骤。您是否有机会在Linux或Windows上测试相同的应用程序?

您也可以删除〜/ .grails / .slcache目录,以确保Springloaded代理具有干净的启动。

关于grails - 跟踪/BPT陷阱:5个正在运行的grails 2.1.0应用-跟踪/BPT陷阱:5,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12251895/

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