[jira] [Resolved] (NETBEANS-4362) Code completion leads to unhandled AssertionError
[ https://issues.apache.org/jira/browse/NETBEANS-4362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Lahoda resolved NETBEANS-4362. -- Fix Version/s: 12.0 Resolution: Fixed Fixed by: https://github.com/apache/netbeans/commit/834bd756c5874e142185aa6cd710b9c91daf2789#diff-2cdcfa7152b812ae1b65e290c06c5eeb > Code completion leads to unhandled AssertionError > - > > Key: NETBEANS-4362 > URL: https://issues.apache.org/jira/browse/NETBEANS-4362 > Project: NetBeans > Issue Type: Bug > Components: java - Editor >Affects Versions: 11.3 >Reporter: Michał Miszczuk >Priority: Minor > Fix For: 12.0 > > Attachments: IDE Log.txt > > > During normal usage (typing Java code) NB 11.3, after trying to select a > proper method overload from code completion list an error occurs. Code > completion is invoked on a third-party library (Vert.x). I did not change NB > after installation. > # Selected method is not added to text/content in the editor. > # Choosing other methods from code completion list works only for methods > *without arguments*. > # Restarting NB does not help. > # Reloading the project does not help. > # Closing the project, then restarting NB and reopening the project does not > help. > What helped: deleting current line of code and using code completion on a > native Java class like String (no restrictions here regarding method > arguments). After that code completion started to work again on objects from > third-party library. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-4356) Unneeded/redundant cast added by code completion
[ https://issues.apache.org/jira/browse/NETBEANS-4356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17115451#comment-17115451 ] Ernie Rael commented on NETBEANS-4356: -- I removed the regression label. (it also exhibits this behavior with NB11.3/jdk-1.8/nb-javac) Guess I use instanceof less than I thought. > Unneeded/redundant cast added by code completion > > > Key: NETBEANS-4356 > URL: https://issues.apache.org/jira/browse/NETBEANS-4356 > Project: NetBeans > Issue Type: Bug > Components: editor - Completion & Templates >Affects Versions: 12.0 > Environment: Product Version: Apache NetBeans IDE 12.0-beta4 > Updates: Updates available to version NetBeans 8.2 Patch 2 > Java: 14.0.1; Java HotSpot(TM) 64-Bit Server VM 14.0.1+7 > Runtime: Java(TM) SE Runtime Environment 14.0.1+7 > System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb) >Reporter: Ernie Rael >Priority: Major > Labels: pull-request-available > Attachments: the-example.jar > > Time Spent: 10m > Remaining Estimate: 0h > > Consider the code, caret shown as '|', > {code:java} > static private void xxx(ViMark m) { > if(m instanceof Filemark) { > if(m.getb|) > } > } > {code} > Bring up code completion, it show info for Filemark, not ViMark; that could > be handy in some cases. BTW, ViMark is an interface. Select method > getBuffer() and the result is > {code:java} > if(((Filemark)m).getBuffer()) > {code} > ViMark has a getBuffer method, the cast is bogus. The project is marked 1.8 > source. > I tried it after removing cachedir, still failed. A simple test case works. > I'll try to get a smaller case. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4356) Unneeded/redundant cast added by code completion
[ https://issues.apache.org/jira/browse/NETBEANS-4356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ernie Rael updated NETBEANS-4356: - Labels: pull-request-available (was: regresion) > Unneeded/redundant cast added by code completion > > > Key: NETBEANS-4356 > URL: https://issues.apache.org/jira/browse/NETBEANS-4356 > Project: NetBeans > Issue Type: Bug > Components: editor - Completion & Templates >Affects Versions: 12.0 > Environment: Product Version: Apache NetBeans IDE 12.0-beta4 > Updates: Updates available to version NetBeans 8.2 Patch 2 > Java: 14.0.1; Java HotSpot(TM) 64-Bit Server VM 14.0.1+7 > Runtime: Java(TM) SE Runtime Environment 14.0.1+7 > System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb) >Reporter: Ernie Rael >Priority: Major > Labels: pull-request-available > Attachments: the-example.jar > > Time Spent: 10m > Remaining Estimate: 0h > > Consider the code, caret shown as '|', > {code:java} > static private void xxx(ViMark m) { > if(m instanceof Filemark) { > if(m.getb|) > } > } > {code} > Bring up code completion, it show info for Filemark, not ViMark; that could > be handy in some cases. BTW, ViMark is an interface. Select method > getBuffer() and the result is > {code:java} > if(((Filemark)m).getBuffer()) > {code} > ViMark has a getBuffer method, the cast is bogus. The project is marked 1.8 > source. > I tried it after removing cachedir, still failed. A simple test case works. > I'll try to get a smaller case. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4370) Freeze on yaml file opening
[ https://issues.apache.org/jira/browse/NETBEANS-4370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ghislain G. updated NETBEANS-4370: -- Description: Netbeans editor freeze on valid yaml file with this object as content: {code:yaml} key: string {{ {code} This sample is the minimal file I found to reproduce the freeze. In the output console of netbeans I got a lot of this error message : {noformat} RhtmlLexer - unhandled state : ISI_MUSTACHE {noformat} was: Netbeans editor freeze on valid yaml file with this object as content: {code:yaml} key: string {{ {code} This sample is the minimal file I found to reproduce the freeze. In the output console of netbeans I got a lot ofthis error message : {noformat} RhtmlLexer - unhandled state : ISI_MUSTACHE {noformat} > Freeze on yaml file opening > --- > > Key: NETBEANS-4370 > URL: https://issues.apache.org/jira/browse/NETBEANS-4370 > Project: NetBeans > Issue Type: Bug > Components: yaml - Editor > Environment: OpenJDK 11 > Ubuntu 20.04 > Netbeans 12.0-beta4 >Reporter: Ghislain G. >Priority: Critical > > Netbeans editor freeze on valid yaml file with this object as content: > {code:yaml} > key: string {{ > {code} > > This sample is the minimal file I found to reproduce the freeze. > In the output console of netbeans I got a lot of this error message : > {noformat} > RhtmlLexer - unhandled state : ISI_MUSTACHE > {noformat} > > > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-4370) Freeze on yaml file opening
Ghislain G. created NETBEANS-4370: - Summary: Freeze on yaml file opening Key: NETBEANS-4370 URL: https://issues.apache.org/jira/browse/NETBEANS-4370 Project: NetBeans Issue Type: Bug Components: yaml - Editor Environment: OpenJDK 11 Ubuntu 20.04 Netbeans 12.0-beta4 Reporter: Ghislain G. Netbeans editor freeze on valid yaml file with this object as content: {code:yaml} key: string {{ {code} This sample is the minimal file I found to reproduce the freeze. In the output console of netbeans I got a lot ofthis error message : {noformat} RhtmlLexer - unhandled state : ISI_MUSTACHE {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4369) Dialog doesn't allow navigating to an SDKMAN java platform
[ https://issues.apache.org/jira/browse/NETBEANS-4369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Walter Kruse updated NETBEANS-4369: --- Fix Version/s: (was: 12.0) Next > Dialog doesn't allow navigating to an SDKMAN java platform > -- > > Key: NETBEANS-4369 > URL: https://issues.apache.org/jira/browse/NETBEANS-4369 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.0 > Environment: SDKMAN 5.7.4+362 >Reporter: Walter Kruse >Priority: Major > Fix For: Next > > Attachments: image-2020-05-24-08-52-05-647.png > > > If I want to add a Java platform installed by SDKMAN, which is by default > installed in /home/user/.sdkman/candidates/java/current/bin/java, the dialog > doesn't allow navigation of hidden directories. > !image-2020-05-24-08-52-05-647.png! -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists