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: NetBeans IDE Dev (Build 20130219-642ec2412e68) VM: OpenJDK 64-Bit Server VM, 23.2-b09, OpenJDK Runtime Environment, 1.7.0_07-b30 OS: Linux Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.code.Types.glb(Types.java:3492) at com.sun.tools.javac.comp.Infer$InferenceStep$3.solve(Infer.java:965) at com.sun.tools.javac.comp.Infer$InferenceStep$4.solve(Infer.java:987) at com.sun.tools.javac.comp.Infer$InferenceContext.solveBasic(Infer.java:1598) at com.sun.tools.javac.comp.Infer$InferenceContext.solveBasic(Infer.java:1589) at com.sun.tools.javac.comp.Infer$InferenceContext.solveLegacy(Infer.java:1616)
Created attachment 131592 [details] stacktrace
Created attachment 134709 [details] stacktrace initial scanning
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=198783
Created attachment 134739 [details] stacktrace Mercurial history window for a Java file.
Created attachment 134767 [details] stacktrace writing java generics code
Created attachment 134784 [details] stacktrace during scanning
Created attachment 134939 [details] stacktrace during scanning
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=198783
The exception also happens in the current dev build 201306100004. java.lang.NullPointerException at com.sun.tools.javac.code.Types.glb(Types.java:3478) at com.sun.tools.javac.comp.Infer$InferenceStep$3.solve(Infer.java:974) at com.sun.tools.javac.comp.Infer$InferenceStep$4.solve(Infer.java:996) at com.sun.tools.javac.comp.Infer$InferenceContext.solveBasic(Infer.java:1604) at com.sun.tools.javac.comp.Infer$InferenceContext.solveBasic(Infer.java:1595) at com.sun.tools.javac.comp.Infer$InferenceContext.solveLegacy(Infer.java:1622) at com.sun.tools.javac.comp.Infer.instantiateMethod(Infer.java:188) at com.sun.tools.javac.comp.Resolve.rawInstantiate(Resolve.java:564) at com.sun.tools.javac.comp.Resolve.checkMethod(Resolve.java:592) at com.sun.tools.javac.comp.Attr.checkMethod(Attr.java:3853) at com.sun.tools.javac.comp.Attr.checkIdInternal(Attr.java:3654) at com.sun.tools.javac.comp.Attr.checkMethodIdInternal(Attr.java:3555) at com.sun.tools.javac.comp.Attr.checkMethodId(Attr.java:3533) at com.sun.tools.javac.comp.Attr.checkId(Attr.java:3521) at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:3404) at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1886) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:611) at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1857) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1463) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:611) at com.sun.tools.javac.comp.Attr.visitReturn(Attr.java:1719) at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1382) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:611) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:656) at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:672) at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1163) at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:82) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:907) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:611) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:656) at com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:1045) at org.netbeans.lib.nbjavac.services.NBAttr.visitMethodDef(NBAttr.java:76) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:776) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:611) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:656) at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:4377) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4274) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4208) at com.sun.tools.javac.comp.Attr.attrib(Attr.java:4182) at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1288) at com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:473) at com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:623) at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:476) [catch] at org.netbeans.modules.java.source.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:272) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:237) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:161) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:282) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:159) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2601) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$1300(RepositoryUpdater.java:2066) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2491) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2489) at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:544) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2489) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.scanFiles(RepositoryUpdater.java:3078) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:3533) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3194) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:5617) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4800(RepositoryUpdater.java:5283) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$3$1.run(RepositoryUpdater.java:5542) at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:96) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$3.call(RepositoryUpdater.java:5538) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$3.call(RepositoryUpdater.java:5534) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:74) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:5534) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042) ----- Product Version: NetBeans IDE Dev (Build 201306100004) Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02 System: Windows XP version 5.1 running on x86; Cp1252; de_DE (nb)
Created attachment 135835 [details] stacktrace just open a previously cloned maven project (https://github.com/SpringSource/spring-data-neo4j.git) and launch a clean and build in order to have all dependencies and begin to work.
Created attachment 135969 [details] stacktrace Source scanning.
Created attachment 136030 [details] stacktrace This error occurred when loading NetBeans 7.4 with a couple of Maven projects open and the source code for NetBeans open as a project.
Created attachment 136488 [details] stacktrace nothing i did
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=198783
Created attachment 136575 [details] stacktrace find usages
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/b81a01e6f177 http://hg.netbeans.org/main/nb-javac/rev/b24639e7799d
Integrated into 'main-silver', will be available in build *201307112300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b81a01e6f177 User: Dusan Balek <dbalek@netbeans.org> Log: Issues #226375 and #231971 fixed.