java.lang.IllegalStateException: Import reference alongside class com.amx.rms.scheduling.model.ResourceProfile will trigger later failure: org.crsh.cli.Command declSourceStart=2 declEnd=-1

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via SpringSource Issue Tracker by Adam Harris, 1 year ago
Import reference alongside class com.amx.rms.scheduling.model.ResourceProfile will trigger later failure: org.crsh.cli.Command declSourceStart=2 declEnd=-1
via SpringSource Issue Tracker by Adam Harris, 1 year ago
Import reference alongside class com.amx.rms.scheduling.model.ResourceProfile will trigger later failure: org.crsh.cli.Command declSourceStart=2 declEnd=-1
via SpringSource Issue Tracker by John Sullivan, 1 year ago
Import reference alongside class MailInfo will trigger later failure: org.crsh.command.ScriptException declSourceStart=2 declEnd=-1
via SpringSource Issue Tracker by John Sullivan, 1 year ago
Import reference alongside class MailInfo will trigger later failure: org.crsh.command.ScriptException declSourceStart=2 declEnd=-1
java.lang.IllegalStateException: Import reference alongside class com.amx.rms.scheduling.model.ResourceProfile will trigger later failure: org.crsh.cli.Command declSourceStart=2 declEnd=-1
at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.createImports(GroovyCompilationUnitDeclaration.java:384)
at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.populateCompilationUnitDeclaration(GroovyCompilationUnitDeclaration.java:277)
at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyParser.dietParse(GroovyParser.java:458)
at org.eclipse.jdt.internal.compiler.Compiler.accept(Compiler.java:339)
at org.eclipse.jdt.core.dom.CompilationUnitResolver.accept(CompilationUnitResolver.java:177)
at org.eclipse.jdt.core.dom.CompilationUnitResolver.accept(CompilationUnitResolver.java:173)
at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:175)
at org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(PackageBinding.java:201)
at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.findImport(CompilationUnitScope.java:548)
at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.findSingleImport(CompilationUnitScope.java:613)
at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.resolveSingleImport(CompilationUnitScope.java:830)
at org.eclipse.jdt.internal.compiler.lookup.Scope.getTypeOrPackage(Scope.java:3322)
at org.eclipse.jdt.internal.compiler.lookup.Scope.getType(Scope.java:3049)
at org.eclipse.jdt.internal.compiler.ast.SingleTypeReference.getTypeBinding(SingleTypeReference.java:50)
at org.eclipse.jdt.internal.compiler.ast.TypeReference.internalResolveType(TypeReference.java:466)
at org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveType(TypeReference.java:565)
at org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveTypeArgument(TypeReference.java:583)
at org.eclipse.jdt.internal.compiler.ast.ParameterizedSingleTypeReference.internalResolveLeafType(ParameterizedSingleTypeReference.java:234)
at org.eclipse.jdt.internal.compiler.ast.ParameterizedSingleTypeReference.internalResolveType(ParameterizedSingleTypeReference.java:143)
at org.eclipse.jdt.internal.compiler.ast.ParameterizedSingleTypeReference.resolveType(ParameterizedSingleTypeReference.java:359)
at org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveSuperType(TypeReference.java:543)
at org.eclipse.jdt.internal.compiler.lookup.ClassScope.findSupertype(ClassScope.java:1300)
at org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectSuperInterfaces(ClassScope.java:1063)
at org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java:1121)
at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.connectTypeHierarchy(CompilationUnitScope.java:374)
at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:231)
at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:804)
at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:396)
at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:1161)
at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:713)
at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1183)
at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:537)
at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:480)
at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:128)
at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:170)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.