Error compiling

Here is the output of a compilation

Information:Compilation completed with 1 error and 2 warnings
Information:1 error
Information:2 warnings
Error:Error: Argument 3 for @NotNull parameter of com/intellij/util/io/ByteBufferIntObjectMap.]]> must not be null
Warning:Note: Recompile with -Xlint:unchecked for details.
C:\Documents and Settings\A6253567.HBEU\sandboxes\MI_logging\log4j-hsbc-spring\src\test\java\com\hsbc\esf\logging\appenders\JMSListener.java
Warning:Warning:Note: C:\Documents and Settings\A6253567.HBEU\sandboxes\MI_logging\log4j-hsbc-spring\src\test\java\com\hsbc\esf\logging\appenders\JMSListener.java uses unchecked or unsafe operations.

Note the Error line

looking at the idea log i can see the following

2007-06-20 10:33:35,444 INFO - .javaCompiler.ExternalCompiler - Running compiler: C:\Program Files\Java\jdk1.5.0_06\bin\java -Xmx128m -Dfile.encoding=windows-1252 -Duser.language=fr -Duser.country=FR -classpath C:\Program Files\Java\jdk1.5.0_06\lib\tools.jar;C:\Documents and Settings\A6253567.HBEU\Progs\JetBrains\IntelliJ IDEA 7020\lib\idea_rt.jar com.intellij.rt.compiler.JavacRunner "java version "1.5.0_06"" com.sun.tools.javac.Main -source 1.5 -verbose -bootclasspath @C:\Documents and Settings\A6253567.HBEU\Local Settings\Temp\javac_bootcp30578.tmp -classpath @C:\Documents and Settings\A6253567.HBEU\Local Settings\Temp\javac_cp30579.tmp -sourcepath "" -d C:\Documents and Settings\A6253567.HBEU\sandboxes\MI_logging\async-appender\target\classes -g -deprecation @C:\Documents and Settings\A6253567.HBEU\Local Settings\Temp\javac30580.tmp
2007-06-20 10:33:37,738 ERROR - l.idCache.ImmutableIdCacheImpl -
java.io.FileNotFoundException: C:\Documents and Settings\A6253567.HBEU\.IntelliJIdea70\system\caches\MI_logging.2cedde89.0_log4je1662a00\idcache (L'opération demandée n'a pu s'accomplir sur un fichier ayant une section mappée utilisateur ouverte)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:179) at java.io.FileOutputStream.]]>(FileOutputStream.java:131)
at com.intellij.psi.impl.cache.impl.idCache.ImmutableIdCacheImpl$MyInitializer$MyUpdatingCacheUpdater.updatingDone(ImmutableIdCacheImpl.java:46)
at com.intellij.psi.impl.cache.impl.idCache.ImmutableIdCacheImpl$MyInitializer.updatingDone(ImmutableIdCacheImpl.java:56)
at com.intellij.psi.impl.cache.impl.CacheManagerImpl$4.updatingDone(CacheManagerImpl.java:4)
at com.intellij.ide.startup.FileSystemSynchronizer.updateFiles(FileSystemSynchronizer.java:175)
at com.intellij.ide.startup.FileSystemSynchronizer.execute(FileSystemSynchronizer.java:58)
at com.intellij.psi.impl.cache.impl.CacheManagerImpl.a(CacheManagerImpl.java:149)
at com.intellij.psi.impl.cache.impl.CacheManagerImpl.processFilesWithWord(CacheManagerImpl.java:140)
at com.intellij.psi.impl.cache.impl.CompositeCacheManager.processFilesWithWord(CompositeCacheManager.java:3)
at com.intellij.psi.impl.search.PsiSearchHelperImpl.processAllFilesWithWord(PsiSearchHelperImpl.java:51)
at com.intellij.compiler.notNullVerification.NotNullVerifyingCompiler$1.run(NotNullVerifyingCompiler.java:0)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:37)
at com.intellij.compiler.notNullVerification.NotNullVerifyingCompiler.getProcessingItems(NotNullVerifyingCompiler.java:36)
at com.intellij.compiler.impl.FileProcessingCompilerAdapter.getProcessingItems(FileProcessingCompilerAdapter.java:5)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:436)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:118)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:759)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:441)
at com.intellij.compiler.impl.CompileDriver.access$600(CompileDriver.java:342)
at com.intellij.compiler.impl.CompileDriver$6.run(CompileDriver.java:5)
at com.intellij.compiler.progress.CompilerTask.run(CompilerTask.java:15)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$5.run(ProgressManagerImpl.java:2)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:2)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:82)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:29)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:9)
at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:6)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:5)
2007-06-20 10:33:37,748 ERROR - l.idCache.ImmutableIdCacheImpl - IntelliJ IDEA (Selena) #7020 Build #7020
2007-06-20 10:33:37,748 ERROR - l.idCache.ImmutableIdCacheImpl - JDK: 1.5.0_07
2007-06-20 10:33:37,748 ERROR - l.idCache.ImmutableIdCacheImpl - VM: Java HotSpot(TM) Client VM
2007-06-20 10:33:37,748 ERROR - l.idCache.ImmutableIdCacheImpl - Vendor: Sun Microsystems Inc.
2007-06-20 10:33:37,748 ERROR - l.idCache.ImmutableIdCacheImpl - OS: Windows 2000
2007-06-20 10:33:37,748 ERROR - l.idCache.ImmutableIdCacheImpl - Last Action: CompileProject
2007-06-20 10:33:37,778 ERROR - l.idCache.ImmutableIdCacheImpl -

