[jira] [Commented] (NETBEANS-337) Syntax highlighting shows "Cannot find symbol" error for correct use of JPA metamodel fields
[ https://issues.apache.org/jira/browse/NETBEANS-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16418473#comment-16418473 ] Jan Lahoda commented on NETBEANS-337: - I tried to download the testcase, and it seems the compilation using maven fails there as well: - richtercloud/netbeans/jpa/metamodel/syntax/error/newpackage/NewMain.java:[17,72] incompatible types: javax.persistence.metamodel.SingularAttributecannot be converted to javax.persistence.metamodel.SingularAttribute 1 error - Am I doing something wrong? Thanks. > Syntax highlighting shows "Cannot find symbol" error for correct use of JPA > metamodel fields > > > Key: NETBEANS-337 > URL: https://issues.apache.org/jira/browse/NETBEANS-337 > Project: NetBeans > Issue Type: Bug > Components: java - Editor >Affects Versions: 9.0 >Reporter: Karl Richter >Priority: Major > > The `public static volatile` fields of generated sources for JPA metamodels > are not recognized/cause "Cannot find symbol" displayed in syntax > highlighting if the field is declared in a superclass. > Unfortunately, the issue occurs randomly and I didn't figure out how to > trigger it's resolution, however the syntax of the code is always correct and > never causes compilation errors. The SSCCE at > https://gitlab.com/krichter/netbeans-jpa-metamodel-syntax-error/tree/netbeans-issue > (branch `netbeans-issue`) seems to demonstrate it reliably. > experienced with 9.0-beta-rc2-43-g346c2aba4 -- 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-335) Fix All Imports adds unnecessary entries (fields from top-level class)
[ https://issues.apache.org/jira/browse/NETBEANS-335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Lahoda resolved NETBEANS-335. - Resolution: Fixed Fix Version/s: 9.0 Should be fixed by: https://github.com/apache/incubator-netbeans/commit/b0b6e9038d6c2097541b08451cf5f59691ab298f > Fix All Imports adds unnecessary entries (fields from top-level class) > -- > > Key: NETBEANS-335 > URL: https://issues.apache.org/jira/browse/NETBEANS-335 > Project: NetBeans > Issue Type: Bug > Components: editor - Hints Annotations > Environment: Product Version: Apache NetBeans IDE Dev (Build > 20180117-unknown-revn) > Updates: Updates available > Java: 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11 > Runtime: Java(TM) SE Runtime Environment 9.0.4+11 > System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb) > User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev > Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev >Reporter: Gili >Assignee: Jan Lahoda >Priority: Minor > Labels: pull-request-available > Fix For: 9.0 > > Attachments: PriceType.java > > Time Spent: 20m > Remaining Estimate: 0h > > # Open the attached file. > # Invoke Fix All Imports > # Notice that the IDE attempts to import MARKET and LIMIT (defined by the > current file). > # Invoke code-format. Notice that the IDE removed unused imports for MARKET > and LIMIT. -- 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] branch master updated: [NETBEANS-335] Not importing fields for unresolveable identifiers that are in position where only types can appears.
This is an automated email from the ASF dual-hosted git repository. jlahoda pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git The following commit(s) were added to refs/heads/master by this push: new b0b6e90 [NETBEANS-335] Not importing fields for unresolveable identifiers that are in position where only types can appears. b0b6e90 is described below commit b0b6e9038d6c2097541b08451cf5f59691ab298f Author: Jan LahodaAuthorDate: Mon Mar 12 07:14:16 2018 +0100 [NETBEANS-335] Not importing fields for unresolveable identifiers that are in position where only types can appears. --- .../java/editor/imports/ComputeImports.java| 101 - .../1.8/testNotImportFieldAsClass-filtered.pass| 5 + .../1.8/testNotImportFieldAsClass-unfiltered.pass | 5 + .../imports/data/TestNotImportFieldAsClass.java| 24 + .../java/editor/imports/ComputeImportsTest.java| 7 ++ 5 files changed, 118 insertions(+), 24 deletions(-) diff --git a/java.editor/src/org/netbeans/modules/java/editor/imports/ComputeImports.java b/java.editor/src/org/netbeans/modules/java/editor/imports/ComputeImports.java index 953e9c7..d0ec54a 100644 --- a/java.editor/src/org/netbeans/modules/java/editor/imports/ComputeImports.java +++ b/java.editor/src/org/netbeans/modules/java/editor/imports/ComputeImports.java @@ -26,6 +26,7 @@ import com.sun.source.tree.ExpressionTree; import com.sun.source.tree.IdentifierTree; import com.sun.source.tree.MemberSelectTree; import com.sun.source.tree.MethodInvocationTree; +import com.sun.source.tree.MethodTree; import com.sun.source.tree.NewArrayTree; import com.sun.source.tree.NewClassTree; import com.sun.source.tree.ParameterizedTypeTree; @@ -249,6 +250,10 @@ public final class ComputeImports { unresolvedNames.addAll(JavadocImports.computeUnresolvedImports(info)); +Set unresolvedNonTypes = new HashSet(v.unresolvedNonTypes); + +unresolvedNonTypes.addAll(forcedUnresolved); + for (String unresolved : unresolvedNames) { if (isCancelled()) return; @@ -276,24 +281,26 @@ public final class ComputeImports { } } -Iterable simpleNames = cpInfo.getClassIndex().getDeclaredSymbols(unresolved, NameKind.SIMPLE_NAME,EnumSet.allOf(ClassIndex.SearchScope.class)); +if (unresolvedNonTypes.contains(unresolved)) { +Iterable simpleNames = cpInfo.getClassIndex().getDeclaredSymbols(unresolved, NameKind.SIMPLE_NAME,EnumSet.allOf(ClassIndex.SearchScope.class)); -if (simpleNames == null) { -//Canceled: -return; -} - -for (final Symbols p : simpleNames) { -if (isCancelled()) +if (simpleNames == null) { +//Canceled: return; +} + +for (final Symbols p : simpleNames) { +if (isCancelled()) +return; -final TypeElement te = p.getEnclosingType().resolve(allInfo); -final Set idents = p.getSymbols(); -if (te != null) { -for (Element ne : te.getEnclosedElements()) { -if (!ne.getModifiers().contains(Modifier.STATIC)) continue; -if (idents.contains(getSimpleName(ne, te))) { -classes.add(ne); +final TypeElement te = p.getEnclosingType().resolve(allInfo); +final Set idents = p.getSymbols(); +if (te != null) { +for (Element ne : te.getEnclosedElements()) { +if (!ne.getModifiers().contains(Modifier.STATIC)) continue; +if (idents.contains(getSimpleName(ne, te))) { +classes.add(ne); +} } } } @@ -470,14 +477,17 @@ public final class ComputeImports { private static class TreeVisitorImpl extends CancellableTreePathScanner > { private final CompilationInfo info; +private boolean onlyTypes; private Set unresolved; +private Set unresolvedNonTypes; private List hints; public TreeVisitorImpl(CompilationInfo info) { this.info = info; -unresolved = new HashSet(); -hints = new ArrayList(); +unresolved = new HashSet<>(); +unresolvedNonTypes = new HashSet<>(); +hints = new ArrayList<>(); } @Override @@ -516,7 +526,7 @@ public final class ComputeImports { p.put("request", null); }
[jira] [Updated] (NETBEANS-546) Resolve Conflict
[ https://issues.apache.org/jira/browse/NETBEANS-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leo Donahue updated NETBEANS-546: - Description: In the NetCAT 9.0 BETA test for section "Standard development of project", step number 11 "Resolve conflict". When Unresolved conflicts says "0" conflicts and we click OK, the "Main.java" file has a red exclamation icon indicating that there is an Error parsing file. The Main.java source file has the following lines where we made changes. several vertical bars to the left of .r16 ||.r16|| was: In the NetCAT 9.0 BETA test for section "Standard development of project", step number 11 "Resolve conflict". When Unresolved conflicts says "0" conflicts and we click OK, the "Main.java" file has a red exclamation icon indicating that there is an Error parsing file. The Main.java source file has the following lines where we made changes. ||.r16|| > Resolve Conflict > > > Key: NETBEANS-546 > URL: https://issues.apache.org/jira/browse/NETBEANS-546 > Project: NetBeans > Issue Type: Bug > Components: versioncontrol - Subversion >Affects Versions: 9.0 > Environment: Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux > NetBeans-dev-incubator-netbeans-linux-378-on-20180326-basic >Reporter: Leo Donahue >Priority: Major > > In the NetCAT 9.0 BETA test for section "Standard development of project", > step number 11 "Resolve conflict". > When Unresolved conflicts says "0" conflicts and we click OK, the "Main.java" > file has a red exclamation icon indicating that there is an Error parsing > file. > The Main.java source file has the following lines where we made changes. > several vertical bars to the left of .r16 > ||.r16|| -- 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-371) NullPointerException about Code Completion in C/C++ files
[ https://issues.apache.org/jira/browse/NETBEANS-371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Lahoda updated NETBEANS-371: Component/s: (was: editor - Completion & Templates) cnd - Code Completion > NullPointerException about Code Completion in C/C++ files > - > > Key: NETBEANS-371 > URL: https://issues.apache.org/jira/browse/NETBEANS-371 > Project: NetBeans > Issue Type: Bug > Components: cnd - Code Completion >Affects Versions: 9.0 > Environment: Windows 10 >Reporter: Hyeonwoo O >Priority: Major > Labels: bug > > When I input some text and if there is no code completion entries for it, > NullPointerException is occurred. > {code:java} > NullPointerException at > org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.findAutoOrDecltypeAutoType > {code} > This issue occurs when the text is entered in the line before main() function. > I tested this in NetBeans IDE Dev Build 201802080002. -- 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-407) "Dereferencing possible null pointer" after doing instanceof on variable (false positive)
[ https://issues.apache.org/jira/browse/NETBEANS-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Lahoda resolved NETBEANS-407. - Resolution: Fixed Assignee: Jan Lahoda Fix Version/s: 9.0 Should be fixed by: [https://github.com/apache/incubator-netbeans/commit/3bb6c7396a58ef75930148c30a3bb05baf0c06e6] > "Dereferencing possible null pointer" after doing instanceof on variable > (false positive) > - > > Key: NETBEANS-407 > URL: https://issues.apache.org/jira/browse/NETBEANS-407 > Project: NetBeans > Issue Type: Bug > Components: java - Hints >Affects Versions: 8.2, 9.0 >Reporter: Eirik Bakke >Assignee: Jan Lahoda >Priority: Minor > Labels: pull-request-available > Fix For: 9.0 > > Time Spent: 20m > Remaining Estimate: 0h > > In the following example, the "boolean foo = k instanceof Integer" assignment > causes a spurious "Dereferencing possible null pointer" warning to occur on > the "k.doubleValue()" expression. I believe this did not happen in earlier > NetBeans versions (pre-8.2). Note that if the assignment to "boolean foo" is > replaced by an if statement ("if (k instanceof Integer)"), the warning goes > away. > {code:java} > public class TestClass { > private Number getFoo() { > return 3; > } > public void testFoo() { > Number k = getFoo(); > // The warning only occurs if this assignment is present. > boolean foo = k instanceof Integer; > // Warning on .doubleValue() here: "Dereferencing possible null pointer" > System.out.println(k.doubleValue()); > } > } > {code} > This bug was previously described at > https://netbeans.org/bugzilla/show_bug.cgi?id=269324 . -- 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] branch master updated: [NETBEANS-407] Using a special State to model instanceof instead of NOT_NULL_HYPOTHETICAL, as instanceof is not an explicit null test and may be false also
This is an automated email from the ASF dual-hosted git repository. jlahoda pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git The following commit(s) were added to refs/heads/master by this push: new 3bb6c73 [NETBEANS-407] Using a special State to model instanceof instead of NOT_NULL_HYPOTHETICAL, as instanceof is not an explicit null test and may be false also for non-null input parameters. 3bb6c73 is described below commit 3bb6c7396a58ef75930148c30a3bb05baf0c06e6 Author: Jan LahodaAuthorDate: Sun Feb 25 20:41:54 2018 +0100 [NETBEANS-407] Using a special State to model instanceof instead of NOT_NULL_HYPOTHETICAL, as instanceof is not an explicit null test and may be false also for non-null input parameters. --- .../netbeans/modules/java/hints/bugs/NPECheck.java | 46 +++ .../modules/java/hints/bugs/NPECheckTest.java | 51 ++ 2 files changed, 79 insertions(+), 18 deletions(-) diff --git a/java.hints/src/org/netbeans/modules/java/hints/bugs/NPECheck.java b/java.hints/src/org/netbeans/modules/java/hints/bugs/NPECheck.java index b7b5af8..993e3e3 100644 --- a/java.hints/src/org/netbeans/modules/java/hints/bugs/NPECheck.java +++ b/java.hints/src/org/netbeans/modules/java/hints/bugs/NPECheck.java @@ -209,11 +209,13 @@ public class NPECheck { break; case POSSIBLE_NULL_REPORT: case POSSIBLE_NULL: +case INSTANCE_OF_FALSE: k = "ERR_UnboxingPotentialNullValue"; // NOI18N break; case NOT_NULL_BE_NPE: case NOT_NULL: case NOT_NULL_HYPOTHETICAL: +case INSTANCE_OF_TRUE: return null; default: throw new AssertionError(s.name()); @@ -238,7 +240,7 @@ public class NPECheck { return ErrorDescriptionFactory.forName(ctx, ctx.getPath(), displayName); } -if (r == State.POSSIBLE_NULL_REPORT) { +if (r == State.POSSIBLE_NULL_REPORT || r == INSTANCE_OF_FALSE) { String displayName = NbBundle.getMessage(NPECheck.class, "ERR_PossiblyDereferencingNull"); return ErrorDescriptionFactory.forName(ctx, ctx.getPath(), displayName); @@ -259,7 +261,7 @@ public class NPECheck { return ErrorDescriptionFactory.forName(ctx, ctx.getPath(), displayName); } -if (r == State.POSSIBLE_NULL_REPORT) { +if (r == State.POSSIBLE_NULL_REPORT || r == State.INSTANCE_OF_FALSE) { String displayName = NbBundle.getMessage(NPECheck.class, "ERR_PossiblyDereferencingNull"); return ErrorDescriptionFactory.forName(ctx, ctx.getPath(), displayName); @@ -278,7 +280,7 @@ public class NPECheck { return ErrorDescriptionFactory.forName(ctx, ctx.getPath(), displayName); } -if (r == State.POSSIBLE_NULL_REPORT) { +if (r == State.POSSIBLE_NULL_REPORT || r == State.INSTANCE_OF_FALSE) { String displayName = NbBundle.getMessage(NPECheck.class, "ERR_PossiblyDereferencingNull"); return ErrorDescriptionFactory.forName(ctx, ctx.getPath(), displayName); @@ -327,6 +329,7 @@ public class NPECheck { result.add(ErrorDescriptionFactory.forTree(ctx, mit.getArguments().get(index), NbBundle.getMessage(NPECheck.class, "ERR_NULL_TO_NON_NULL_ARG"))); break; case POSSIBLE_NULL_REPORT: +case INSTANCE_OF_FALSE: result.add(ErrorDescriptionFactory.forTree(ctx, mit.getArguments().get(index), NbBundle.getMessage(NPECheck.class, "ERR_POSSIBLENULL_TO_NON_NULL_ARG"))); break; } @@ -455,6 +458,7 @@ public class NPECheck { if (expected.isNotNull()) key = "ERR_ReturningNullFromNonNull"; break; case POSSIBLE_NULL_REPORT: +case INSTANCE_OF_FALSE: if (expected.isNotNull()) key = "ERR_ReturningPossibleNullFromNonNull"; break; } @@ -717,7 +721,7 @@ public class NPECheck { State expr = scan(node.getExpression(), p); boolean wasNPE = false; -if (expr == State.NULL || expr == State.NULL_HYPOTHETICAL || expr == State.POSSIBLE_NULL || expr == State.POSSIBLE_NULL_REPORT) { +if (expr == State.NULL || expr == State.NULL_HYPOTHETICAL || expr == State.POSSIBLE_NULL || expr == State.POSSIBLE_NULL_REPORT || expr == State.INSTANCE_OF_FALSE) { wasNPE = true; } @@ -886,8 +890,17 @@ public class NPECheck { Element e = info.getTrees().getElement(new TreePath(getCurrentPath(), node.getExpression())); -if (isVariableElement(e) &&
[jira] [Created] (NETBEANS-545) Applying Patch
Leo Donahue created NETBEANS-545: Summary: Applying Patch Key: NETBEANS-545 URL: https://issues.apache.org/jira/browse/NETBEANS-545 Project: NetBeans Issue Type: Bug Components: versioncontrol - Subversion Affects Versions: 9.0 Environment: Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux NetBeans-dev-incubator-netbeans-linux-378-on-20180326-basic Reporter: Leo Donahue In the NetCAT 9.0 BETA test for section "Standard development of project", step number 9 "Applying path". In step number 4 of Applying Patch, selecting the patch file and clicking Patch button, an information dialog opens that reads: "The patch cannot be applied in the selected context." -- 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-461) Could not initialize class org.netbeans.modules.extbrowser.NbDdeBrowserImpl
[ https://issues.apache.org/jira/browse/NETBEANS-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16418426#comment-16418426 ] efrem mccrimon commented on NETBEANS-461: - I tested with build #380 and it works. It did not work for build #378. I never tested build #379. I made a comment in the ticket to close it. Thanks for the feedback and followup Efrem > Could not initialize class org.netbeans.modules.extbrowser.NbDdeBrowserImpl > --- > > Key: NETBEANS-461 > URL: https://issues.apache.org/jira/browse/NETBEANS-461 > Project: NetBeans > Issue Type: Bug > Components: ide - Code >Affects Versions: 9.0 >Reporter: efrem mccrimon >Priority: Major > Labels: pull-request-available > Fix For: 9.0 > > Attachments: messages.log > > Time Spent: 2h 50m > Remaining Estimate: 0h > > Class not initializing > When navigating to Window->Web->Web Browser > throws the error even when a default Browser is configured in Options > settings. > I was testing XSL Transformations, "Process Output" settings - Open in > Browser fails > > > java.lang.NoClassDefFoundError: Could not initialize class > org.netbeans.modules.extbrowser.NbDdeBrowserImpl > at > org.netbeans.modules.extbrowser.ChromeBrowser.createHtmlBrowserImpl(ChromeBrowser.java:85) > at org.netbeans.core.NbURLDisplayer.warmBrowserUp(NbURLDisplayer.java:100) > at org.netbeans.core.NbURLDisplayer.access$000(NbURLDisplayer.java:47) > at org.netbeans.core.NbURLDisplayer$1.run(NbURLDisplayer.java:59) > 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) > Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to > at org.openide.util.RequestProcessor.post(RequestProcessor.java:395) > at org.netbeans.core.NbURLDisplayer.showURL(NbURLDisplayer.java:55) > at > org.netbeans.core.actions.HTMLViewAction.performAction(HTMLViewAction.java:49) > at > org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:105) > at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:70) > at > org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:91) > at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74) > at > org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:102) > at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) > at > javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) > at > javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) > at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) > at javax.swing.AbstractButton.doClick(AbstractButton.java:376) > at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) > at > javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877) > at java.awt.Component.processMouseEvent(Component.java:6533) > at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) > at java.awt.Component.processEvent(Component.java:6298) > at java.awt.Container.processEvent(Container.java:2236) > at java.awt.Component.dispatchEventImpl(Component.java:4889) > at java.awt.Container.dispatchEventImpl(Container.java:2294) > at java.awt.Component.dispatchEvent(Component.java:4711) > at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) > at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525) > at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) > at java.awt.Container.dispatchEventImpl(Container.java:2280) > at java.awt.Window.dispatchEventImpl(Window.java:2746) > at java.awt.Component.dispatchEvent(Component.java:4711) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) > at java.awt.EventQueue.access$500(EventQueue.java:97) > at java.awt.EventQueue$3.run(EventQueue.java:709) > at java.awt.EventQueue$3.run(EventQueue.java:703) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) > at java.awt.EventQueue$4.run(EventQueue.java:731) > at java.awt.EventQueue$4.run(EventQueue.java:729) > at java.security.AccessController.doPrivileged(Native Method) > at >
[jira] [Commented] (NETBEANS-461) Could not initialize class org.netbeans.modules.extbrowser.NbDdeBrowserImpl
[ https://issues.apache.org/jira/browse/NETBEANS-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16418415#comment-16418415 ] Rick Hegarty commented on NETBEANS-461: --- I retested the ten issues I had raised in a previous comment dated 15/Mar/18 and everything works fine now, using Build #379. I think this bug can be closed. Environment details: *Product Version:* Apache NetBeans IDE Dev (Build incubator-netbeans-linux-379-on-20180327) *Java:* 1.8.0_162; Java HotSpot(TM) 64-Bit Server VM 25.162-b12 *Runtime:* Java(TM) SE Runtime Environment 1.8.0_162-b12 *System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) *User directory:* C:\Users\johndoe\AppData\Roaming\NetBeans\dev *Cache directory:* C:\Users\johndoe\AppData\Local\NetBeans\Cache\dev > Could not initialize class org.netbeans.modules.extbrowser.NbDdeBrowserImpl > --- > > Key: NETBEANS-461 > URL: https://issues.apache.org/jira/browse/NETBEANS-461 > Project: NetBeans > Issue Type: Bug > Components: ide - Code >Affects Versions: 9.0 >Reporter: efrem mccrimon >Priority: Major > Labels: pull-request-available > Fix For: 9.0 > > Attachments: messages.log > > Time Spent: 2h 50m > Remaining Estimate: 0h > > Class not initializing > When navigating to Window->Web->Web Browser > throws the error even when a default Browser is configured in Options > settings. > I was testing XSL Transformations, "Process Output" settings - Open in > Browser fails > > > java.lang.NoClassDefFoundError: Could not initialize class > org.netbeans.modules.extbrowser.NbDdeBrowserImpl > at > org.netbeans.modules.extbrowser.ChromeBrowser.createHtmlBrowserImpl(ChromeBrowser.java:85) > at org.netbeans.core.NbURLDisplayer.warmBrowserUp(NbURLDisplayer.java:100) > at org.netbeans.core.NbURLDisplayer.access$000(NbURLDisplayer.java:47) > at org.netbeans.core.NbURLDisplayer$1.run(NbURLDisplayer.java:59) > 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) > Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to > at org.openide.util.RequestProcessor.post(RequestProcessor.java:395) > at org.netbeans.core.NbURLDisplayer.showURL(NbURLDisplayer.java:55) > at > org.netbeans.core.actions.HTMLViewAction.performAction(HTMLViewAction.java:49) > at > org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:105) > at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:70) > at > org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:91) > at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74) > at > org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:102) > at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) > at > javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) > at > javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) > at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) > at javax.swing.AbstractButton.doClick(AbstractButton.java:376) > at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) > at > javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877) > at java.awt.Component.processMouseEvent(Component.java:6533) > at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) > at java.awt.Component.processEvent(Component.java:6298) > at java.awt.Container.processEvent(Container.java:2236) > at java.awt.Component.dispatchEventImpl(Component.java:4889) > at java.awt.Container.dispatchEventImpl(Container.java:2294) > at java.awt.Component.dispatchEvent(Component.java:4711) > at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) > at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525) > at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) > at java.awt.Container.dispatchEventImpl(Container.java:2280) > at java.awt.Window.dispatchEventImpl(Window.java:2746) > at java.awt.Component.dispatchEvent(Component.java:4711) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) > at java.awt.EventQueue.access$500(EventQueue.java:97) > at java.awt.EventQueue$3.run(EventQueue.java:709) > at java.awt.EventQueue$3.run(EventQueue.java:703) > at java.security.AccessController.doPrivileged(Native Method) > at >
[jira] [Created] (NETBEANS-544) Merge conflicts resolver doesn't recognize "|||||||" conflict markers
Niklas Matthies created NETBEANS-544: Summary: Merge conflicts resolver doesn't recognize "|||" conflict markers Key: NETBEANS-544 URL: https://issues.apache.org/jira/browse/NETBEANS-544 Project: NetBeans Issue Type: Bug Components: versioncontrol - Subversion Reporter: Niklas Matthies When an update creates a conflict, a merge conflict involving three versions of the file looks like this: {quote}{{<<< .mine}} {{lines from local file}} {{||| .r1}} {{lines from revision 1}} {{===}} {{lines from revision 2}} {{>>> .r2}} {quote} The Merge Conflicts Resolver (menu Team > Resolve Conflicts...) does not recognize "|||" lines and doesn't filter them out in the "Local Working File" pane. When accepting the local version, the "|||{{"}} lines therefore end up in the merged result, as shown in the "Result after merge" pane, and also in the actual file after saving. They have to be removed manually then, or may remain unnoticed and be accidentally commited. I only tested this with the JavaHL subversion client so far, but suspect that this bug is independent of the client. -- 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-532) NPE running profiler
[ https://issues.apache.org/jira/browse/NETBEANS-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16418319#comment-16418319 ] Gili commented on NETBEANS-532: --- I downloaded the build from https://builds.apache.org/job/incubator-netbeans-release/242/ > NPE running profiler > > > Key: NETBEANS-532 > URL: https://issues.apache.org/jira/browse/NETBEANS-532 > Project: NetBeans > Issue Type: Bug > Components: profiler - Base >Affects Versions: 9.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-release-242-on-20180323) > Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46 > Runtime: Java(TM) SE Runtime Environment 10+46 > System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb) > User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev > Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev >Reporter: Gili >Priority: Critical > Labels: jdk10 > > When running the profiler on a Maven project I get: > {code} > java.lang.NullPointerException > at > org.netbeans.modules.profiler.v2.features.MethodsFeature$9.getProfilerClient(MethodsFeature.java:515) > at > org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.initUI(MethodsFeatureUI.java:222) > at > org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.getResultsUI(MethodsFeatureUI.java:100) > at > org.netbeans.modules.profiler.v2.features.MethodsFeature.getResultsUI(MethodsFeature.java:492) > at > org.netbeans.modules.profiler.v2.impl.FeaturesView.createContainer(FeaturesView.java:149) > at > org.netbeans.modules.profiler.v2.impl.FeaturesView.addFeature(FeaturesView.java:134) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.updateFeatures(ProfilerWindow.java:373) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.popupulateUI(ProfilerWindow.java:275) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.access$200(ProfilerWindow.java:132) > at > org.netbeans.modules.profiler.v2.ProfilerWindow$1$1.run(ProfilerWindow.java:200) > at > java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313) > at > java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) > at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) > at java.base/java.security.AccessController.doPrivileged(Native Method) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740) > at > org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) > [catch] at > java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at > java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) > {code} > This issues 100% of the time. -- 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-543) Can't start Netbeans 9.0 beta on Mac OSX
[ https://issues.apache.org/jira/browse/NETBEANS-543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Wall updated NETBEANS-543: -- Description: I downloaded netbeans 9.0 from [https://netbeans.apache.org/download/nb90/nb90-beta.html] Read the readme.html which doesn't have a section on how to start from Mac OSX but I try the instructions for Linux {noformat} To start the IDE (Solaris OS or Linux): Type at the command prompt: /netbeans-install-directory/bin/netbeans{noformat} But it doesn't start and I get this {noformat} [Command not found: /usr/bin/bash] [Could not create a new process and open a pseudo-tty.] {noformat} Is something missing in the package? Am I doing it wrong? Is there documentation I failed to read? Thanks was: I downloaded netbeans 9.0 from https://netbeans.apache.org/download/nb90/nb90-beta.html Read the readme.html which doesn't have a section on how to start from Mac OSX but I try the instructions for Linux {noformat} To start the IDE (Solaris OS or Linux): Type at the command prompt: /netbeans-install-directory/bin/netbeans{noformat} Get this {noformat} [Command not found: /usr/bin/bash] [Could not create a new process and open a pseudo-tty.] {noformat} > Can't start Netbeans 9.0 beta on Mac OSX > > > Key: NETBEANS-543 > URL: https://issues.apache.org/jira/browse/NETBEANS-543 > Project: NetBeans > Issue Type: Bug >Affects Versions: 9.0 >Reporter: Michael Wall >Priority: Major > > I downloaded netbeans 9.0 from > [https://netbeans.apache.org/download/nb90/nb90-beta.html] > Read the readme.html which doesn't have a section on how to start from Mac > OSX but I try the instructions for Linux > {noformat} > To start the IDE (Solaris OS or Linux): > Type at the command prompt: /netbeans-install-directory/bin/netbeans{noformat} > > But it doesn't start and I get this > {noformat} > [Command not found: /usr/bin/bash] > [Could not create a new process and open a pseudo-tty.] > {noformat} > > Is something missing in the package? Am I doing it wrong? Is there > documentation I failed to read? > > Thanks -- 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-543) Can't start Netbeans 9.0 beta on Mac OSX
Michael Wall created NETBEANS-543: - Summary: Can't start Netbeans 9.0 beta on Mac OSX Key: NETBEANS-543 URL: https://issues.apache.org/jira/browse/NETBEANS-543 Project: NetBeans Issue Type: Bug Affects Versions: 9.0 Reporter: Michael Wall I downloaded netbeans 9.0 from https://netbeans.apache.org/download/nb90/nb90-beta.html Read the readme.html which doesn't have a section on how to start from Mac OSX but I try the instructions for Linux {noformat} To start the IDE (Solaris OS or Linux): Type at the command prompt: /netbeans-install-directory/bin/netbeans{noformat} Get this {noformat} [Command not found: /usr/bin/bash] [Could not create a new process and open a pseudo-tty.] {noformat} -- 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-430) "Invalid or deleted file", "Absent Code attribute" exceptions during Java editing and app/test running
[ https://issues.apache.org/jira/browse/NETBEANS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16418229#comment-16418229 ] Eirik Bakke commented on NETBEANS-430: -- Also tried editing the file after the clean build to force a Compile-on-Save. The class file was regenerated, but the error does _not_ show up merely as a result of doing a save. So I'm still not quite sure how to reproduce it. > "Invalid or deleted file", "Absent Code attribute" exceptions during Java > editing and app/test running > -- > > Key: NETBEANS-430 > URL: https://issues.apache.org/jira/browse/NETBEANS-430 > Project: NetBeans > Issue Type: Bug > Components: guibuilder - Code, java - Classfile, java - Source, > projects - Maven >Affects Versions: 9.0 > Environment: Apache NetBeans IDE Dev (Build > incubator-netbeans-release-205-on-20180202), OpenJDK 64-Bit Server VM > 9.0.4.1+11, Mac OS X version 10.9.5 >Reporter: Eirik Bakke >Priority: Major > Attachments: Class Files causing Trouble.zip, parseerror.txt > > > While editing Java sources in a maven-based multi-module NetBeans Platform > application on NetBeans 9.0 beta, the following IDE exception happens at > irregular intervals, while editing unrelated files in a different module: > {noformat} > ALL [null]: An error occurred during parsing of > '/var/folders/38/g_r_gdts0wx49_kbz5sjfj30gn/T/vcs-1518825448194/vcs-1519673427266/FilterPanel.java'. > Please report a bug against java/source and attach dump file > '/Users/ebakke/Library/Application > Support/NetBeans/dev/var/log/FilterPanel_8.dump'. > {noformat} > See the attached text file for the complete log dump and stack trace (can't > attach the ".dump" file as it contains source code). The source file in > question, FilterPanel.java, is generated in part by the Matisse GUI builder > (so there's also a FilterPanel.form file). I've also got maven > Compile-on-Save enabled. > At other times, occasionally when running the same NetBeans Platform-based > application, the application itself throws the following exception, > mentioning the same file: > {noformat} > java.lang.ClassFormatError: Absent Code attribute in method that is not > native or abstract in class file com/somepackage/project/filter/FilterPanel$2 > {noformat} > See again the attached text file for the complete log dump and stack trace. > -- 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-430) "Invalid or deleted file", "Absent Code attribute" exceptions during Java editing and app/test running
[ https://issues.apache.org/jira/browse/NETBEANS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16418222#comment-16418222 ] Eirik Bakke commented on NETBEANS-430: -- The error occurred again today when I was starting my NetBeans Platform app: "java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file com/sieuferd/datamodel/ViewPropertyTypes$3". This is a Maven-based NetBeans platform application with Compile-on-Save enabled, so there are two different versions of the ViewPropertyTypes.class and ViewPropertyTypes$3.class files: one pair in the JAR file that was built on the last clean build (with last-modified-date March 21), and one pair in the "common-datamodel/target/classes/com/sieuferd/datamodel" directory that were generated by Compile-on-Save (with last-modified-date March 23). Note that I have never edited the ViewPropertyTypes source since the last Compile-on-Save, but Compile-on-Save has regenerated it for some reason. If I do edit the source file, the class files are indeed regenerated with a last-modified-date of today. The error still occurs, until the next clean build. The pairs of class files are attached, along with the console output. > "Invalid or deleted file", "Absent Code attribute" exceptions during Java > editing and app/test running > -- > > Key: NETBEANS-430 > URL: https://issues.apache.org/jira/browse/NETBEANS-430 > Project: NetBeans > Issue Type: Bug > Components: guibuilder - Code, java - Classfile, java - Source, > projects - Maven >Affects Versions: 9.0 > Environment: Apache NetBeans IDE Dev (Build > incubator-netbeans-release-205-on-20180202), OpenJDK 64-Bit Server VM > 9.0.4.1+11, Mac OS X version 10.9.5 >Reporter: Eirik Bakke >Priority: Major > Attachments: Class Files causing Trouble.zip, parseerror.txt > > > While editing Java sources in a maven-based multi-module NetBeans Platform > application on NetBeans 9.0 beta, the following IDE exception happens at > irregular intervals, while editing unrelated files in a different module: > {noformat} > ALL [null]: An error occurred during parsing of > '/var/folders/38/g_r_gdts0wx49_kbz5sjfj30gn/T/vcs-1518825448194/vcs-1519673427266/FilterPanel.java'. > Please report a bug against java/source and attach dump file > '/Users/ebakke/Library/Application > Support/NetBeans/dev/var/log/FilterPanel_8.dump'. > {noformat} > See the attached text file for the complete log dump and stack trace (can't > attach the ".dump" file as it contains source code). The source file in > question, FilterPanel.java, is generated in part by the Matisse GUI builder > (so there's also a FilterPanel.form file). I've also got maven > Compile-on-Save enabled. > At other times, occasionally when running the same NetBeans Platform-based > application, the application itself throws the following exception, > mentioning the same file: > {noformat} > java.lang.ClassFormatError: Absent Code attribute in method that is not > native or abstract in class file com/somepackage/project/filter/FilterPanel$2 > {noformat} > See again the attached text file for the complete log dump and stack trace. > -- 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-542) Cannot quit 2nd instance of Netbeans
Dave D created NETBEANS-542: --- Summary: Cannot quit 2nd instance of Netbeans Key: NETBEANS-542 URL: https://issues.apache.org/jira/browse/NETBEANS-542 Project: NetBeans Issue Type: Bug Affects Versions: 8.2 Environment: java version "9.0.1" Java(TM) SE Runtime Environment (build 9.0.1+11) Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode) ProductName:Mac OS X ProductVersion: 10.13.3 BuildVersion: 17D102 Model Name: iMac Model Identifier: iMac17,1 Processor Name: Intel Core i7 Processor Speed: 4 GHz Number of Processors: 1 Total Number of Cores:4 L2 Cache (per Core): 256 KB L3 Cache: 8 MB Memory: 32 GB Boot ROM Version: IM171.0110.B00 SMC Version (system): 2.34f2 Reporter: Dave D Fix For: 8.2 Cannot quit 2nd (ghost) instance of application, or restart computer. Steps to reproduce: - Open Netbeans - Re-open Netbeans while it is currently open Now two Netbeans icons will display in the Dock. The original version can be quit normally. The newly opened version shows "Application not Responding" when right-clicking its icon in the Dock. It cannot be force quit via the Dock or via Apple's "Force Quit Applications" window, and cannot be located in Activity Monitor. Whatever is running (or starting to run and never fully opening) prevents user logout or standard shutdown. The only remedy is a sudo shutdown via Terminal, or holding down the power button to forcibly shut down. Note that this bug has been reported at netbeans.org, but the thread seems to be dead, with no developer activity/response in the last few years, that I can see. I'm starting a new issue here in hopes the problem will be addressed at all, and/or some workaround suggested by the NB dev team besides forcible system shutdown. java version "9.0.1" Java(TM) SE Runtime Environment (build 9.0.1+11) Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode) ProductName:Mac OS X ProductVersion: 10.13.3 BuildVersion: 17D102 Model Name: iMac Model Identifier: iMac17,1 Processor Name: Intel Core i7 Processor Speed: 4 GHz Number of Processors: 1 Total Number of Cores:4 L2 Cache (per Core): 256 KB L3 Cache: 8 MB Memory: 32 GB Boot ROM Version: IM171.0110.B00 SMC Version (system): 2.34f2 -- 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-541) Mercurial command Backout invokes external tool for resolve conflict
[ https://issues.apache.org/jira/browse/NETBEANS-541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vldimir Orlyansky updated NETBEANS-541: --- Description: This Issue was found through NetCat 9 Windows 10. JDK 8 and 10. NetBeans build 379 Mercurial command Team-Recover-Backout invokes external tool for resolve conflict. In my case NetBeans invokes TortoiseSVN (Tortoise for subversion) diff. Conflicts can be fixed by external tool. NetBeans can work with such "external" tool. So problem is only one, NetBeans uses external tool for resolve modification instead using internal NetBeans tool for resolve conflicts. was: This Issue was found through NetCat 9 Mercurial command Team-Recover-Backout invokes external tool for resolve conflict. In my case NetBeans invokes TortoiseSVN (Tortoise for subversion) diff. Conflicts can be fixed by external tool. NetBeans can work with such "external" tool. So problem is only one, NetBeans uses external tool for resolve modification instead using internal NetBeans tool for resolve conflicts. > Mercurial command Backout invokes external tool for resolve conflict > > > Key: NETBEANS-541 > URL: https://issues.apache.org/jira/browse/NETBEANS-541 > Project: NetBeans > Issue Type: Bug > Components: versioncontrol - Mercurial >Reporter: Vldimir Orlyansky >Priority: Trivial > > This Issue was found through NetCat 9 > Windows 10. > JDK 8 and 10. > NetBeans build 379 > Mercurial command Team-Recover-Backout invokes external tool for resolve > conflict. In my case NetBeans invokes TortoiseSVN (Tortoise for subversion) > diff. > Conflicts can be fixed by external tool. NetBeans can work with such > "external" tool. > So problem is only one, NetBeans uses external tool for resolve modification > instead using internal NetBeans tool for resolve conflicts. -- 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-541) Mercurial command Backout invokes external tool for resolve conflict
Vldimir Orlyansky created NETBEANS-541: -- Summary: Mercurial command Backout invokes external tool for resolve conflict Key: NETBEANS-541 URL: https://issues.apache.org/jira/browse/NETBEANS-541 Project: NetBeans Issue Type: Bug Components: versioncontrol - Mercurial Reporter: Vldimir Orlyansky This Issue was found through NetCat 9 Mercurial command Team-Recover-Backout invokes external tool for resolve conflict. In my case NetBeans invokes TortoiseSVN (Tortoise for subversion) diff. Conflicts can be fixed by external tool. NetBeans can work with such "external" tool. So problem is only one, NetBeans uses external tool for resolve modification instead using internal NetBeans tool for resolve conflicts. -- 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-540) Mercurial versioning. Lost diff history after refactoring
[ https://issues.apache.org/jira/browse/NETBEANS-540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vldimir Orlyansky updated NETBEANS-540: --- Description: Found through NetCat 9.0 After refactoring file Mercurial history from Editor page does not show diff to previous version. Search history for file does not show history before renaming (history for file when it had previous name). was: Found through NetCat 9.0 After refactoring file Mercurial history from Editor page does not show diff to previous version. Search history for file does not show history before renaming. > Mercurial versioning. Lost diff history after refactoring > - > > Key: NETBEANS-540 > URL: https://issues.apache.org/jira/browse/NETBEANS-540 > Project: NetBeans > Issue Type: Bug > Components: versioncontrol - Mercurial >Affects Versions: 9.0 >Reporter: Vldimir Orlyansky >Priority: Minor > > Found through NetCat 9.0 > After refactoring file Mercurial history from Editor page does not show diff > to previous version. > Search history for file does not show history before renaming (history for > file when it had previous name). -- 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-540) Mercurial versioning. Lost diff history after refactoring
[ https://issues.apache.org/jira/browse/NETBEANS-540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vldimir Orlyansky updated NETBEANS-540: --- Description: Found through NetCat 9.0 After refactoring file Mercurial history from Editor page does not show diff to previous version. Search history for file does not show history before renaming. was: Found through NetCat 9.0 After refactoring file history from Editor page does not show diff to previous version. Search history for file does not show history before renaming. Component/s: (was: versioncontrol - Git) versioncontrol - Mercurial Summary: Mercurial versioning. Lost diff history after refactoring (was: GIT versioning. Lost diff history after refactoring) > Mercurial versioning. Lost diff history after refactoring > - > > Key: NETBEANS-540 > URL: https://issues.apache.org/jira/browse/NETBEANS-540 > Project: NetBeans > Issue Type: Bug > Components: versioncontrol - Mercurial >Affects Versions: 9.0 >Reporter: Vldimir Orlyansky >Priority: Minor > > Found through NetCat 9.0 > After refactoring file Mercurial history from Editor page does not show diff > to previous version. > Search history for file does not show history before renaming. -- 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-540) GIT versioning. Lost diff history after refactoring
Vldimir Orlyansky created NETBEANS-540: -- Summary: GIT versioning. Lost diff history after refactoring Key: NETBEANS-540 URL: https://issues.apache.org/jira/browse/NETBEANS-540 Project: NetBeans Issue Type: Bug Components: versioncontrol - Git Affects Versions: 9.0 Reporter: Vldimir Orlyansky Found through NetCat 9.0 After refactoring file history from Editor page does not show diff to previous version. Search history for file does not show history before renaming. -- 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-284) Need a 32×32 icon for Java options
[ https://issues.apache.org/jira/browse/NETBEANS-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-284: Labels: pull-request-available (was: ) > Need a 32×32 icon for Java options > -- > > Key: NETBEANS-284 > URL: https://issues.apache.org/jira/browse/NETBEANS-284 > Project: NetBeans > Issue Type: Bug > Components: editor - Options >Reporter: Daniel Trebbien >Priority: Minor > Labels: pull-request-available > Attachments: Screen Shot 2018-01-16 at 9.55.54 AM.png > > > The {{ContainerRegistration}} for Java options, defined in > {{options.java/src/org/netbeans/modules/options/java/resources/package-info.java}}, > is currently using a 20×20 iconBase, whereas other options icons are 32×32. > This makes the icon look smaller than the others in *NetBeans > > Preferences…*. See the attached screenshot. -- 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-286) Java Section misaligned in Options Dialog
[ https://issues.apache.org/jira/browse/NETBEANS-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Bläsing resolved NETBEANS-286. --- Resolution: Duplicate > Java Section misaligned in Options Dialog > - > > Key: NETBEANS-286 > URL: https://issues.apache.org/jira/browse/NETBEANS-286 > Project: NetBeans > Issue Type: Bug > Components: platform - OptionsSettings >Affects Versions: 9.0 > Environment: Windows 7 > JDK 9.0.4 >Reporter: Vano Beridze >Priority: Minor > Attachments: Bug1.PNG > > > Please see attachment -- 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] [Comment Edited] (NETBEANS-532) NPE running profiler
[ https://issues.apache.org/jira/browse/NETBEANS-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16418004#comment-16418004 ] Eric Barboni edited comment on NETBEANS-532 at 3/28/18 7:44 PM: You take a specific build from here ? https://builds.apache.org/view/Incubator%20Projects/job/incubator-netbeans-release/242/ wich one ? was (Author: skygo): You take a specific build from here ? https://builds.apache.org/view/Incubator%20Projects/job/incubator-netbeans-release/242/ > NPE running profiler > > > Key: NETBEANS-532 > URL: https://issues.apache.org/jira/browse/NETBEANS-532 > Project: NetBeans > Issue Type: Bug > Components: profiler - Base >Affects Versions: 9.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-release-242-on-20180323) > Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46 > Runtime: Java(TM) SE Runtime Environment 10+46 > System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb) > User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev > Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev >Reporter: Gili >Priority: Critical > Labels: jdk10 > > When running the profiler on a Maven project I get: > {code} > java.lang.NullPointerException > at > org.netbeans.modules.profiler.v2.features.MethodsFeature$9.getProfilerClient(MethodsFeature.java:515) > at > org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.initUI(MethodsFeatureUI.java:222) > at > org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.getResultsUI(MethodsFeatureUI.java:100) > at > org.netbeans.modules.profiler.v2.features.MethodsFeature.getResultsUI(MethodsFeature.java:492) > at > org.netbeans.modules.profiler.v2.impl.FeaturesView.createContainer(FeaturesView.java:149) > at > org.netbeans.modules.profiler.v2.impl.FeaturesView.addFeature(FeaturesView.java:134) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.updateFeatures(ProfilerWindow.java:373) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.popupulateUI(ProfilerWindow.java:275) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.access$200(ProfilerWindow.java:132) > at > org.netbeans.modules.profiler.v2.ProfilerWindow$1$1.run(ProfilerWindow.java:200) > at > java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313) > at > java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) > at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) > at java.base/java.security.AccessController.doPrivileged(Native Method) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740) > at > org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) > [catch] at > java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at > java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) > {code} > This issues 100% of the time. -- 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-532) NPE running profiler
[ https://issues.apache.org/jira/browse/NETBEANS-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16418004#comment-16418004 ] Eric Barboni commented on NETBEANS-532: --- You take a specific build from here ? https://builds.apache.org/view/Incubator%20Projects/job/incubator-netbeans-release/242/ > NPE running profiler > > > Key: NETBEANS-532 > URL: https://issues.apache.org/jira/browse/NETBEANS-532 > Project: NetBeans > Issue Type: Bug > Components: profiler - Base >Affects Versions: 9.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-release-242-on-20180323) > Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46 > Runtime: Java(TM) SE Runtime Environment 10+46 > System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb) > User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev > Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev >Reporter: Gili >Priority: Critical > Labels: jdk10 > > When running the profiler on a Maven project I get: > {code} > java.lang.NullPointerException > at > org.netbeans.modules.profiler.v2.features.MethodsFeature$9.getProfilerClient(MethodsFeature.java:515) > at > org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.initUI(MethodsFeatureUI.java:222) > at > org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.getResultsUI(MethodsFeatureUI.java:100) > at > org.netbeans.modules.profiler.v2.features.MethodsFeature.getResultsUI(MethodsFeature.java:492) > at > org.netbeans.modules.profiler.v2.impl.FeaturesView.createContainer(FeaturesView.java:149) > at > org.netbeans.modules.profiler.v2.impl.FeaturesView.addFeature(FeaturesView.java:134) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.updateFeatures(ProfilerWindow.java:373) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.popupulateUI(ProfilerWindow.java:275) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.access$200(ProfilerWindow.java:132) > at > org.netbeans.modules.profiler.v2.ProfilerWindow$1$1.run(ProfilerWindow.java:200) > at > java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313) > at > java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) > at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) > at java.base/java.security.AccessController.doPrivileged(Native Method) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740) > at > org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) > [catch] at > java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at > java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) > {code} > This issues 100% of the time. -- 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-539) Profiler Not Functioning on JDK 10
[ https://issues.apache.org/jira/browse/NETBEANS-539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16417996#comment-16417996 ] Eric Barboni commented on NETBEANS-539: --- Hi. Just a link to another issue that show fail of profiler on jdk 10. No error popup, NPE only > Profiler Not Functioning on JDK 10 > -- > > Key: NETBEANS-539 > URL: https://issues.apache.org/jira/browse/NETBEANS-539 > Project: NetBeans > Issue Type: Bug > Components: cnd - Profile >Affects Versions: 9.0 >Reporter: Josh Juneau >Priority: Major > > Testing the profiler with AnagramGame works fine with JDK8. However, if > NetBeans 9 is running under JDK10, the profiler does not start when the > “Profile” button is pressed. The text “Build Successful” is displayed in the > output window. -- 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-134) Remove false positive reported rat file
[ https://issues.apache.org/jira/browse/NETBEANS-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Bläsing resolved NETBEANS-134. --- Resolution: Fixed > Remove false positive reported rat file > --- > > Key: NETBEANS-134 > URL: https://issues.apache.org/jira/browse/NETBEANS-134 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Harness >Affects Versions: 9.0 >Reporter: Eric Barboni >Priority: Minor > Labels: pull-request-available > > Some file are put in the source folder of each module during build. > Doing rat report on allready builded Apache Netbeans will create a lots of > false positive. > Everything ignored by git should be excluded from rat report. -- 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-128) NetBeans platform shall not contain IDE launchers
[ https://issues.apache.org/jira/browse/NETBEANS-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Bläsing resolved NETBEANS-128. --- Resolution: Fixed Fix Version/s: 9.0 According to the comments this is fixed. > NetBeans platform shall not contain IDE launchers > -- > > Key: NETBEANS-128 > URL: https://issues.apache.org/jira/browse/NETBEANS-128 > Project: NetBeans > Issue Type: Bug > Components: platform - LaunchersCLI >Reporter: Jaroslav Tulach >Assignee: Jan Lahoda >Priority: Major > Labels: pull-request-available > Fix For: 9.0 > > > After downloading the build #63 of > https://builds.apache.org/view/Incubator%20Projects/job/incubator-netbeans-release/ > I realized that it contains bits that don't belong to the NetBeans Platform. > {code} > $ find netbeans/bin/ netbeans/etc/ > netbeans/bin/ > netbeans/bin/netbeans > netbeans/bin/netbeans64.exe > netbeans/bin/netbeans.exe > netbeans/etc/ > netbeans/etc/netbeans.conf > netbeans/etc/netbeans.import > netbeans/etc/netbeans.clusters > {code} > not only that these launchers are IDE specific. They don't even work. > Invoking {{/netbeans/bin/netbeans}} yields an exception. > Please remove these extra bits. -- 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-538) A java.lang.StackOverflowError exception has occurred.
[ https://issues.apache.org/jira/browse/NETBEANS-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Viktorie Novotná updated NETBEANS-538: -- Description: 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. was: 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. > 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á >Priority: Critical > Attachments: Snímek obrazovky pořízený 2018-03-28 21-14-01.png > > > 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:
[jira] [Resolved] (NETBEANS-69) Add DISCLAIMER
[ https://issues.apache.org/jira/browse/NETBEANS-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Bläsing resolved NETBEANS-69. -- Resolution: Fixed Fix Version/s: 9.0 The file was added. > Add DISCLAIMER > -- > > Key: NETBEANS-69 > URL: https://issues.apache.org/jira/browse/NETBEANS-69 > Project: NetBeans > Issue Type: Bug >Reporter: Geertjan Wielenga >Priority: Major > Fix For: 9.0 > > > Apache NetBeans is an effort undergoing incubation at The Apache Software > Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of > all newly accepted projects until a further review indicates that the > infrastructure, communications, and decision making process have stabilized in > a manner consistent with other successful ASF projects. While incubation > status is not necessarily a reflection of the completeness or stability of the > code, it does indicate that the project has yet to be fully endorsed by the > ASF. -- 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-65) Add .gitignore
[ https://issues.apache.org/jira/browse/NETBEANS-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Bläsing resolved NETBEANS-65. -- Resolution: Fixed Fix Version/s: 9.0 .gitignore was added to the repository long ago. So closing this. > Add .gitignore > -- > > Key: NETBEANS-65 > URL: https://issues.apache.org/jira/browse/NETBEANS-65 > Project: NetBeans > Issue Type: Bug >Reporter: Jan Lahoda >Priority: Major > Fix For: 9.0 > > > .gitignore needs to be added to avoid confusing output of git status. > Besides usual build artefacts that needs to be ignored, there's a number of > files that are placed by the build inside the source (and other) directories. > These should be ignored for now, but handled better eventually. -- 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-539) Profiler Not Functioning on JDK 10
Josh Juneau created NETBEANS-539: Summary: Profiler Not Functioning on JDK 10 Key: NETBEANS-539 URL: https://issues.apache.org/jira/browse/NETBEANS-539 Project: NetBeans Issue Type: Bug Components: cnd - Profile Affects Versions: 9.0 Reporter: Josh Juneau Testing the profiler with AnagramGame works fine with JDK8. However, if NetBeans 9 is running under JDK10, the profiler does not start when the “Profile” button is pressed. The text “Build Successful” is displayed in the output window. -- 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-538) A java.lang.StackOverflowError exception has occurred.
Viktorie Novotná created NETBEANS-538: - Summary: 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á Attachments: Snímek obrazovky pořízený 2018-03-28 21-14-01.png 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
[jira] [Resolved] (NETBEANS-262) JavaDoc can't be displayed in the browser
[ https://issues.apache.org/jira/browse/NETBEANS-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Bläsing resolved NETBEANS-262. --- Resolution: Fixed The fix has hit master and so the issue is fixed. NETBEANS-461 was reopened by the submitted, so that he can close it if a new build with the fix is done. > JavaDoc can't be displayed in the browser > - > > Key: NETBEANS-262 > URL: https://issues.apache.org/jira/browse/NETBEANS-262 > Project: NetBeans > Issue Type: Bug > Components: ide - UI >Affects Versions: 9.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-release-168-on-20180110) > Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11 > Runtime: Java(TM) SE Runtime Environment 9.0.1+11 > System: Windows 10 version 10.0 running on amd64; Cp1252; en (nb) >Reporter: Thomas Kellerer >Priority: Major > > When trying to display the JavaDocs for the class at the cursor location > ("Alt-F1") an exception is thrown: > {noformat}java.lang.NoClassDefFoundError: Could not initialize class > org.netbeans.modules.extbrowser.NbDdeBrowserImpl > at > org.netbeans.modules.extbrowser.FirefoxBrowser.createHtmlBrowserImpl(FirefoxBrowser.java:81) > at > org.netbeans.core.NbURLDisplayer.warmBrowserUp(NbURLDisplayer.java:100) > at org.netbeans.core.NbURLDisplayer.access$000(NbURLDisplayer.java:47) > at org.netbeans.core.NbURLDisplayer$1.run(NbURLDisplayer.java:59) > Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to > at org.openide.util.RequestProcessor.post(RequestProcessor.java:395) > at org.netbeans.core.NbURLDisplayer.showURL(NbURLDisplayer.java:55) > at > org.netbeans.modules.editor.java.GoToSupport$3.run(GoToSupport.java:212) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) > 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:81) > at > org.netbeans.modules.editor.java.GoToSupport.performGoToImpl(GoToSupport.java:189) > at > org.netbeans.modules.editor.java.GoToSupport.access$100(GoToSupport.java:116) > at > org.netbeans.modules.editor.java.GoToSupport$2.run(GoToSupport.java:170) > at > org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:146) > 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) > [catch] at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > {noformat} > This is when using "Firefox" as the browser in the options dialog. > When I try to configure the "Firefox" entry by clickin on "Edit" the > following exception is thrown: > {noformat}java.lang.NoClassDefFoundError: Could not initialize class > org.netbeans.modules.extbrowser.NbDdeBrowserImpl > at > org.netbeans.modules.extbrowser.SystemDefaultBrowser.defaultBrowserExecutable(SystemDefaultBrowser.java:144) > at > org.netbeans.modules.extbrowser.ExtWebBrowser.getBrowserExecutable(ExtWebBrowser.java:217) > Caused: java.lang.reflect.InvocationTargetException > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:564) > at > org.openide.nodes.PropertySupport$Reflection.getValue(PropertySupport.java:264) > at > org.openide.explorer.propertysheet.PropUtils.updateEdFromProp(PropUtils.java:876) > at >
[jira] [Assigned] (NETBEANS-497) New Fix hint for var compound declaration
[ https://issues.apache.org/jira/browse/NETBEANS-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vikas kumar prabhakar reassigned NETBEANS-497: -- Assignee: vikas kumar prabhakar (was: Reema Taneja) > New Fix hint for var compound declaration > - > > Key: NETBEANS-497 > URL: https://issues.apache.org/jira/browse/NETBEANS-497 > Project: NetBeans > Issue Type: Bug >Reporter: Reema Taneja >Assignee: vikas kumar prabhakar >Priority: Minor > Labels: JDK10-LVTI > > We should provide fix hint to convert invalid var syntax > var a = 2, b = 3.0; > to > var a = 2; > var b = 3.0; -- 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 #469 from EnricoScantamburlo/origin
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git commit f978fd69f1316b1de79cd30aafd5f1f7bcc35f8a Merge: c43c13e acaad32 Author: Matthias BläsingAuthorDate: Wed Mar 28 19:02:40 2018 +0200 Merge pull request #469 from EnricoScantamburlo/origin SystemOpenAction should use its own RequestProcessor core.ui/src/org/netbeans/core/ui/sysopen/SystemOpenAction.java | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) -- To stop receiving notification emails like this one, please contact matthiasblaes...@apache.org. - 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 master updated (c43c13e -> f978fd6)
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git. from c43c13e [NETBEANS-461] Better and more correct way to copy the extbrowser DLLs from the archive into the build. (#464) add acaad32 Now SystemOpenAction uses its onw RequestProcessor new f978fd6 Merge pull request #469 from EnricoScantamburlo/origin 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: core.ui/src/org/netbeans/core/ui/sysopen/SystemOpenAction.java | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) -- To stop receiving notification emails like this one, please contact matthiasblaes...@apache.org. - 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-465) Hint "Split into declaration and assignment" is not valid for var type.
[ https://issues.apache.org/jira/browse/NETBEANS-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vikas kumar prabhakar resolved NETBEANS-465. Resolution: Fixed Fix Version/s: Next The hints "Split into declaration and assignment" is discarded for var type variables. Code change details : https://github.com/apache/incubator-netbeans/pull/453 > Hint "Split into declaration and assignment" is not valid for var type. > --- > > Key: NETBEANS-465 > URL: https://issues.apache.org/jira/browse/NETBEANS-465 > Project: NetBeans > Issue Type: Bug >Reporter: vikas kumar prabhakar >Assignee: vikas kumar prabhakar >Priority: Trivial > Labels: JDK10-LVTI > Fix For: Next > > > Warning hint "Split into declaration and assignment" is not valid for var > type. > var v = 10; > Only declaration the var type variable causes the errors: > var v; -> cannot infer type for local variable v > (cannot use 'var' on variable without initializer) > The hints "Split into declaration and assignment" should not show for var > type declaration and assignments. -- 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-532) NPE running profiler
[ https://issues.apache.org/jira/browse/NETBEANS-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16417620#comment-16417620 ] Gili commented on NETBEANS-532: --- Also make sure you are running the exact same build as me. I've seen errors like this come and go across builds for some reason. Note that I also nuked the userdir and cachedir prior to running the repro steps. > NPE running profiler > > > Key: NETBEANS-532 > URL: https://issues.apache.org/jira/browse/NETBEANS-532 > Project: NetBeans > Issue Type: Bug > Components: profiler - Base >Affects Versions: 9.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-release-242-on-20180323) > Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46 > Runtime: Java(TM) SE Runtime Environment 10+46 > System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb) > User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev > Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev >Reporter: Gili >Priority: Critical > Labels: jdk10 > > When running the profiler on a Maven project I get: > {code} > java.lang.NullPointerException > at > org.netbeans.modules.profiler.v2.features.MethodsFeature$9.getProfilerClient(MethodsFeature.java:515) > at > org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.initUI(MethodsFeatureUI.java:222) > at > org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.getResultsUI(MethodsFeatureUI.java:100) > at > org.netbeans.modules.profiler.v2.features.MethodsFeature.getResultsUI(MethodsFeature.java:492) > at > org.netbeans.modules.profiler.v2.impl.FeaturesView.createContainer(FeaturesView.java:149) > at > org.netbeans.modules.profiler.v2.impl.FeaturesView.addFeature(FeaturesView.java:134) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.updateFeatures(ProfilerWindow.java:373) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.popupulateUI(ProfilerWindow.java:275) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.access$200(ProfilerWindow.java:132) > at > org.netbeans.modules.profiler.v2.ProfilerWindow$1$1.run(ProfilerWindow.java:200) > at > java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313) > at > java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) > at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) > at java.base/java.security.AccessController.doPrivileged(Native Method) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740) > at > org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) > [catch] at > java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at > java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) > {code} > This issues 100% of the time. -- 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-532) NPE running profiler
[ https://issues.apache.org/jira/browse/NETBEANS-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16417616#comment-16417616 ] Gili commented on NETBEANS-532: --- [~skygo] Updated repro steps: # Create a Java project (doesn't have to be Maven) # Click "Profile Project" button # Configure Session -> Methods # Exception thrown Does this work for you? > NPE running profiler > > > Key: NETBEANS-532 > URL: https://issues.apache.org/jira/browse/NETBEANS-532 > Project: NetBeans > Issue Type: Bug > Components: profiler - Base >Affects Versions: 9.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-release-242-on-20180323) > Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46 > Runtime: Java(TM) SE Runtime Environment 10+46 > System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb) > User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev > Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev >Reporter: Gili >Priority: Critical > Labels: jdk10 > > When running the profiler on a Maven project I get: > {code} > java.lang.NullPointerException > at > org.netbeans.modules.profiler.v2.features.MethodsFeature$9.getProfilerClient(MethodsFeature.java:515) > at > org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.initUI(MethodsFeatureUI.java:222) > at > org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.getResultsUI(MethodsFeatureUI.java:100) > at > org.netbeans.modules.profiler.v2.features.MethodsFeature.getResultsUI(MethodsFeature.java:492) > at > org.netbeans.modules.profiler.v2.impl.FeaturesView.createContainer(FeaturesView.java:149) > at > org.netbeans.modules.profiler.v2.impl.FeaturesView.addFeature(FeaturesView.java:134) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.updateFeatures(ProfilerWindow.java:373) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.popupulateUI(ProfilerWindow.java:275) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.access$200(ProfilerWindow.java:132) > at > org.netbeans.modules.profiler.v2.ProfilerWindow$1$1.run(ProfilerWindow.java:200) > at > java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313) > at > java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) > at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) > at java.base/java.security.AccessController.doPrivileged(Native Method) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740) > at > org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) > [catch] at > java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at > java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) > {code} > This issues 100% of the time. -- 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-348) Change DialogDisplayer.createDialog to be able to take a Window instead of a Frame
[ https://issues.apache.org/jira/browse/NETBEANS-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McDonnell updated NETBEANS-348: Priority: Minor (was: Blocker) > Change DialogDisplayer.createDialog to be able to take a Window instead of a > Frame > -- > > Key: NETBEANS-348 > URL: https://issues.apache.org/jira/browse/NETBEANS-348 > Project: NetBeans > Issue Type: Bug > Components: platform - Window System >Affects Versions: 9.0 >Reporter: Austin Stephens >Priority: Minor > > Blocking since this would be an API change. Depends on NETBEANS-320. -- 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-348) Change DialogDisplayer.createDialog to be able to take a Window instead of a Frame
[ https://issues.apache.org/jira/browse/NETBEANS-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16417428#comment-16417428 ] John McDonnell commented on NETBEANS-348: - made the priority minor > Change DialogDisplayer.createDialog to be able to take a Window instead of a > Frame > -- > > Key: NETBEANS-348 > URL: https://issues.apache.org/jira/browse/NETBEANS-348 > Project: NetBeans > Issue Type: Bug > Components: platform - Window System >Affects Versions: 9.0 >Reporter: Austin Stephens >Priority: Minor > > Blocking since this would be an API change. Depends on NETBEANS-320. -- 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-430) "Invalid or deleted file", "Absent Code attribute" exceptions during Java editing and app/test running
[ https://issues.apache.org/jira/browse/NETBEANS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16417353#comment-16417353 ] Eirik Bakke commented on NETBEANS-430: -- Will do. Thank you! > "Invalid or deleted file", "Absent Code attribute" exceptions during Java > editing and app/test running > -- > > Key: NETBEANS-430 > URL: https://issues.apache.org/jira/browse/NETBEANS-430 > Project: NetBeans > Issue Type: Bug > Components: guibuilder - Code, java - Classfile, java - Source, > projects - Maven >Affects Versions: 9.0 > Environment: Apache NetBeans IDE Dev (Build > incubator-netbeans-release-205-on-20180202), OpenJDK 64-Bit Server VM > 9.0.4.1+11, Mac OS X version 10.9.5 >Reporter: Eirik Bakke >Priority: Major > Attachments: parseerror.txt > > > While editing Java sources in a maven-based multi-module NetBeans Platform > application on NetBeans 9.0 beta, the following IDE exception happens at > irregular intervals, while editing unrelated files in a different module: > {noformat} > ALL [null]: An error occurred during parsing of > '/var/folders/38/g_r_gdts0wx49_kbz5sjfj30gn/T/vcs-1518825448194/vcs-1519673427266/FilterPanel.java'. > Please report a bug against java/source and attach dump file > '/Users/ebakke/Library/Application > Support/NetBeans/dev/var/log/FilterPanel_8.dump'. > {noformat} > See the attached text file for the complete log dump and stack trace (can't > attach the ".dump" file as it contains source code). The source file in > question, FilterPanel.java, is generated in part by the Matisse GUI builder > (so there's also a FilterPanel.form file). I've also got maven > Compile-on-Save enabled. > At other times, occasionally when running the same NetBeans Platform-based > application, the application itself throws the following exception, > mentioning the same file: > {noformat} > java.lang.ClassFormatError: Absent Code attribute in method that is not > native or abstract in class file com/somepackage/project/filter/FilterPanel$2 > {noformat} > See again the attached text file for the complete log dump and stack trace. > -- 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-454) AssertionError/"Wrong diagnostic handler ... DeferredDiagnosticHandler" when opening Java autocomplete
[ https://issues.apache.org/jira/browse/NETBEANS-454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16417354#comment-16417354 ] Eirik Bakke commented on NETBEANS-454: -- Will do--thanks! > AssertionError/"Wrong diagnostic handler ... DeferredDiagnosticHandler" when > opening Java autocomplete > -- > > Key: NETBEANS-454 > URL: https://issues.apache.org/jira/browse/NETBEANS-454 > Project: NetBeans > Issue Type: Bug > Components: editor - Completion Templates, java - Compiler >Affects Versions: 9.0 > Environment: Apache NetBeans IDE Dev (Build > incubator-netbeans-release-205-on-20180202) on OpenJDK 64-Bit Server VM > 9.0.4.1+11, Mac OS X version 10.9.5 running on x86_64; UTF-8; en_US (nb) >Reporter: Eirik Bakke >Priority: Major > Attachments: threaddump.txt > > > The following exception occurred while opening the autocomplete popup while > editing a Java file: > {noformat} > java.lang.AssertionError: Wrong diagnostic handler: > com.sun.tools.javac.util.Log$DeferredDiagnosticHandler@7f84b389 > {noformat} > > A long thread dump followed, which is attached. Reporting this as a new JIRA > issue since the old NetBeans exception reporter no longer seems to be in use. -- 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-536) Error while trying to reformat a specific file
Peter Steele created NETBEANS-536: - Summary: Error while trying to reformat a specific file Key: NETBEANS-536 URL: https://issues.apache.org/jira/browse/NETBEANS-536 Project: NetBeans Issue Type: Bug Components: cnd - Editor Affects Versions: 9.0 Reporter: Peter Steele Certain files that I have can't be reformatted using the reformat command while others can. The error I get is below java.lang.NullPointerException at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitForLoop(Reformatter.java:2512) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitForLoop(Reformatter.java:395) at com.sun.tools.javac.tree.JCTree$JCForLoop.accept(JCTree.java:1144) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:1760) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:395) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1038) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580) at org.netbeans.modules.java.source.save.Reformatter$Pretty.wrapStatement(Reformatter.java:4247) at org.netbeans.modules.java.source.save.Reformatter$Pretty.wrapStatement(Reformatter.java:4200) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitEnhancedForLoop(Reformatter.java:2542) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitEnhancedForLoop(Reformatter.java:395) at com.sun.tools.javac.tree.JCTree$JCEnhancedForLoop.accept(JCTree.java:1178) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:1760) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:395) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1038) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580) at org.netbeans.modules.java.source.save.Reformatter$Pretty.wrapStatement(Reformatter.java:4247) at org.netbeans.modules.java.source.save.Reformatter$Pretty.wrapStatement(Reformatter.java:4200) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitEnhancedForLoop(Reformatter.java:2542) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitEnhancedForLoop(Reformatter.java:395) at com.sun.tools.javac.tree.JCTree$JCEnhancedForLoop.accept(JCTree.java:1178) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:1760) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:395) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1038) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:1333) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:395) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:904) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:1026) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:395) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:812) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:580) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:627) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:395) at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:593) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56) at org.netbeans.modules.java.source.save.Reformatter$Pretty.reformat(Reformatter.java:512) at org.netbeans.modules.java.source.save.Reformatter.reformatImpl(Reformatter.java:226) at
[jira] [Commented] (NETBEANS-241) Migrate Exception Reporter to Apache
[ https://issues.apache.org/jira/browse/NETBEANS-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16417308#comment-16417308 ] will mason commented on NETBEANS-241: - * I have managed to access the Apache JIRA repository ** Netbeans 9-beta ** Java 10.00 ** Jira plugin 1.58 * I did have difficulty with Java 10 accessing the Apache repository ** So I backed-up to use Java 8u162 ** Established my connection and ** Restarted with Java 10 ** _so far so good_ * All that is OK and I'm getting KDE Wallet pop-up. ** I can't find KDE wallet on my desktop linux ** _Ergo_ I presume it is within Netbeans some place. ** It would be helpful if there were a config page (and if there IS a config tab, why is it so shy?). > Migrate Exception Reporter to Apache > > > Key: NETBEANS-241 > URL: https://issues.apache.org/jira/browse/NETBEANS-241 > Project: NetBeans > Issue Type: Improvement > Components: ide - Logger >Reporter: Gili >Priority: Major > > Expected behavior: Exception Reporter should file bugs in the new Apache JIRA > issue tracker instead of the old Bugzilla system. > It's not clear (to me at least) what metadata you need to store outside of > individual bug reports, so that needs to be fleshed out because Apache might > have provide the necessary infrastructure to host it. > This issue is related to NETBEANS-164 -- 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-531) "Duplicate method name in class" when running maven app with CoS enabled
[ https://issues.apache.org/jira/browse/NETBEANS-531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16417114#comment-16417114 ] Dusan Balek commented on NETBEANS-531: -- Hard to fix without additional information. Could you please attach the affected class file (and/or perhaps the corresponding java source file) to the issue? Also the exact steps to reproduce would be welcome. > "Duplicate method name in class" when running maven app with CoS > enabled > -- > > Key: NETBEANS-531 > URL: https://issues.apache.org/jira/browse/NETBEANS-531 > Project: NetBeans > Issue Type: Bug > Components: java - Classfile, java - Compiler, projects - Maven >Affects Versions: 9.0 > Environment: Apache NetBeans IDE Dev (Build > incubator-netbeans-release-205-on-20180202) on OpenJDK 64-Bit Server VM > 9.0.4.1+11, Mac OS X version 10.9.5 running on x86_64; UTF-8; en_US (nb) >Reporter: Eirik Bakke >Priority: Major > Attachments: duplicatenamesig.txt > > > On several occasions, when running a Maven-based NetBeans Platform app from > the IDE, the app fails with the exception "java.lang.ClassFormatError: > Duplicate method name in class file > com/somepackage/project/actions/SomeClass$1". I suspect this might be related > to the Compile-on-Save infrastructure. See attached log. A clean build of the > entire project is then required in order to make the application runnable > again. > Previous versions of NetBeans required a clean build after changing > annotations (see Bugzilla bug > [221781|https://netbeans.org/bugzilla/show_bug.cgi?id=221781]). However, this > new error appears even when no annotations have been changed. The specific > error message shown here is also new to me--it did not appear in previous > NetBeans versions. -- 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-532) NPE running profiler
[ https://issues.apache.org/jira/browse/NETBEANS-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16417062#comment-16417062 ] Eric Barboni commented on NETBEANS-532: --- I Gili, I was testing against jdk 10 but I have no NPE. Only an error window with the following text: Projects JAVA platform is not supported for profiling. Would it be possible to share a maven project so I can try a fair comparison? > NPE running profiler > > > Key: NETBEANS-532 > URL: https://issues.apache.org/jira/browse/NETBEANS-532 > Project: NetBeans > Issue Type: Bug > Components: profiler - Base >Affects Versions: 9.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-release-242-on-20180323) > Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46 > Runtime: Java(TM) SE Runtime Environment 10+46 > System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb) > User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev > Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev >Reporter: Gili >Priority: Critical > Labels: jdk10 > > When running the profiler on a Maven project I get: > {code} > java.lang.NullPointerException > at > org.netbeans.modules.profiler.v2.features.MethodsFeature$9.getProfilerClient(MethodsFeature.java:515) > at > org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.initUI(MethodsFeatureUI.java:222) > at > org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.getResultsUI(MethodsFeatureUI.java:100) > at > org.netbeans.modules.profiler.v2.features.MethodsFeature.getResultsUI(MethodsFeature.java:492) > at > org.netbeans.modules.profiler.v2.impl.FeaturesView.createContainer(FeaturesView.java:149) > at > org.netbeans.modules.profiler.v2.impl.FeaturesView.addFeature(FeaturesView.java:134) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.updateFeatures(ProfilerWindow.java:373) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.popupulateUI(ProfilerWindow.java:275) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.access$200(ProfilerWindow.java:132) > at > org.netbeans.modules.profiler.v2.ProfilerWindow$1$1.run(ProfilerWindow.java:200) > at > java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313) > at > java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) > at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) > at java.base/java.security.AccessController.doPrivileged(Native Method) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740) > at > org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) > [catch] at > java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at > java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) > {code} > This issues 100% of the time. -- 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