java.lang.IllegalStateException: Error loading class java.lang.CharSequence: Error reading path java/lang/CharSequence.class for class java.lang.CharSequence

Spring JIRA | Rob Winch | 4 years ago
  1. 0

    NOTE: Revert commit 23737a45 There are a number of failures when building with JDK 1.8 b89 {code} [ant:iajc] /home/rwinch/git/spring-framework-4.x/spring-aspects/src/main/java/org/springframework/orm/jpa/aspectj/JpaExceptionTranslatorAspect.aj:1 [error] The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files [ant:iajc] (no source information available) [ant:iajc] /home/rwinch/git/spring-framework-4.x/spring-aspects/src/main/java/org/springframework/mock/staticmock/AbstractMethodMockingControl.aj:19 [error] The import java.util.Arrays cannot be resolved [ant:iajc] import java.util.Arrays; [ant:iajc] ^^^^^^^^^^^^^^^ [ant:iajc] /home/rwinch/git/spring-framework-4.x/spring-aspects/src/main/java/org/springframework/mock/staticmock/AbstractMethodMockingControl.aj:87 [error] Arrays cannot be resolved [ant:iajc] if (!Arrays.equals(this.args, args)) { {code} {code} :spring-oxm:compileTestJava Note: /home/rwinch/git/spring-framework-4.x/spring-oxm/src/test/java/org/springframework/oxm/xstream/XStreamMarshallerTests.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. [ant:jibx] Error running binding compiler [ant:jibx] java.lang.IllegalStateException: Error loading class java.lang.CharSequence: Error reading path java/lang/CharSequence.class for class java.lang.CharSequence [ant:jibx] at org.jibx.binding.classes.ClassCache$ClassCacheLocator.getClassInfo(ClassCache.java:291) [ant:jibx] at org.jibx.binding.model.ClassHierarchyContext.accumulateInterfaces(ClassHierarchyContext.java:95) [ant:jibx] at org.jibx.binding.model.ClassHierarchyContext.addTypedComponent(ClassHierarchyContext.java:121) [ant:jibx] at org.jibx.binding.model.DefinitionContext.addFormat(DefinitionContext.java:527) [ant:jibx] at org.jibx.binding.model.BindingElement.defineBaseFormat(BindingElement.java:843) [ant:jibx] at org.jibx.binding.model.BindingElement.runValidation(BindingElement.java:865) [ant:jibx] at org.jibx.binding.model.BindingElement.runValidation(BindingElement.java:899) [ant:jibx] at org.jibx.binding.model.BindingElement.validateBinding(BindingElement.java:969) [ant:jibx] at org.jibx.binding.Utility.validateBinding(Utility.java:226) [ant:jibx] at org.jibx.binding.Utility.loadBinding(Utility.java:269) [ant:jibx] at org.jibx.binding.Utility.loadFileBinding(Utility.java:420) [ant:jibx] at org.jibx.binding.Compile.compile(Compile.java:217) [ant:jibx] at org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248) {code} The workaround is to install build 88 and to set your JAVA_HOME prior to building. You must build from source http://hg.openjdk.java.net/jdk8/jdk8/rev/e1a929afcfc4 If you are not updating these modules, you can also run builds on individual modules. For example, "./gradlew spring-core:build"

    Spring JIRA | 4 years ago | Rob Winch
    java.lang.IllegalStateException: Error loading class java.lang.CharSequence: Error reading path java/lang/CharSequence.class for class java.lang.CharSequence
  2. 0

    NOTE: Revert commit 23737a45 There are a number of failures when building with JDK 1.8 b89 {code} [ant:iajc] /home/rwinch/git/spring-framework-4.x/spring-aspects/src/main/java/org/springframework/orm/jpa/aspectj/JpaExceptionTranslatorAspect.aj:1 [error] The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files [ant:iajc] (no source information available) [ant:iajc] /home/rwinch/git/spring-framework-4.x/spring-aspects/src/main/java/org/springframework/mock/staticmock/AbstractMethodMockingControl.aj:19 [error] The import java.util.Arrays cannot be resolved [ant:iajc] import java.util.Arrays; [ant:iajc] ^^^^^^^^^^^^^^^ [ant:iajc] /home/rwinch/git/spring-framework-4.x/spring-aspects/src/main/java/org/springframework/mock/staticmock/AbstractMethodMockingControl.aj:87 [error] Arrays cannot be resolved [ant:iajc] if (!Arrays.equals(this.args, args)) { {code} {code} :spring-oxm:compileTestJava Note: /home/rwinch/git/spring-framework-4.x/spring-oxm/src/test/java/org/springframework/oxm/xstream/XStreamMarshallerTests.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. [ant:jibx] Error running binding compiler [ant:jibx] java.lang.IllegalStateException: Error loading class java.lang.CharSequence: Error reading path java/lang/CharSequence.class for class java.lang.CharSequence [ant:jibx] at org.jibx.binding.classes.ClassCache$ClassCacheLocator.getClassInfo(ClassCache.java:291) [ant:jibx] at org.jibx.binding.model.ClassHierarchyContext.accumulateInterfaces(ClassHierarchyContext.java:95) [ant:jibx] at org.jibx.binding.model.ClassHierarchyContext.addTypedComponent(ClassHierarchyContext.java:121) [ant:jibx] at org.jibx.binding.model.DefinitionContext.addFormat(DefinitionContext.java:527) [ant:jibx] at org.jibx.binding.model.BindingElement.defineBaseFormat(BindingElement.java:843) [ant:jibx] at org.jibx.binding.model.BindingElement.runValidation(BindingElement.java:865) [ant:jibx] at org.jibx.binding.model.BindingElement.runValidation(BindingElement.java:899) [ant:jibx] at org.jibx.binding.model.BindingElement.validateBinding(BindingElement.java:969) [ant:jibx] at org.jibx.binding.Utility.validateBinding(Utility.java:226) [ant:jibx] at org.jibx.binding.Utility.loadBinding(Utility.java:269) [ant:jibx] at org.jibx.binding.Utility.loadFileBinding(Utility.java:420) [ant:jibx] at org.jibx.binding.Compile.compile(Compile.java:217) [ant:jibx] at org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248) {code} The workaround is to install build 88 and to set your JAVA_HOME prior to building. You must build from source http://hg.openjdk.java.net/jdk8/jdk8/rev/e1a929afcfc4 If you are not updating these modules, you can also run builds on individual modules. For example, "./gradlew spring-core:build"

    Spring JIRA | 4 years ago | Rob Winch
    java.lang.IllegalStateException: Error loading class java.lang.CharSequence: Error reading path java/lang/CharSequence.class for class java.lang.CharSequence
  3. 0

    app-misc/freemind-1.0.1 - .../work/freemind/build.xml:99: JiBXException in JiBX binding compilation

    http://bugs.gentoo.org/ | 2 years ago | cornicx
    java.lang.IllegalStateException: Internal error: instance signatures not found for class java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Failed to execute goal org.jibx:maven-jibx-plugin:1.2.6:bind when upgrading from Java 1.6 to 1.8

    Stack Overflow | 1 month ago | ScrappyDev
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jibx:maven-jibx-plugin:1.2.6:bind (default) on project xxxx-core: Error loading class java.lang.CharSequence: Error reading path java/lang/CharSequence. class for class java.lang.CharSequence
  6. 0

    Exception on compiling project: "Error types are not allowed"

    YouTrack | 2 years ago
    org.jetbrains.jet.codegen.CompilationException: Back-end (JVM) Internal error: Error types are not allowed when classBuilderMode = FULL. Type: ('[ERROR : Unresolved java classifier: BodyResolveMode]'..'[ERROR : Unresolved java classifier: BodyResolveMode]?') (DelegatingFlexibleType). Descriptor: <ERROR CLASS>. For declaration null:null in null:null Cause: Error types are not allowed when classBuilderMode = FULL. Type: ('[ERROR : Unresolved java classifier: BodyResolveMode]'..'[ERROR : Unresolved java classifier: BodyResolveMode]?') (DelegatingFlexibleType). Descriptor: <ERROR CLASS>. For declaration null:null in null:null File being compiled and position: (54,61) in /Users/valentin/Work/Kotlin/idea/idea-analysis/src/org/jetbrains/jet/plugin/caches/resolve/KotlinCacheService.kt PsiElement: resolveToElement(element, bodyResolveMode) The root cause was thrown at: JetTypeMapper.java:258

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Error loading class java.lang.CharSequence: Error reading path java/lang/CharSequence.class for class java.lang.CharSequence

      at org.jibx.binding.classes.ClassCache$ClassCacheLocator.getClassInfo()
    2. jibx-bind - JiBX binding
      CompileTask.execute
      1. org.jibx.binding.classes.ClassCache$ClassCacheLocator.getClassInfo(ClassCache.java:291)
      2. org.jibx.binding.model.ClassHierarchyContext.accumulateInterfaces(ClassHierarchyContext.java:95)
      3. org.jibx.binding.model.ClassHierarchyContext.addTypedComponent(ClassHierarchyContext.java:121)
      4. org.jibx.binding.model.DefinitionContext.addFormat(DefinitionContext.java:527)
      5. org.jibx.binding.model.BindingElement.defineBaseFormat(BindingElement.java:843)
      6. org.jibx.binding.model.BindingElement.runValidation(BindingElement.java:865)
      7. org.jibx.binding.model.BindingElement.runValidation(BindingElement.java:899)
      8. org.jibx.binding.model.BindingElement.validateBinding(BindingElement.java:969)
      9. org.jibx.binding.Utility.validateBinding(Utility.java:226)
      10. org.jibx.binding.Utility.loadBinding(Utility.java:269)
      11. org.jibx.binding.Utility.loadFileBinding(Utility.java:420)
      12. org.jibx.binding.Compile.compile(Compile.java:217)
      13. org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
      13 frames