jdk 1.6_02 broke my project

Hey,

Anyone has any idea what the hell happened?

I let sun (stupidly) update the same jdk1.6 folder I had previously with their 1.6_02 update.

Now IntelliJ 6.0.5 can no longer build my project.
I tried removing/adding the jdk folder in.
It copies the additional files into the tree just fine. Just can't create class files. It d/n display errors, just comes back instantly as if it was done.

ant (not tied to IntelliJ) works just fine.

>Dmitry Jemerov
>IntelliJ IDEA doesn't run javac through the command
>line, so it's not possible to see the command line

parameters.


Perhaps they changed how compiler is to be launched!? (in which case, it'd be nice to see the errors etc).

Any help would be great on this.

0
5 comments
Avatar
Permanently deleted user

Hello Alex,

Anyone has any idea what the hell happened?

I let sun (stupidly) update the same jdk1.6 folder I had previously
with their 1.6_02 update.

Now IntelliJ 6.0.5 can no longer build my project.

I tried removing/adding the jdk folder in.

It copies the additional files into the tree just fine. Just can't
create class files. It d/n display errors, just comes back instantly
as if it was done.

Any help would be great on this.


Are there any exceptions in idea.log?

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Nope, just this:

2007-08-16 16:03:19,312 INFO - .javaCompiler.ExternalCompiler - Running compiler: G:\comp\jdk1.6\bin\java -Xmx128m -Dfile.encoding=windows-1252 -Duser.language=en -Duser.country=US -classpath G:\comp\jdk1.6\lib\tools.jar;G:\comp\intellij\lib\idea_rt.jar com.intellij.rt.compiler.JavacRunner "java version "1.6.0_02"" com.sun.tools.javac.Main -source 1.5 -verbose -bootclasspath @C:\Documents and Settings\Administrator.VINNI\Local Settings\Temp\javac_bootcp43281.tmp -classpath @C:\Documents and Settings\Administrator.VINNI\Local Settings\Temp\javac_cp43282.tmp -sourcepath "" -d G:\JClaim\java\classes -g -deprecation @C:\Documents and Settings\Administrator.VINNI\Local Settings\Temp\javac43283.tmp

Amd the temp files are gone, of course.

0

I donno if this makes any diff, BUT:
installed IJ 7.M2

Now when I try to compile it says:
Error: Error: Argument 3 for @NotNull parameter of com/intellij/util/io/ByteBufferIntObjectMap.]]> must not be null

0

OK,
Here's the problem:

1.6_02 has a broken installer.

I figured wth and downloaded a full install for 1.6_02 and installed it into a clean folder (thinking maybe some /ext stuff was screweing it up, who knows).

I ended up with a folder which didn't even have a /bin folder (but lots of other stuff).

Installing again (from scratch) got me a full install (I hope).

Good luck, y'all.

0
Avatar
Permanently deleted user

I saw this too when running maven target in 7.0M2, full trace is :

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:25)
at com.intellij.psi.impl.cache.impl.idCache.ImmutableIdCacheImpl.processFilesWithWord(ImmutableIdCacheImpl.java:56)
at com.intellij.psi.impl.cache.impl.idCache.IdCacheImpl.processFilesWithWord(IdCacheImpl.java:47)
at com.intellij.psi.impl.cache.impl.CacheManagerImpl.processFilesWithWord(CacheManagerImpl.java:6)
at com.intellij.psi.impl.cache.impl.CompositeCacheManager.processFilesWithWord(CompositeCacheManager.java:20)
at com.intellij.psi.impl.cache.impl.CompositeCacheManager.getFilesWithWord(CompositeCacheManager.java:18)
at com.intellij.psi.impl.search.PsiSearchHelperImpl.findFormsBoundToClass(PsiSearchHelperImpl.java:98)
at com.intellij.uiDesigner.binding.FormReferenceProvider.getFormReference(FormReferenceProvider.java:77)
at com.intellij.uiDesigner.binding.FormReferenceProvider.getFormFile(FormReferenceProvider.java:65)
at com.intellij.uiDesigner.binding.FormClassAnnotator.annotate(FormClassAnnotator.java:30)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitElement(HighlightVisitorImpl.java:176)
at com.intellij.psi.JavaElementVisitor.visitVariable(JavaElementVisitor.java:336)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitVariable(HighlightVisitorImpl.java:219)
at com.intellij.psi.JavaElementVisitor.visitField(JavaElementVisitor.java:136)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitField(HighlightVisitorImpl.java:209)
at com.intellij.psi.impl.source.PsiFieldImpl.accept(PsiFieldImpl.java:122)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:14)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:173)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:82)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:15)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:66)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:13)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:180)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:2)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:73)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:10)
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)

0

Please sign in to leave a comment.