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.

Bug 257786

Summary: com.sun.tools.javac.comp.Infer$InferenceException at com.sun.tools.javac.comp.Infer.<init>
Product: java Reporter: locked <locked>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: JayChristopher, terje7601
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 211225
Attachments: stacktrace

Description locked 2016-01-31 17:04:00 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 8

User Comments:
GUEST: Day to day dev work, nothing special.

GUEST: Developping JavaFX Maven application

GUEST: Can`t parse the file.

terje7601: Working on Java code with lambdas & Stream API

GUEST: I'm unsure what caused this, I think I was working with lambda expressions when the error was thrown. Things seemed fine, I wouldn't have noticed anything was wrong until I saw the notification of the error.

Locked: .max(Double::compare)
                            .get()

JayChristopher: Editing code

GUEST: Not sure




Stacktrace: 
com.sun.tools.javac.comp.Infer$InferenceException
   at com.sun.tools.javac.comp.Infer.<init>(Infer.java:94)
   at com.sun.tools.javac.comp.Infer.instance(Infer.java:81)
   at com.sun.tools.javac.comp.Attr.<init>(Attr.java:119)
   at org.netbeans.lib.nbjavac.services.NBAttr.<init>(NBAttr.java:63)
   at org.netbeans.lib.nbjavac.services.NBAttr$1.make(NBAttr.java:55)
   at org.netbeans.lib.nbjavac.services.NBAttr$1.make(NBAttr.java:53)
Comment 1 locked 2016-01-31 17:04:03 UTC
Created attachment 158312 [details]
stacktrace