lkishalmi opened a new pull request, #5249:
URL: https://github.com/apache/netbeans/pull/5249
Well, I've bumped into this one today:
```
java.lang.NullPointerException: Cannot invoke "java.util.List.isEmpty()"
because "type" is null
at
org.netbeans.modules.java.hints.perf.Tiny.getDestinationType(Tiny.java:537)
at
org.netbeans.modules.java.hints.perf.Tiny.unnecessaryTempFromString(Tiny.java:488)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
```
This is a trivial patch for that. I've checked the invocations of
`resolveType(...)` it seems that the return value is checked for `null` at
other places.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
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