(several of these)

And then

2007-06-20 10:33:37,838 ERROR - l.idCache.ImmutableIdCacheImpl - Last Action: CompileProject
2007-06-20 10:33:37,898 ERROR - ij.compiler.impl.CompileDriver -
java.lang.IllegalArgumentException: Argument 3 for @NotNull parameter of com/intellij/util/io/ByteBufferIntObjectMap. must not be null at com.intellij.util.io.ByteBufferIntObjectMap.]]>(ByteBufferIntObjectMap.java)
at com.intellij.psi.impl.cache.impl.idCache.ImmutableIdCacheImpl.a(ImmutableIdCacheImpl.java:37)
at com.intellij.psi.impl.cache.impl.idCache.ImmutableIdCacheImpl.processFilesWithWord(ImmutableIdCacheImpl.java:24)
at com.intellij.psi.impl.cache.impl.idCache.IdCacheImpl.processFilesWithWord(IdCacheImpl.java:4)
at com.intellij.psi.impl.cache.impl.CacheManagerImpl.processFilesWithWord(CacheManagerImpl.java:37)
at com.intellij.psi.impl.cache.impl.CompositeCacheManager.processFilesWithWord(CompositeCacheManager.java:3)
at com.intellij.psi.impl.search.PsiSearchHelperImpl.processAllFilesWithWord(PsiSearchHelperImpl.java:51)
at com.intellij.compiler.notNullVerification.NotNullVerifyingCompiler$1.run(NotNullVerifyingCompiler.java:0)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:37)
at com.intellij.compiler.notNullVerification.NotNullVerifyingCompiler.getProcessingItems(NotNullVerifyingCompiler.java:36)
at com.intellij.compiler.impl.FileProcessingCompilerAdapter.getProcessingItems(FileProcessingCompilerAdapter.java:5)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:436)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:118)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:759)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:441)
at com.intellij.compiler.impl.CompileDriver.access$600(CompileDriver.java:342)
at com.intellij.compiler.impl.CompileDriver$6.run(CompileDriver.java:5)
at com.intellij.compiler.progress.CompilerTask.run(CompilerTask.java:15)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$5.run(ProgressManagerImpl.java:2)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:2)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:82)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:29)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:9)
at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:6)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:5)
2007-06-20 10:33:37,898 ERROR - ij.compiler.impl.CompileDriver - IntelliJ IDEA (Selena) #7020 Build #7020
2007-06-20 10:33:37,898 ERROR - ij.compiler.impl.CompileDriver - JDK: 1.5.0_07
2007-06-20 10:33:37,898 ERROR - ij.compiler.impl.CompileDriver - VM: Java HotSpot(TM) Client VM
2007-06-20 10:33:37,898 ERROR - ij.compiler.impl.CompileDriver - Vendor: Sun Microsystems Inc.
2007-06-20 10:33:37,898 ERROR - ij.compiler.impl.CompileDriver - OS: Windows 2000
2007-06-20 10:33:37,898 ERROR - ij.compiler.impl.CompileDriver - Last Action: CompileProject


I'll try deleting the caches, see if that helps

1 comment

deleting both caches and compiler folder contents in IDEA\system solved the problem

0

Please sign in to leave a comment.