This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[ BUILD # : 090330 ] [ JDK VERSION : 1.6.* ] I started 090330 against a clean userdir and chose to import settings from my 6.5 installation. The IDE opened, but during project scanning I was greeted with a slew of exceptions. (From the about dialog): Product Version: NetBeans IDE Dev (Build 090330) Java: 1.6.0_11; Java HotSpot(TM) Client VM 11.0-b16 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: C:\tmp\nb67daily From the message log which I cannot attach, sorry (there is one such stack trace per open project): Even thought the source level is set to: 1.6, 'java.lang.AssertionError' class cannot be found on the bootclasspath: Changing source level to 1.3WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: OnePassCompileWorker caused an exception File: file:/.... Root: .... Bootpath: Classpath: .... com.sun.tools.javac.util.MissingPlatformError: Fatal Error: Unable to find package java.lang in classpath or bootclasspath at com.sun.tools.javac.comp.MemberEnter.importAll(MemberEnter.java:158) at com.sun.tools.javac.comp.MemberEnter.visitTopLevel(MemberEnter.java:55 7) at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:4 50) at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:427) at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:968) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:405) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:800) at com.sun.tools.javac.comp.Enter.complete(Enter.java:646) at com.sun.tools.javac.comp.Enter.main(Enter.java:624) at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:897 ) at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:367) at com.sun.tools.javac.api.JavacTaskImpl.enterTrees(JavacTaskImpl.java:40 6) [catch] at org.netbeans.modules.java.source.indexing.OnePassCompileWorker.compile (OnePassCompileWorker.java:156) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1$1.run(Ja vaCustomIndexer.java:133) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1$1.run(Ja vaCustomIndexer.java:119) at org.netbeans.modules.java.source.tasklist.TaskCache.refreshTransaction (TaskCache.java:464) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(Java CustomIndexer.java:119) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(Java CustomIndexer.java:117) at org.netbeans.modules.java.source.usages.ClassIndexManager.writeLock(Cl assIndexManager.java:100) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(Java CustomIndexer.java:117) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(I ndexable.java:141) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.inde x(RepositoryUpdater.java:692) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork .scanSource(RepositoryUpdater.java:1145) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork .scanSources(RepositoryUpdater.java:1122) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork .getDone(RepositoryUpdater.java:950) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$1.getDone (RepositoryUpdater.java:558) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTh eWork(RepositoryUpdater.java:737) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run (RepositoryUpdater.java:1276) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run( RepositoryUpdater.java:1251) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(Tas kProcessor.java:601) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441 ) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecu tor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. java:908) at java.lang.Thread.run(Thread.java:619) INFO [org.netbeans.modules.uihandler.Installer]: findIdentity: 4345fe86-c386-420e-bc4b-03acd0d63c84_6bd65b24-90c9-48e0-9a26-20c9ccefb cfc WARNING [org.openide.filesystems.Ordering]: Not all children in Toolbars/ marked with the position attribute: [Test], but some are: [File, Clipboard, UndoRedo, Build, Debug, Memory, QuickSearch, Standard.xml, Debugging.xml]
There is another type of exception even before "Turning on modules": Even thought the source level is set to: 1.6, 'java.lang.AssertionError' class cannot be found on the bootclasspath: Changing source level to 1.3Even thought the source level is set to: 1.6, 'java.lang.AssertionError' class cannot be found on the bootclasspath: Changing source level to 1.3Even thought the source level is set to: 1.6, 'java.lang.AssertionError' class cannot be found on the bootclasspath: Changing source level to 1.3Even thought the source level is set to: 1.6, 'java.lang.AssertionError' class cannot be found on the bootclasspath: Changing source level to 1.3Even thought the source level is set to: 1.6, 'java.lang.AssertionError' class cannot be found on the bootclasspath: Changing source level to 1.3INFO [org.netbeans.modules.websvc.core.WSStackUtils]: Failed to find J2eePlatform org.netbeans.modules.j2ee.deployment.devmodules.api.InstanceRemovedException: tomcat60:home=C:\apps\tomcat6:base=apache-tomcat-6.0.18_base at org.netbeans.modules.j2ee.deployment.devmodules.api.ServerInstance.getInstanceFromRegistry(ServerInstance.java:207) at org.netbeans.modules.j2ee.deployment.devmodules.api.ServerInstance.getJ2eePlatform(ServerInstance.java:139) [catch] at org.netbeans.modules.websvc.core.WSStackUtils.getJ2eePlatform(WSStackUtils.java:88) at org.netbeans.modules.websvc.core.WSStackUtils.<init>(WSStackUtils.java:79)
It doesn't seem to be related to import of settings. Isn't new IDE installation somehow misconfigured? At least beginning of log file would be helpful. Could you try to run IDE with a clean userdir, not import settings and open your project? Passing to java for evaluation because exceptions are from indexing.
*** This issue has been marked as a duplicate of 160298 ***