IDE compile Error:Module 'application-core' production: java.lang.StringIndexOutOfBoundsException: String index out of range: 43

I'm getting the following message when the app complies:

Error:Module 'application-core' production: java.lang.StringIndexOutOfBoundsException: String index out of range: 43

I have no idea what this means and there is no other error messages as what the problem is.  I cannot compile or run any code so this is a complete roadblock.  At the command line, the project compiles with Maven without any errors so I believe this is an IDE issue. Has anyone seen this before?

6 comments
Comment actions Permalink

What IntelliJ IDEA version? Where do you see this error message? File | Invalidate Caches and IDE restart may help.
If it doesn't help please file an issue in YouTrack with screenshots and idea.log file attached (Help | Show Log).

0
Comment actions Permalink

Version 14.1.4 #UI-141.1532

The message is displayed in the Messages windon when it trys to compile the project. I can't run any code because it won't compile, but I don't see any error specific to the application.  After clicking Make Project, this is what shows up in the log file

2015-09-21 13:39:37,547 [10274555]   INFO - ij.compiler.impl.CompileDriver - COMPILATION STARTED (BUILD PROCESS)
2015-09-21 13:39:37,549 [10274557]   INFO - j.compiler.server.BuildManager - Using preloaded build process to compile /Users/amerlo/Development/wordspring.io
2015-09-21 13:39:39,309 [10276317]   INFO - lij.compiler.impl.CompilerUtil -  COMPILATION FINISHED (BUILD PROCESS); Errors: 1; warnings: 1 took 1758 ms: 0 min 1sec
2015-09-21 13:39:39,913 [10276921]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: /Applications/IntelliJ IDEA 14.app/Contents/lib/jps-launcher.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/lib/tools.jar:/Applications/IntelliJ IDEA 14.app/Contents/lib/optimizedFileManager.jar:/Applications/IntelliJ IDEA 14.app/Contents/lib/ecj-4.4.jar
2015-09-21 13:39:55,502 [10292510]   INFO - ij.compiler.impl.CompileDriver - COMPILATION STARTED (BUILD PROCESS)
2015-09-21 13:39:55,503 [10292511]   INFO - j.compiler.server.BuildManager - Using preloaded build process to compile /Users/amerlo/Development/workspace/wordspring.io
2015-09-21 13:39:56,015 [10293023]   INFO - lij.compiler.impl.CompilerUtil -  COMPILATION FINISHED (BUILD PROCESS); Errors: 0; warnings: 0 took 514 ms: 0 min 0sec

I have already tried restarting.  I also deleted the project files and re-imported the pom, but that didn't help.  I don't know how to invalidate the caches.



Attachment(s):
Screen Shot 2015-09-21 at 13.43.22.png
0
Comment actions Permalink

Invalidate Caches is in File main menu. After that try Build | Rebuild Project. If nothing helps please file an issue in YouTrack and attach idea.log and build-log folder zipped (it is next to idea.log) to the issue.

0
Comment actions Permalink

Thank you for filing the issue. Please also attach build-log folder zipped there (it is next to idea.log file).

0
Comment actions Permalink

Thank you.  The invalidation and restart did not work.  The following was found in the build log.  I attached a compressed build log to the issue.  Please let me know if you need anything else.

2015-09-21 14:10:08,480 [   8347]   INFO - brains.jps.incremental.Builder - Dependency analysis found 0 affected files
2015-09-21 14:10:08,536 [   8403]   INFO - .incremental.IncProjectBuilder - Module 'wordspring-core' production: java.lang.StringIndexOutOfBoundsException: String index out of range: 43
org.jetbrains.jps.incremental.ProjectBuildException: Module 'wordspring-core' production: java.lang.StringIndexOutOfBoundsException: String index out of range: 43
 at org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:971)
 at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:840)
 at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks(IncProjectBuilder.java:663)
 at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:370)
 at org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:191)
 at org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:137)
 at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:293)
 at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:124)
 at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:242)
 at org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:41)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
 at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 43
 at java.lang.String.charAt(String.java:646)
 at org.jetbrains.org.objectweb.asm.signature.SignatureReader.parseType(SignatureReader.java:177)
 at org.jetbrains.org.objectweb.asm.signature.SignatureReader.accept(SignatureReader.java:101)
 at org.jetbrains.jps.builders.java.dependencyView.ClassfileAnalyzer$ClassCrawler.processSignature(ClassfileAnalyzer.java:216)
 at org.jetbrains.jps.builders.java.dependencyView.ClassfileAnalyzer$ClassCrawler.visitMethod(ClassfileAnalyzer.java:414)
 at org.jetbrains.org.objectweb.asm.ClassReader.readMethod(ClassReader.java:911)
 at org.jetbrains.org.objectweb.asm.ClassReader.accept(ClassReader.java:693)
 at org.jetbrains.org.objectweb.asm.ClassReader.accept(ClassReader.java:506)
 at org.jetbrains.jps.builders.java.dependencyView.ClassfileAnalyzer.analyze(ClassfileAnalyzer.java:661)
 at org.jetbrains.jps.builders.java.dependencyView.Mappings$14.associate(Mappings.java:2425)
 at org.jetbrains.jps.builders.java.dependencyView.Mappings$14.associate(Mappings.java:2453)
 at com.intellij.lang.aspectj.build.AjJpsCompiler.processOutput(AjJpsCompiler.java:245)
 at com.intellij.lang.aspectj.build.AjJpsCompiler.build(AjJpsCompiler.java:120)
 at com.intellij.lang.aspectj.build.AjTranslatingBuilder.doBuild(AjTranslatingBuilder.java:111)
 at com.intellij.lang.aspectj.build.AjBuilderBase.build(AjBuilderBase.java:75)
 at org.jetbrains.jps.incremental.IncProjectBuilder.runModuleLevelBuilders(IncProjectBuilder.java:1196)
 at org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(IncProjectBuilder.java:877)
 at org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:945)
 ... 14 more

0

Please sign in to leave a comment.