[jira] [Created] (NETBEANS-1022) Add support for c++17 structured bindings
Otis Burg created NETBEANS-1022: --- Summary: Add support for c++17 structured bindings Key: NETBEANS-1022 URL: https://issues.apache.org/jira/browse/NETBEANS-1022 Project: NetBeans Issue Type: New Feature Components: cnd - Code Model Reporter: Otis Burg Attachments: Netbeans cpp17 structured bindings.png [C++17 structured bindings|https://en.cppreference.com/w/cpp/language/structured_binding] aren't yet supported in Netbeans. The editor shows syntax errors when structured bindings are used (see attachment). My Netbeans environment info: Product Version: NetBeans IDE Dev (Build 20180422) Java: 1.8.0_171; OpenJDK 64-Bit Server VM 25.171-b11 Runtime: OpenJDK Runtime Environment 1.8.0_171-8u171-b11-0ubuntu0.16.04.1-b11 System: Linux version 4.4.0-21-generic running on amd64; UTF-8; en_US (nb) User directory: /home/ob/.netbeans/dev Cache directory: /home/ob/.cache/netbeans/dev -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1021) Convert to explicit type hint throws exception for invalid lambda params types
[ https://issues.apache.org/jira/browse/NETBEANS-1021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16532278#comment-16532278 ] Reema Taneja commented on NETBEANS-1021: Also check (var x, y) , (x, var y), (int x, var y, z) etc > Convert to explicit type hint throws exception for invalid lambda params types > -- > > Key: NETBEANS-1021 > URL: https://issues.apache.org/jira/browse/NETBEANS-1021 > Project: NetBeans > Issue Type: Task >Reporter: Reema Taneja >Assignee: Reema Taneja >Priority: Minor > > Convert to explicit type hint throws below exception if lambda expression > uses a mix of explicit and implicit var type((support added in jdk11)) params. > Eg. IntBinaryOperator op = (int x, var y) -> x+ y; > If lambda expr params are like (int x, y), i.e. mix of explicit and implicit > params, Convert to > explicit type hint is not shown. > Investigate if we can convert to explicit type for all mixed types params > containing var type or hide the hint. > Exception: > java.lang.AssertionError: unexpected type: > at > jdk.compiler/com.sun.tools.javac.tree.TreeMaker.Type(TreeMaker.java:788) > at > org.netbeans.modules.java.source.builder.TreeFactory.Type(TreeFactory.java:800) > at org.netbeans.api.java.source.TreeMaker.Type(TreeMaker.java:1083) > at > org.netbeans.modules.java.hints.suggestions.Lambda$AddExplicitLambdaParameterTypes.performRewrite(Lambda.java:627) > at org.netbeans.spi.java.hints.JavaFix$1.process(JavaFix.java:171) > at > org.netbeans.modules.java.hints.spiimpl.JavaFixImpl$1.run(JavaFixImpl.java:80) > at > org.netbeans.modules.java.hints.spiimpl.JavaFixImpl$1.run(JavaFixImpl.java:74) > at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:672) > at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:662) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1021) Convert to explicit type hint throws exception for invalid lambda params types
Reema Taneja created NETBEANS-1021: -- Summary: Convert to explicit type hint throws exception for invalid lambda params types Key: NETBEANS-1021 URL: https://issues.apache.org/jira/browse/NETBEANS-1021 Project: NetBeans Issue Type: Task Reporter: Reema Taneja Assignee: Reema Taneja Convert to explicit type hint throws below exception if lambda expression uses a mix of explicit and implicit var type((support added in jdk11)) params. Eg. IntBinaryOperator op = (int x, var y) -> x+ y; If lambda expr params are like (int x, y), i.e. mix of explicit and implicit params, Convert to explicit type hint is not shown. Investigate if we can convert to explicit type for all mixed types params containing var type or hide the hint. Exception: java.lang.AssertionError: unexpected type: at jdk.compiler/com.sun.tools.javac.tree.TreeMaker.Type(TreeMaker.java:788) at org.netbeans.modules.java.source.builder.TreeFactory.Type(TreeFactory.java:800) at org.netbeans.api.java.source.TreeMaker.Type(TreeMaker.java:1083) at org.netbeans.modules.java.hints.suggestions.Lambda$AddExplicitLambdaParameterTypes.performRewrite(Lambda.java:627) at org.netbeans.spi.java.hints.JavaFix$1.process(JavaFix.java:171) at org.netbeans.modules.java.hints.spiimpl.JavaFixImpl$1.run(JavaFixImpl.java:80) at org.netbeans.modules.java.hints.spiimpl.JavaFixImpl$1.run(JavaFixImpl.java:74) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:672) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:662) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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] [Resolved] (NETBEANS-999) Hint to replace explicit type of variable with var should not be a warning.
[ https://issues.apache.org/jira/browse/NETBEANS-999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Reema Taneja resolved NETBEANS-999. --- Resolution: Fixed Fix Version/s: 9.0 Merged to master and release90 branches. > Hint to replace explicit type of variable with var should not be a warning. > --- > > Key: NETBEANS-999 > URL: https://issues.apache.org/jira/browse/NETBEANS-999 > Project: NetBeans > Issue Type: Improvement > Components: java - Hints >Affects Versions: Next >Reporter: Peter Hull >Assignee: Reema Taneja >Priority: Minor > Labels: pull-request-available > Fix For: 9.0 > > Attachments: N-999.png > > Time Spent: 1.5h > Remaining Estimate: 0h > > A new hint has been added to replace explicit types with 'var', and vice > versa, for JDK 10. This was described in NETBEANS-479. > However the Hint is a Warning (lightbulb+yellow triangle) and is shown on > every line that could be changed. This is not good because the hint is > 'two-way' so even if you accept the fix it shows another warning suggesting > to change it back. It should be just a lightbulb like the diamond inference > hint, which only appears on the current line. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-538) A java.lang.StackOverflowError exception has occurred.
[ https://issues.apache.org/jira/browse/NETBEANS-538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16532090#comment-16532090 ] Junichi Yamamoto commented on NETBEANS-538: --- The patch is merged in https://github.com/apache/incubator-netbeans/pull/621 > A java.lang.StackOverflowError exception has occurred. > -- > > Key: NETBEANS-538 > URL: https://issues.apache.org/jira/browse/NETBEANS-538 > Project: NetBeans > Issue Type: Bug > Components: javascript - Editor >Affects Versions: Next > Environment: openjdk-9 > Arch Linux, kernel 4.15.13 >Reporter: Viktorie Novotná >Assignee: Reema Taneja >Priority: Critical > Attachments: Snímek obrazovky pořízený 2018-03-28 21-14-01.png, > netbeans-538.patch > > > Simple javascript code emits exception on every edit, IDE start, save and so > on. > {{Example of such code:}} > a.b=a.b; > > While this code seems useless it's used quite often, like in google analytics: > {{window.dataLayer = window.dataLayer || [];}} > (emitting same exception) > Stack trace: > java.lang.StackOverflowError at java.util.HashMap.hash(HashMap.java:339) at > java.util.HashMap.put(HashMap.java:612) at > java.util.HashSet.add(HashSet.java:220) at > org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypeFromSemiType(ModelUtils.java:639) > at > org.netbeans.modules.javascript2.model.api.ModelUtils.resolveAssignments(ModelUtils.java:1294) > at > org.netbeans.modules.javascript2.model.api.ModelUtils.resolveAssignments(ModelUtils.java:1262) > at > org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1215) > at > org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232) > at > org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232) > at > org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232) > at > org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232) > ... > ... > and so on. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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
[incubator-netbeans] 01/01: Merge pull request #621 from rtaneja1/rtaneja/donation2_233298fix
This is an automated email from the ASF dual-hosted git repository. junichi11 pushed a commit to branch 2ndDonation in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git commit ae7d2f149e5c80d24b88505d9c6d94e6958326db Merge: bd4865d 68d5966 Author: Junichi Yamamoto AuthorDate: Wed Jul 4 09:25:30 2018 +0900 Merge pull request #621 from rtaneja1/rtaneja/donation2_233298fix donation2_merge: #233298: fix goto declaration navigation .../unit/data/testfiles/coloring/issue233298.js| 11 ++ .../unit/data/testfiles/coloring/issue233298_1.js | 33 + .../unit/data/testfiles/coloring/issue233298_2.js | 29 + .../editor/navigation/GoToDeclarationTest.java | 20 +++ .../modules/javascript2/model/JsObjectImpl.java| 9 +- .../modules/javascript2/model/api/ModelUtils.java | 138 + 6 files changed, 236 insertions(+), 4 deletions(-) - 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
[incubator-netbeans] branch 2ndDonation updated (bd4865d -> ae7d2f1)
This is an automated email from the ASF dual-hosted git repository. junichi11 pushed a change to branch 2ndDonation in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git. from bd4865d Merge pull request #618 from tmysik/integration_tmysik add cb1286d #233298: Goto Declaration doesn't navigate to the right declaration add 68d5966 NETBEANS-538 fix stackoverfloerror when open .js new ae7d2f1 Merge pull request #621 from rtaneja1/rtaneja/donation2_233298fix The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../unit/data/testfiles/coloring/issue233298.js| 11 ++ .../unit/data/testfiles/coloring/issue233298_1.js | 33 + .../issue233237.js => coloring/issue233298_2.js} | 19 ++- .../editor/navigation/GoToDeclarationTest.java | 20 +++ .../modules/javascript2/model/JsObjectImpl.java| 9 +- .../modules/javascript2/model/api/ModelUtils.java | 138 + 6 files changed, 221 insertions(+), 9 deletions(-) create mode 100644 javascript2.editor/test/unit/data/testfiles/coloring/issue233298.js create mode 100644 javascript2.editor/test/unit/data/testfiles/coloring/issue233298_1.js copy javascript2.editor/test/unit/data/testfiles/{structure/issue233237.js => coloring/issue233298_2.js} (57%) - 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
[incubator-netbeans] branch release90 updated: NETBEANS-999: Show var hints when caret on current line (#617) (#623)
This is an automated email from the ASF dual-hosted git repository. geertjan pushed a commit to branch release90 in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git The following commit(s) were added to refs/heads/release90 by this push: new 4269d72 NETBEANS-999: Show var hints when caret on current line (#617) (#623) 4269d72 is described below commit 4269d72f6a268b0c05c009b910e99f8ef9dde45b Author: Reema Taneja <32299405+rtane...@users.noreply.github.com> AuthorDate: Tue Jul 3 08:31:44 2018 -0700 NETBEANS-999: Show var hints when caret on current line (#617) (#623) --- .../src/org/netbeans/modules/java/hints/jdk/ConvertToVarHint.java | 3 ++- .../org/netbeans/modules/java/hints/jdk/ConvertVarToExplicitType.java | 3 ++- .../src/org/netbeans/modules/java/hints/jdk/ConvertToVarHintTest.java | 2 +- .../netbeans/modules/java/hints/jdk/ConvertVarToExplicitTypeTest.java | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/java.hints/src/org/netbeans/modules/java/hints/jdk/ConvertToVarHint.java b/java.hints/src/org/netbeans/modules/java/hints/jdk/ConvertToVarHint.java index c001f7d..684ab15 100644 --- a/java.hints/src/org/netbeans/modules/java/hints/jdk/ConvertToVarHint.java +++ b/java.hints/src/org/netbeans/modules/java/hints/jdk/ConvertToVarHint.java @@ -34,6 +34,7 @@ import org.netbeans.api.java.source.CompilationInfo; import org.netbeans.api.java.source.TreeMaker; import org.netbeans.api.java.source.WorkingCopy; import org.netbeans.spi.editor.hints.ErrorDescription; +import org.netbeans.spi.editor.hints.Severity; import org.netbeans.spi.java.hints.ErrorDescriptionFactory; import org.netbeans.spi.java.hints.Hint; import org.netbeans.spi.java.hints.HintContext; @@ -54,7 +55,7 @@ import org.netbeans.modules.java.hints.errors.Utilities; * * @author arusinha */ -@Hint(displayName = "#DN_CanUseVarForExplicitType", description = "#DESC_CanUseVarForExplicitType", category = "rules15", minSourceVersion = "10") //NOI18N +@Hint(displayName = "#DN_CanUseVarForExplicitType", description = "#DESC_CanUseVarForExplicitType", category = "rules15", severity = Severity.HINT, minSourceVersion = "10") //NOI18N @Messages("MSG_ConvertibleToVarType=Explict type can be replaced with 'var'") //NOI18N public class ConvertToVarHint { diff --git a/java.hints/src/org/netbeans/modules/java/hints/jdk/ConvertVarToExplicitType.java b/java.hints/src/org/netbeans/modules/java/hints/jdk/ConvertVarToExplicitType.java index db826e7..13a19d8 100644 --- a/java.hints/src/org/netbeans/modules/java/hints/jdk/ConvertVarToExplicitType.java +++ b/java.hints/src/org/netbeans/modules/java/hints/jdk/ConvertVarToExplicitType.java @@ -34,6 +34,7 @@ import org.netbeans.api.java.source.TreeMaker; import org.netbeans.api.java.source.WorkingCopy; import org.netbeans.modules.java.hints.errors.Utilities; import org.netbeans.spi.editor.hints.ErrorDescription; +import org.netbeans.spi.editor.hints.Severity; import org.netbeans.spi.java.hints.ErrorDescriptionFactory; import org.netbeans.spi.java.hints.Hint; import org.netbeans.spi.java.hints.HintContext; @@ -48,7 +49,7 @@ import org.openide.util.NbBundle.Messages; * * @author rtaneja */ -@Hint(displayName = "#DN_ConvertVarToExplicitType", description = "#DESC_ConvertVarToExplicitType", category = "rules15", minSourceVersion = "10") +@Hint(displayName = "#DN_ConvertVarToExplicitType", description = "#DESC_ConvertVarToExplicitType", category = "rules15", severity = Severity.HINT, minSourceVersion = "10") @Messages("MSG_ConvertibleToExplicitType=Convert var to explicit type") public class ConvertVarToExplicitType { diff --git a/java.hints/test/unit/src/org/netbeans/modules/java/hints/jdk/ConvertToVarHintTest.java b/java.hints/test/unit/src/org/netbeans/modules/java/hints/jdk/ConvertToVarHintTest.java index ebf1991..4ea2814 100644 --- a/java.hints/test/unit/src/org/netbeans/modules/java/hints/jdk/ConvertToVarHintTest.java +++ b/java.hints/test/unit/src/org/netbeans/modules/java/hints/jdk/ConvertToVarHintTest.java @@ -29,7 +29,7 @@ import org.netbeans.modules.java.hints.test.api.HintTest; public class ConvertToVarHintTest { private static final String VAR_CONV_DESC = "Explict type can be replaced with 'var'"; //NOI18N -private static final String VAR_CONV_WARNING = "verifier:" + VAR_CONV_DESC; //NOI18N +private static final String VAR_CONV_WARNING = "hint:" + VAR_CONV_DESC; //NOI18N @Test public void testIntLiteralRefToVar() throws Exception { diff --git a/java.hints/test/unit/src/org/netbeans/modules/java/hints/jdk/ConvertVarToExplicitTypeTest.java b/java.hints/test/unit/src/org/netbeans/modules/java/hints/jdk/ConvertVarToExplicitTypeTest.java index 69bbe47..84cf5bd 100644 --- a/java.hints/test/unit/src/org/netbeans/modules/java/hints/jdk/ConvertVarToExplicitTypeTest.java +++
[jira] [Commented] (NETBEANS-330) NetBeans 9.0 UC hosted on Apache infra
[ https://issues.apache.org/jira/browse/NETBEANS-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16531317#comment-16531317 ] Junichi Yamamoto commented on NETBEANS-330: --- It works fine with Jirka's steps from Japan. Thanks! > NetBeans 9.0 UC hosted on Apache infra > -- > > Key: NETBEANS-330 > URL: https://issues.apache.org/jira/browse/NETBEANS-330 > Project: NetBeans > Issue Type: Task > Components: website >Affects Versions: 9.0 >Reporter: Jiří Kovalský >Assignee: Jiří Kovalský >Priority: Blocker > Labels: NETBEANS-9 > Attachments: Capture du 2018-06-07 16-17-04.png, Hudson > UI_plugin_found.JPG, Hudson UI_plugin_install.JPG, Hudson > UI_plugin_install_finished.JPG, Hudson UI_plugin_install_verify_CA.JPG, > NBUCERR-2018-06-07 10-04-41.png, NBUCERRCFN2018-06-07 10-06-42.png, > NBUCERRDL2018-06-07 10-22-27.png, image-2018-06-07-09-54-32-725.png, > messages.log, update_testing_2015-06-07.JPG > > > In order to keep measuring number of NetBeans active users also in the future > we need to create an update center similar to 8.2 NetBeans Distribution UC > [1] which will be hosted on Apache infrastructure and register it in the > NetBeans 9.0 FCS build. We are measuring this statistics since 2004 and > stopping it now is not an option hence this is a blocker bug for 9.0 release. > [1] > [http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz] > (for the uninitiated: UC == Update Center) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-876) Update release 9.0 branding
[ https://issues.apache.org/jira/browse/NETBEANS-876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16531298#comment-16531298 ] Jiří Kovalský commented on NETBEANS-876: Yes, I agree and look forward to the first GA candidate. > Update release 9.0 branding > --- > > Key: NETBEANS-876 > URL: https://issues.apache.org/jira/browse/NETBEANS-876 > Project: NetBeans > Issue Type: Bug > Components: ide - UI >Affects Versions: 9.0 >Reporter: Jiří Kovalský >Assignee: Geertjan Wielenga >Priority: Blocker > Labels: pull-request-available > Attachments: logo.zip, splashscreen.zip > > Time Spent: 1h 20m > Remaining Estimate: 0h > > In order to build Apache NetBeans IDE 9.0 release candidate we need to update: > # name to *Apache NetBeans IDE 9.0* > # URLs to update centers from _{color:#f79232}updates.netbeans.org{color}_ > to {color:#f79232}_netbeans.apache.org_{color} > # splash screen > # user and cache directories to _{color:#f79232}.netbeans/9.0{color}_ and > _{color:#f79232}.cache/netbeans/9.0{color}_ > # Remove assertions {{-J-ea}} from the {{netbeans.conf}} > # Start Page (welcome/ module) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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] [Assigned] (NETBEANS-876) Update release 9.0 branding
[ https://issues.apache.org/jira/browse/NETBEANS-876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiří Kovalský reassigned NETBEANS-876: -- Assignee: Geertjan Wielenga > Update release 9.0 branding > --- > > Key: NETBEANS-876 > URL: https://issues.apache.org/jira/browse/NETBEANS-876 > Project: NetBeans > Issue Type: Bug > Components: ide - UI >Affects Versions: 9.0 >Reporter: Jiří Kovalský >Assignee: Geertjan Wielenga >Priority: Blocker > Labels: pull-request-available > Attachments: logo.zip, splashscreen.zip > > Time Spent: 1h 20m > Remaining Estimate: 0h > > In order to build Apache NetBeans IDE 9.0 release candidate we need to update: > # name to *Apache NetBeans IDE 9.0* > # URLs to update centers from _{color:#f79232}updates.netbeans.org{color}_ > to {color:#f79232}_netbeans.apache.org_{color} > # splash screen > # user and cache directories to _{color:#f79232}.netbeans/9.0{color}_ and > _{color:#f79232}.cache/netbeans/9.0{color}_ > # Remove assertions {{-J-ea}} from the {{netbeans.conf}} > # Start Page (welcome/ module) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1020) Line numbering vanishes occasionally
[ https://issues.apache.org/jira/browse/NETBEANS-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Feldbinder updated NETBEANS-1020: Description: Occasionally and without any noticeably patters the IDE stops displaying line numbering. The only way to fix this is to either restart the IDE or to close all editor windows and reopen them. !image-2018-07-03-11-25-11-956.png! This seems to be a rendering bug. Disabling then enabling line numbering has no effect. When this error happens sometimes also the Projects view has large white gaps, as if folding miscalculates spacing. When the later happens you also can no longer scroll in the Projects view. was: Occasionally and without any noticeably patters the IDE stops displaying line numbering. The only way to fix this is to either restart the IDE or to close all editor windows and reopen them. !image-2018-07-03-11-25-11-956.png! When this error happens sometimes also the Projects view has large white gaps, as if folding miscalculates spacing. When the later happens you also can no longer scroll in the Projects view. > Line numbering vanishes occasionally > > > Key: NETBEANS-1020 > URL: https://issues.apache.org/jira/browse/NETBEANS-1020 > Project: NetBeans > Issue Type: Bug > Components: ide - UI >Affects Versions: 9.0 > Environment: Windows 10, several different PCs have the same issue >Reporter: Stefan Feldbinder >Priority: Major > Attachments: image-2018-07-03-11-25-11-956.png > > > Occasionally and without any noticeably patters the IDE stops displaying line > numbering. The only way to fix this is to either restart the IDE or to close > all editor windows and reopen them. > !image-2018-07-03-11-25-11-956.png! > This seems to be a rendering bug. Disabling then enabling line numbering has > no effect. > When this error happens sometimes also the Projects view has large white > gaps, as if folding miscalculates spacing. When the later happens you also > can no longer scroll in the Projects view. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1006) Usage search crashes with NullPointerException
[ https://issues.apache.org/jira/browse/NETBEANS-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Feldbinder updated NETBEANS-1006: Affects Version/s: 9.0 Component/s: editor - Search > Usage search crashes with NullPointerException > -- > > Key: NETBEANS-1006 > URL: https://issues.apache.org/jira/browse/NETBEANS-1006 > Project: NetBeans > Issue Type: Bug > Components: editor - Search >Affects Versions: 9.0 >Reporter: Stefan Feldbinder >Priority: Major > > When doing a usage search through a compilation of many inter-wired Maven > projects this often terminates with a NullPointerException: > {code:java} > java.lang.NullPointerException > at org.netbeans.api.java.source.ElementHandle.resolve(ElementHandle.java:118) > at > org.netbeans.api.java.source.TreePathHandle$TreeDelegate.resolveElement(TreePathHandle.java:530) > at > org.netbeans.api.java.source.TreePathHandle.resolveElement(TreePathHandle.java:162) > at > org.netbeans.modules.refactoring.java.plugins.JavaWhereUsedQueryPlugin$FindTask.run(JavaWhereUsedQueryPlugin.java:574) > at > org.netbeans.modules.refactoring.java.plugins.JavaWhereUsedQueryPlugin$FindTask.run(JavaWhereUsedQueryPlugin.java:548) > at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) > at > org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:166) > at > org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:138) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) > at > org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) > at > org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) > at > org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) > at > org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) > at > org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) > at > org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:83) > at > org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451) > at > org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422) > at > org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.processFiles(JavaRefactoringPlugin.java:319) > at > org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.processFiles(JavaRefactoringPlugin.java:263) > at > org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.queryFiles(JavaRefactoringPlugin.java:253) > at > org.netbeans.modules.refactoring.java.plugins.JavaWhereUsedQueryPlugin.prepare(JavaWhereUsedQueryPlugin.java:362) > [catch] at > org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare2(AbstractRefactoring.java:417) > at > org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:401) > at > org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:212) > at > org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare$2.run(ParametersPanel.java:1059) > at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > {code} > _Please note that I am not allowed to give more details about the project or > the full report as that might include such information._ -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1020) Line numbering vanishes occasionally
Stefan Feldbinder created NETBEANS-1020: --- Summary: Line numbering vanishes occasionally Key: NETBEANS-1020 URL: https://issues.apache.org/jira/browse/NETBEANS-1020 Project: NetBeans Issue Type: Bug Components: ide - UI Affects Versions: 9.0 Environment: Windows 10, several different PCs have the same issue Reporter: Stefan Feldbinder Attachments: image-2018-07-03-11-25-11-956.png Occasionally and without any noticeably patters the IDE stops displaying line numbering. The only way to fix this is to either restart the IDE or to close all editor windows and reopen them. !image-2018-07-03-11-25-11-956.png! When this error happens sometimes also the Projects view has large white gaps, as if folding miscalculates spacing. When the later happens you also can no longer scroll in the Projects view. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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