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 242427 - IllegalStateException: Unknown variable
Summary: IllegalStateException: Unknown variable
Status: RESOLVED INCOMPLETE
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-27 18:24 UTC by Jesse Glick
Modified: 2014-09-03 04:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 208024


Attachments
stacktrace (1.81 KB, text/plain)
2014-02-27 18:24 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2014-02-27 18:24:25 UTC
Build: NetBeans IDE Dev (Build 20140219-56d93f8aa028)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Linux

User Comments:
jglick: Trying to use declarative hints. Keeps on either not finding legitimate matches, or giving me this error.




Stacktrace: 
java.lang.IllegalStateException: Unknown variable
   at org.netbeans.modules.java.hints.declarative.conditionapi.Context.variableForName(Context.java:167)
   at org.netbeans.modules.java.hints.declarative.Condition$Instanceof.holds(Condition.java:88)
   at org.netbeans.modules.java.hints.declarative.DeclarativeHintsWorker.createErrors(DeclarativeHintsWorker.java:124)
   at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:790)
   at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:567)
   at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:294)
Comment 1 Jesse Glick 2014-02-27 18:24:27 UTC
Created attachment 145643 [details]
stacktrace
Comment 2 Svata Dedic 2014-08-14 14:40:13 UTC
Could you please attach the declarative hint definition, or your NetBeans IDE (or project) options, so I can get the hint definition ? Thanks.
Comment 3 Jesse Glick 2014-09-03 04:17:40 UTC
Long since lost the context, but surely the ISE should include more diagnostic information for the future?