Ernie Rael created NETBEANS-4276:
------------------------------------

             Summary: hint: ClassCastException: JCMethodInvocation not cast to 
StatementTree 
                 Key: NETBEANS-4276
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4276
             Project: NetBeans
          Issue Type: Bug
          Components: java - Hints
    Affects Versions: 12.0
         Environment: repo build with commits as of 4/28; jdk14.0.1; win7
            Reporter: Ernie Rael
            Assignee: Jan Lahoda
         Attachments: RefactorReflect.zip, messages.log

Attached a simple single java file project that causes the problem. message.log 
with Exception also attached. Probably comes down to these lines:

{code:java}
      Field f = OptUtil1.class.getDeclaredField("baz");
      f.setInt(null, 123);
{code}

Using a custom hint; issue2.hint is in the project at top level. Fails both 
with clicking on bulb and inspect&transform.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to