[jira] [Updated] (NETBEANS-4916) Remove confusing Compile on Save option from Gradle Projects
[ https://issues.apache.org/jira/browse/NETBEANS-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-4916: - Labels: pull-request-available (was: ) > Remove confusing Compile on Save option from Gradle Projects > > > Key: NETBEANS-4916 > URL: https://issues.apache.org/jira/browse/NETBEANS-4916 > Project: NetBeans > Issue Type: Improvement > Components: projects - Gradle >Reporter: Laszlo Kishalmi >Assignee: Laszlo Kishalmi >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > The Compile on Save functionality is not implemented. I have an old branch > for that from the pre NetBeans 11.0 days. > It is better to remove that option as Gradle has its own ways to achieve this. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4944) Gradle Project Wizard shall initialize the wrapper by default.
[ https://issues.apache.org/jira/browse/NETBEANS-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-4944: - Labels: pull-request-available (was: ) > Gradle Project Wizard shall initialize the wrapper by default. > -- > > Key: NETBEANS-4944 > URL: https://issues.apache.org/jira/browse/NETBEANS-4944 > Project: NetBeans > Issue Type: Improvement > Components: projects - Gradle >Reporter: Laszlo Kishalmi >Assignee: Laszlo Kishalmi >Priority: Minor > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > Just enable the wrapper creation by default. It makes Gradle projects more > predictable. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-4944) Gradle Project Wizard shall initialize the wrapper by default.
Laszlo Kishalmi created NETBEANS-4944: - Summary: Gradle Project Wizard shall initialize the wrapper by default. Key: NETBEANS-4944 URL: https://issues.apache.org/jira/browse/NETBEANS-4944 Project: NetBeans Issue Type: Improvement Components: projects - Gradle Reporter: Laszlo Kishalmi Assignee: Laszlo Kishalmi Just enable the wrapper creation by default. It makes Gradle projects more predictable. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch delivery updated (444dd9c -> a8dbed1)
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a change to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git. from 444dd9c [NETBEANS-4938] Fixed Gradle Java Frontend Application generation new e3d0dc6 Applying typescript hints new 69af749 Search for JDK in typical location new a41a490 Start the LanguageClient just once new bb591a8 Consistently using: Apache Netbeans Language Server new e38771f Only set the workspace setting when workspace.name is defined new a8dbed1 Merge pull request #2480 from JaroslavTulach/delivery The 4584 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: java/java.lsp.server/vscode/README.md| 13 ++ java/java.lsp.server/vscode/package.json | 8 +- java/java.lsp.server/vscode/src/extension.ts | 193 +-- 3 files changed, 136 insertions(+), 78 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch delivery updated: [NETBEANS-4938] Fixed Gradle Java Frontend Application generation
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a commit to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/delivery by this push: new 444dd9c [NETBEANS-4938] Fixed Gradle Java Frontend Application generation 444dd9c is described below commit 444dd9c6c6aac5bfe9aabb4e52504908a40596e8 Author: Laszlo Kishalmi AuthorDate: Sat Oct 24 18:41:47 2020 -0700 [NETBEANS-4938] Fixed Gradle Java Frontend Application generation --- java/gradle.htmlui/nbproject/project.xml | 9 +++ .../modules/gradle/htmlui/GradleArchetype.java | 75 +- .../htmlui/HtmlJavaApplicationProjectWizard.java | 51 --- .../modules/gradle/htmlui/resources/layer.xml | 3 + .../modules/gradle/htmlui/CreateArchetypeTest.java | 11 +++- 5 files changed, 77 insertions(+), 72 deletions(-) diff --git a/java/gradle.htmlui/nbproject/project.xml b/java/gradle.htmlui/nbproject/project.xml index c2e4e15..64ef014 100644 --- a/java/gradle.htmlui/nbproject/project.xml +++ b/java/gradle.htmlui/nbproject/project.xml @@ -59,6 +59,15 @@ + org.netbeans.modules.projectuiapi + + + +1 +1.98 + + + org.openide.dialogs diff --git a/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/GradleArchetype.java b/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/GradleArchetype.java index 10f33fe..8a590f1 100644 --- a/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/GradleArchetype.java +++ b/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/GradleArchetype.java @@ -18,59 +18,74 @@ */ package org.netbeans.modules.gradle.htmlui; -import java.io.IOException; +import java.io.File; import java.util.Enumeration; +import java.util.HashMap; +import java.util.LinkedList; +import java.util.List; import java.util.Map; -import org.netbeans.api.project.ProjectManager; -import org.netbeans.api.templates.FileBuilder; -import org.netbeans.api.templates.FileBuilder.Mode; +import org.netbeans.modules.gradle.spi.newproject.TemplateOperation; import org.openide.filesystems.FileObject; import org.openide.filesystems.FileUtil; import org.openide.util.MapFormat; public final class GradleArchetype { private final FileObject templates; -private final FileObject projectFo; +private final File rootDir; private final Map params; -public GradleArchetype(FileObject templates, FileObject projectFo, Map params) { +public GradleArchetype(FileObject templates, File rootDir, Map params) { this.templates = templates; -this.projectFo = projectFo; +this.rootDir = rootDir; this.params = params; } -public final void copyTemplates() throws IOException { +public final void copyTemplates(TemplateOperation ops) { MapFormat mf = new MapFormat(params); mf.setLeftBrace("${"); // NOI18N mf.setRightBrace("}"); // NOI18N +List projectDirs = new LinkedList<>(); +projectDirs.add(rootDir); + Enumeration en = templates.getChildren(true); while (en.hasMoreElements()) { FileObject template = en.nextElement(); -if (!template.isData()) { -continue; -} -String relativeParent = FileUtil.getRelativePath(templates, template.getParent()); -Object packageAttr = template.getAttribute("package"); // NOI18N -if (packageAttr instanceof String) { -String packageName = mf.format(packageAttr).replace('.', '/'); -relativeParent += "/" + packageName; -} -FileObject destinationFolder = FileUtil.createFolder(projectFo, relativeParent); +String relativePath = FileUtil.getRelativePath(templates, template); +if (template.isFolder()) { +File dir = new File(rootDir, relativePath); +ops.createFolder(dir); +Object projectAttr = template.getAttribute("project"); // NOI18N +if (Boolean.TRUE == projectAttr) { +projectDirs.add(dir); +} +} else if (template.isData()) { +Object packageAttr = template.getAttribute("package"); // NOI18N +if (packageAttr instanceof String) { +String relativeParent = FileUtil.getRelativePath(templates, template.getParent()); +String packageName = mf.format(packageAttr); +File sourceRoot = new File(rootDir, relativeParent); +ops.createPackage(sourceRoot, packageName);
[jira] [Commented] (NETBEANS-4914) Every day: Failed to find main.class; Editor autocomplete: Text disappears
[ https://issues.apache.org/jira/browse/NETBEANS-4914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17220235#comment-17220235 ] Laszlo Kishalmi commented on NETBEANS-4914: --- Please try to provide a minimal set of steps where it van be reproduced. > Every day: Failed to find main.class; Editor autocomplete: Text disappears > -- > > Key: NETBEANS-4914 > URL: https://issues.apache.org/jira/browse/NETBEANS-4914 > Project: NetBeans > Issue Type: Bug >Reporter: Fabian Siering >Priority: Major > > Since we 've updated to version 11.2 / 12.0, we have had constant problems > simply using the IDE: > 1. After changing the Project Group (Need to switch multiple times a day) the > ide cannot find the main.class. In the Project-Properties it is set to the > right file! > Cleaning and building the Projekt does not make a difference, after > restarting the IDE, everything works fine (Some times we need to restart the > IDE multiple times!) > 2. Sometimes the field/method autocomplete removes the entire text after > selection and it returns to ".". Example: > If I write "Hello" .toString () and want to insert the toString () through > auto-completion, everything disappears except for "Hello.". > This can only be fixed by restarting the IDE. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-4926) completely Stops after debugging
[ https://issues.apache.org/jira/browse/NETBEANS-4926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17220234#comment-17220234 ] Laszlo Kishalmi commented on NETBEANS-4926: --- What would this issue mean? > completely Stops after debugging > > > Key: NETBEANS-4926 > URL: https://issues.apache.org/jira/browse/NETBEANS-4926 > Project: NetBeans > Issue Type: Bug > Environment: Linux MInt Ulyana > NetBeans FlatPack >Reporter: Jorge M Morales >Priority: Critical > Attachments: Payroll.java > > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-4928) not enough memory in cache to debugg
[ https://issues.apache.org/jira/browse/NETBEANS-4928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-4928. --- Resolution: Information Provided Go to Tools >Options >Java > Maven > Index then Completely disable indexing Most probably you do not have enough disk space > not enough memory in cache to debugg > > > Key: NETBEANS-4928 > URL: https://issues.apache.org/jira/browse/NETBEANS-4928 > Project: NetBeans > Issue Type: Bug >Reporter: Jorge M Morales >Priority: Critical > > the compiler says that there is not enough memory in cache to transfer maven > repository index and I am not able to debug any program -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-4930) Upgrade Gradle Tooling to 6.7 for JDK 15 Support
[ https://issues.apache.org/jira/browse/NETBEANS-4930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-4930. --- Fix Version/s: 12.2 Resolution: Fixed > Upgrade Gradle Tooling to 6.7 for JDK 15 Support > > > Key: NETBEANS-4930 > URL: https://issues.apache.org/jira/browse/NETBEANS-4930 > Project: NetBeans > Issue Type: Improvement > Components: projects - Gradle >Reporter: Laszlo Kishalmi >Assignee: Laszlo Kishalmi >Priority: Critical > Labels: pull-request-available > Fix For: 12.2 > > Time Spent: 40m > Remaining Estimate: 0h > > Gradle 6.7 is the first version that supports JDK-15 which is the recent JDK. > It would be nice to include that in NetBeans 12.2 -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-4941) my netbeans compiler is to slow
[ https://issues.apache.org/jira/browse/NETBEANS-4941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17220231#comment-17220231 ] Laszlo Kishalmi commented on NETBEANS-4941: --- Again no information has been provided. > my netbeans compiler is to slow > --- > > Key: NETBEANS-4941 > URL: https://issues.apache.org/jira/browse/NETBEANS-4941 > Project: NetBeans > Issue Type: Bug >Reporter: Jorge M Morales >Priority: Major > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-4942) java lang assertion error
[ https://issues.apache.org/jira/browse/NETBEANS-4942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17220230#comment-17220230 ] Laszlo Kishalmi commented on NETBEANS-4942: --- Well, there is no stacktrace log provided, there is no correct version information, the attached java file seems to be Ok though.. > java lang assertion error > - > > Key: NETBEANS-4942 > URL: https://issues.apache.org/jira/browse/NETBEANS-4942 > Project: NetBeans > Issue Type: Bug > Environment: linux mint > netbeans >Reporter: Jorge M Morales >Priority: Critical > Attachments: PayrollDialog.java > > > I am having to many errors here can you please fix them all now > I have not had a response yet -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch delivery updated: Prevent NullPointerException from LSP HyperlinkProvider
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a commit to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/delivery by this push: new edf441e Prevent NullPointerException from LSP HyperlinkProvider edf441e is described below commit edf441ee6f96be68aa5fd1970672bec10fb909c5 Author: Matthias Bläsing AuthorDate: Sun Oct 25 00:17:02 2020 +0200 Prevent NullPointerException from LSP HyperlinkProvider The LSP HyperlinkProvider is registered for every document. It expects, that documents always provide token sequences. This assumption is invalid and the calls need to be guarded agains null token sequences. Observed backtrace: SEVERE [global] java.lang.NullPointerException at org.netbeans.modules.lsp.client.bindings.HyperlinkProviderImpl.getHyperlinkSpan(HyperlinkProviderImpl.java:76) at org.netbeans.modules.lsp.client.bindings.HyperlinkProviderImpl.isHyperlinkPoint(HyperlinkProviderImpl.java:62) at org.netbeans.lib.editor.hyperlink.HyperlinkOperation.findProvider(HyperlinkOperation.java:266) at org.netbeans.lib.editor.hyperlink.HyperlinkOperation.performHyperlinking(HyperlinkOperation.java:224) at org.netbeans.lib.editor.hyperlink.HyperlinkOperation.keyPressed(HyperlinkOperation.java:382) at java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:258) at java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:257) --- .../modules/lsp/client/bindings/HyperlinkProviderImpl.java | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/HyperlinkProviderImpl.java b/ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/HyperlinkProviderImpl.java index c087b67..eed30cd 100644 --- a/ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/HyperlinkProviderImpl.java +++ b/ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/HyperlinkProviderImpl.java @@ -72,14 +72,16 @@ public class HyperlinkProviderImpl implements HyperlinkProviderExt { try { //XXX: not really using the server, are we? int[] ident = Utilities.getIdentifierBlock((BaseDocument) doc, offset); +if (ident == null) { +return null; +} TokenSequence ts = TokenHierarchy.get(doc).tokenSequence(); +if (ts == null) { +return null; +} ts.move(offset); if (ts.moveNext() && ts.token().id() == TextmateTokenId.TEXTMATE) { -if (ident != null) { -return new int[] {ts.offset(), ts.offset() + ts.token().length()}; -} else { -return null; -} +return new int[]{ts.offset(), ts.offset() + ts.token().length()}; } return ident; } catch (BadLocationException ex) { - 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
commits@netbeans.apache.org
[ https://issues.apache.org/jira/browse/NETBEANS-4533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-4533. --- Fix Version/s: 12.2 Resolution: Fixed The fix is already available in NetBeans 12.2-beta1 and 12.2-beta2 the final 12.2 is scheduled in the second half of November > Chinese characters not displayed in table header for ordered column (Windows > Look&Feel) > --- > > Key: NETBEANS-4533 > URL: https://issues.apache.org/jira/browse/NETBEANS-4533 > Project: NetBeans > Issue Type: Bug > Components: platform - Outline&TreeTable > Environment: Windows 7, using the Windows Look and Feel. >Reporter: Adrien DE GEORGES >Assignee: Laszlo Kishalmi >Priority: Major > Labels: pull-request-available > Fix For: 12.2 > > Attachments: BugETableChinese.zip, ETableHeader.java.v8.2.patch > > Time Spent: 2h 50m > Remaining Estimate: 0h > > Scenario: > * Use the Windows Look and Feel in your Java application (with Metal: no > problem). > * Create a ETable with a column header having characters in Chinese or > Japanese (or any not supported by Tahoma font). > * When running the program, click on this header to sort the column => these > characters will be replaced by a square. > (small Maven project attached, with 1 class and one main method) > Root cause: > The headers of the sorted columns will be rendered in bold by the ETable, > which is done in "ETableHeader::getTableCellRendererComponent". This code > takes the font of the JLabel used for the rendering, and creates a similar > font in bold. For that, it does not uses "Font::deriveFont(...)" (because of > a 2005 bug with Apple's JVM), but uses "(new Font (label.getFont().getName(), > ...)". > Under Windows it is a problem: > * the default font (used here by the JLabel) is a composite font > * from what I understand, a composite font is a list of physical fonts, > which will be successively used to try to render a given character. > * this list of the physical fonts contains one that supports Chinese > characters. > * label.getFont().getName() retrieves the name of the first font of the > composite font, in the case of the Windows Look and Feel it is "Tahoma" > (which does not support Chinese). > * so the "new Font(...)" used as a header renderer will be only "Tahoma", > hence the square characters. > > The suggestion is to revert the patch from 2005 as it is not reproductible > anymore (change of JRE) > Old code: > // don't use deriveFont() - see #49973 for details > label.setFont (new Font (label.getFont ().getName (), Font.BOLD, > label.getFont ().getSize ())); > New code: > label.setFont(label.getFont().deriveFont(Font.BOLD)); > A patch is attached in the ticket. > Please note that this is a duplicate of a bug already logged in the old > Bugzilla : [https://bz.apache.org/netbeans/show_bug.cgi?id=270091] -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-4943) comment button doesn't work in gradle.build file
[ https://issues.apache.org/jira/browse/NETBEANS-4943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-4943. --- Resolution: Duplicate Well, you are not the first one, but thank you for your effort! > comment button doesn't work in gradle.build file > > > Key: NETBEANS-4943 > URL: https://issues.apache.org/jira/browse/NETBEANS-4943 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 12.1 > Environment: win 7, gradle 6.6, adoptOpenJdk15 >Reporter: Robert Allen >Assignee: Laszlo Kishalmi >Priority: Major > > The comment button does not work in gradle.build files. > > Based on past experiences here, I am sure no one else has ever been affected > by it but hey, who knows, always the first time right? -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4938) Missing sources & co. after creating Gradle Frontend App in 12.2-beta2
[ https://issues.apache.org/jira/browse/NETBEANS-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-4938: - Labels: pull-request-available (was: ) > Missing sources & co. after creating Gradle Frontend App in 12.2-beta2 > -- > > Key: NETBEANS-4938 > URL: https://issues.apache.org/jira/browse/NETBEANS-4938 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 12.2 >Reporter: Jaroslav Tulach >Assignee: Laszlo Kishalmi >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > I am trying to test > "New Project/Java with Gradle/Java Frontend Application" > on 12.2-beta2 of > {code:java} > bin/netbeans --userdir emptyud --jdkhome /jdk-11 > {code} > the project is generated, but it only shows a single node "Build Scripts". > Why? > Next step. Run "Build" from popup menu: "BUILD SUCCESSFUL". But still just a > single node "Build Scripts". > Invoked "Reload Project". Now there are three nodes: "Configurations" (no > children), "Build Scripts" and "Sub Projects" (no children). > Subsequent "Reaload Project" - shows "Sub Projects" children. Finally! > Opening the ":desktop" and ":web" projects seems to work OK. Just > "DesktopMain" class contains an error (cannot find "Demo" class). The same > for "BrowserMain" class. Giving up and restarting. > After the errors in "DesktopMain" and "BrowserMain" are gone. Moreover I can > also see the source packages for the main project (this time, it may not be > fully reliable). > Creating another "New Project/Java with Gradle/Java Frontend Application" > seems to exhibit the same behavior. E.g. only project with "Builds > Scripts"... then two reload project actions - sub projects visible. But still > no sources... > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-4943) comment button doesn't work in gradle.build file
Robert Allen created NETBEANS-4943: -- Summary: comment button doesn't work in gradle.build file Key: NETBEANS-4943 URL: https://issues.apache.org/jira/browse/NETBEANS-4943 Project: NetBeans Issue Type: Bug Components: projects - Gradle Affects Versions: 12.1 Environment: win 7, gradle 6.6, adoptOpenJdk15 Reporter: Robert Allen Assignee: Laszlo Kishalmi The comment button does not work in gradle.build files. Based on past experiences here, I am sure no one else has ever been affected by it but hey, who knows, always the first time right? -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-4942) java lang assertion error
Jorge M Morales created NETBEANS-4942: - Summary: java lang assertion error Key: NETBEANS-4942 URL: https://issues.apache.org/jira/browse/NETBEANS-4942 Project: NetBeans Issue Type: Bug Environment: linux mint netbeans Reporter: Jorge M Morales Attachments: PayrollDialog.java I am having to many errors here can you please fix them all now I have not had a response yet -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-4941) my netbeans compiler is to slow
Jorge M Morales created NETBEANS-4941: - Summary: my netbeans compiler is to slow Key: NETBEANS-4941 URL: https://issues.apache.org/jira/browse/NETBEANS-4941 Project: NetBeans Issue Type: Bug Reporter: Jorge M Morales -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-4938) Missing sources & co. after creating Gradle Frontend App in 12.2-beta2
[ https://issues.apache.org/jira/browse/NETBEANS-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17220206#comment-17220206 ] Laszlo Kishalmi commented on NETBEANS-4938: --- My first debug session is over on this. I can probably fix issue number 2, however I need [~jtulach] help fixing issue number 1. So the initial load of the project is actually seems to be good, as the Java frontend application creates almost empty build.gradle and settings.gradle first, then load the project into cache then updates the build and settings gradle, then opens the project, so if the project loaded into the cache with the final build scripts everything would be good at start. Issue number 1 is much harder and requires a good knowledge on how the Lookup system works. So the Lookup of NBGradleProjectImpl consists of a basic lookup created at: [https://github.com/apache/netbeans/blob/3a2cad159a2a60665653ce83a67547f679ec/extide/gradle/src/org/netbeans/modules/gradle/NbGradleProjectImpl.java#L161] and a plugin dependent ProxyLookup at [https://github.com/apache/netbeans/blob/3a2cad159a2a60665653ce83a67547f679ec/extide/gradle/src/org/netbeans/modules/gradle/NbGradleProjectImpl.java#L330] The issue is the following: # Project loads with no plugins, the base set of lookups registers a SourcesMerger # Initially the only Sources implementation is for GENERIC_SOURCE_TYPE for the project folder. # On reload through the PluginDependentLookup a new Sources implementation become available org.netbeans.modules.gradle.java.classpath.GradleSourcesImpl from the Gradle Java project # Unfortunately the SourceMerger is not pick up the new Sources implementations Interestingly it works the other way, when the GradleSourcesImpl is removed from the project lookup the SourceMerger is notified and removes the Java source groups. It is pretty easy to reproduce, I might be able to create a unittest for this. Just create a simple Java Class Library in the IDE. Open it's buildscript, remove everything except the first line and even comment out that one (apply plugin: 'java') The Java source group shall disappear from the project node when the file is saved. Remove the comments form the first line, then save. the source groups shall reappear, but it does not. > Missing sources & co. after creating Gradle Frontend App in 12.2-beta2 > -- > > Key: NETBEANS-4938 > URL: https://issues.apache.org/jira/browse/NETBEANS-4938 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 12.2 >Reporter: Jaroslav Tulach >Assignee: Laszlo Kishalmi >Priority: Major > > I am trying to test > "New Project/Java with Gradle/Java Frontend Application" > on 12.2-beta2 of > {code:java} > bin/netbeans --userdir emptyud --jdkhome /jdk-11 > {code} > the project is generated, but it only shows a single node "Build Scripts". > Why? > Next step. Run "Build" from popup menu: "BUILD SUCCESSFUL". But still just a > single node "Build Scripts". > Invoked "Reload Project". Now there are three nodes: "Configurations" (no > children), "Build Scripts" and "Sub Projects" (no children). > Subsequent "Reaload Project" - shows "Sub Projects" children. Finally! > Opening the ":desktop" and ":web" projects seems to work OK. Just > "DesktopMain" class contains an error (cannot find "Demo" class). The same > for "BrowserMain" class. Giving up and restarting. > After the errors in "DesktopMain" and "BrowserMain" are gone. Moreover I can > also see the source packages for the main project (this time, it may not be > fully reliable). > Creating another "New Project/Java with Gradle/Java Frontend Application" > seems to exhibit the same behavior. E.g. only project with "Builds > Scripts"... then two reload project actions - sub projects visible. But still > no sources... > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4940) Caret drawing problems over a TAB
[ https://issues.apache.org/jira/browse/NETBEANS-4940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-4940: - Labels: pull-request-available (was: ) > Caret drawing problems over a TAB > - > > Key: NETBEANS-4940 > URL: https://issues.apache.org/jira/browse/NETBEANS-4940 > Project: NetBeans > Issue Type: Bug > Components: editor - Other >Affects Versions: 12.1 >Reporter: Ernie Rael >Priority: Minor > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > To recreate. > # Open a file in the editor (emptyfile, java file,...) > # Insert a tab into the file > # Place the caret over the tab > Observe the caret as it blinks and notice that it only partially blanks. > There is a vertical artifact. > The jVi application uses a block caret (rather than a vertical line) and the > problem is more more pronounced. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-4940) Caret drawing problems over a TAB
Ernie Rael created NETBEANS-4940: Summary: Caret drawing problems over a TAB Key: NETBEANS-4940 URL: https://issues.apache.org/jira/browse/NETBEANS-4940 Project: NetBeans Issue Type: Bug Components: editor - Other Affects Versions: 12.1 Reporter: Ernie Rael To recreate. # Open a file in the editor (emptyfile, java file,...) # Insert a tab into the file # Place the caret over the tab Observe the caret as it blinks and notice that it only partially blanks. There is a vertical artifact. The jVi application uses a block caret (rather than a vertical line) and the problem is more more pronounced. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-2964) NPE when opening "DTD and XML Schemas"
[ https://issues.apache.org/jira/browse/NETBEANS-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Bläsing resolved NETBEANS-2964. Resolution: Incomplete On current master, the item opens cleanly. Maybe there there were broken references in older versions of Apache NetBeans. If this is still reproducible in 12.0 please reopen and attach the message.log file. > NPE when opening "DTD and XML Schemas" > -- > > Key: NETBEANS-2964 > URL: https://issues.apache.org/jira/browse/NETBEANS-2964 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.1 >Reporter: Jörg Delker >Priority: Major > > When clicking on "DTD and XML Schemas" in the Tools menu, no dialog opens. > But a notification icon on the bottom right indicates a NullPointerException. > The exception is thrown on every attempt and is 100% reproducable. > This is the related log record: > {{}} > {{ 2019-08-06T16:33:35}} > {{ 1565102015694}} > {{ 10283}} > {{ 700}} > {{ 2956}} > {{ UI_USER_CONFIGURATION}} > {{ UI_USER_CONFIGURATION}} > {{ org.netbeans.modules.uihandler.Bundle}} > {{ Mac OS X, 10.14.5, x86_64}} > {{ OpenJDK 64-Bit Server VM, 11.0.1+13, OpenJDK Runtime Environment, > 11.0.1+13}} > {{ Apache NetBeans IDE 11.1}} > {{ }} > {{ NullPointerException}} > {{reproduce>}} > {{ *}} > {{}} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-4939) NPE when creating/opening jsp files
Ghader Arkani created NETBEANS-4939: --- Summary: NPE when creating/opening jsp files Key: NETBEANS-4939 URL: https://issues.apache.org/jira/browse/NETBEANS-4939 Project: NetBeans Issue Type: Bug Affects Versions: 12.2 Environment: Windows 10 x64 AdoptOpenJDK jdk-8.0.265.01-hotspot Reporter: Ghader Arkani *Reproduce:* 1- Create a new web application 2- Add a new jsp file 3- Open jsp file Then a red notification appears with a null pointer exception message *The stack trace is:* java.lang.NullPointerExceptionjava.lang.NullPointerException at org.netbeans.modules.java.editor.base.semantic.TokenList.index(TokenList.java:364) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitExpressionStatement(SemanticHighlighterBase.java:740) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitExpressionStatement(SemanticHighlighterBase.java:280) at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1555) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:250) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1074) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90) at com.sun.source.util.TreeScanner.visitMethod(TreeScanner.java:208) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethod(SemanticHighlighterBase.java:789) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethod(SemanticHighlighterBase.java:280) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:940) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitClass(SemanticHighlighterBase.java:944) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitClass(SemanticHighlighterBase.java:280) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:846) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitCompilationUnit(SemanticHighlighterBase.java:561) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitCompilationUnit(SemanticHighlighterBase.java:280) at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:605) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) at org.netbeans.modules.java.ed
[jira] [Commented] (NETBEANS-4938) Missing sources & co. after creating Gradle Frontend App in 12.2-beta2
[ https://issues.apache.org/jira/browse/NETBEANS-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17220140#comment-17220140 ] Jaroslav Tulach commented on NETBEANS-4938: --- If I remember correctly the behavior was shaky in previous versions of NetBeans , but mostly working. Now it seems consistently broken. At least it is easier to reproduce. Thanks for looking at it. > Missing sources & co. after creating Gradle Frontend App in 12.2-beta2 > -- > > Key: NETBEANS-4938 > URL: https://issues.apache.org/jira/browse/NETBEANS-4938 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 12.2 >Reporter: Jaroslav Tulach >Assignee: Laszlo Kishalmi >Priority: Major > > I am trying to test > "New Project/Java with Gradle/Java Frontend Application" > on 12.2-beta2 of > {code:java} > bin/netbeans --userdir emptyud --jdkhome /jdk-11 > {code} > the project is generated, but it only shows a single node "Build Scripts". > Why? > Next step. Run "Build" from popup menu: "BUILD SUCCESSFUL". But still just a > single node "Build Scripts". > Invoked "Reload Project". Now there are three nodes: "Configurations" (no > children), "Build Scripts" and "Sub Projects" (no children). > Subsequent "Reaload Project" - shows "Sub Projects" children. Finally! > Opening the ":desktop" and ":web" projects seems to work OK. Just > "DesktopMain" class contains an error (cannot find "Demo" class). The same > for "BrowserMain" class. Giving up and restarting. > After the errors in "DesktopMain" and "BrowserMain" are gone. Moreover I can > also see the source packages for the main project (this time, it may not be > fully reliable). > Creating another "New Project/Java with Gradle/Java Frontend Application" > seems to exhibit the same behavior. E.g. only project with "Builds > Scripts"... then two reload project actions - sub projects visible. But still > no sources... > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-4938) Missing sources & co. after creating Gradle Frontend App in 12.2-beta2
[ https://issues.apache.org/jira/browse/NETBEANS-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17220138#comment-17220138 ] Laszlo Kishalmi commented on NETBEANS-4938: --- The configuration node being empty is a separate issue, I'm working on that, as of NETBEANS-3789. It will be in beta3 next week. (I'm shooting for today, though) The other one comes from some lookup update anomaly, that I need to check more deeply. When the project first opened it did not detect the plugins java and java-base on the root project, hence no source groups were created. So when you reloaded the project the plugins got detected, but the IDE failed to update on the sourcegroups. I assume the sub project were able to be opened correctly before [https://github.com/apache/netbeans/pull/2442] as the root project source groups were processed in the sub project as well, but now it shall be relying on the root project. So I need to fix: # When the project reloads would detect the new plugins, it shall update the sourcegroups (and their nodes) # When creating a new Java Frontend Application, it should detect the plugins on the first load. > Missing sources & co. after creating Gradle Frontend App in 12.2-beta2 > -- > > Key: NETBEANS-4938 > URL: https://issues.apache.org/jira/browse/NETBEANS-4938 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 12.2 >Reporter: Jaroslav Tulach >Assignee: Laszlo Kishalmi >Priority: Major > > I am trying to test > "New Project/Java with Gradle/Java Frontend Application" > on 12.2-beta2 of > {code:java} > bin/netbeans --userdir emptyud --jdkhome /jdk-11 > {code} > the project is generated, but it only shows a single node "Build Scripts". > Why? > Next step. Run "Build" from popup menu: "BUILD SUCCESSFUL". But still just a > single node "Build Scripts". > Invoked "Reload Project". Now there are three nodes: "Configurations" (no > children), "Build Scripts" and "Sub Projects" (no children). > Subsequent "Reaload Project" - shows "Sub Projects" children. Finally! > Opening the ":desktop" and ":web" projects seems to work OK. Just > "DesktopMain" class contains an error (cannot find "Demo" class). The same > for "BrowserMain" class. Giving up and restarting. > After the errors in "DesktopMain" and "BrowserMain" are gone. Moreover I can > also see the source packages for the main project (this time, it may not be > fully reliable). > Creating another "New Project/Java with Gradle/Java Frontend Application" > seems to exhibit the same behavior. E.g. only project with "Builds > Scripts"... then two reload project actions - sub projects visible. But still > no sources... > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-4938) Missing sources & co. after creating Gradle Frontend App in 12.2-beta2
[ https://issues.apache.org/jira/browse/NETBEANS-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17220136#comment-17220136 ] Laszlo Kishalmi commented on NETBEANS-4938: --- Thanks! Checking. > Missing sources & co. after creating Gradle Frontend App in 12.2-beta2 > -- > > Key: NETBEANS-4938 > URL: https://issues.apache.org/jira/browse/NETBEANS-4938 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 12.2 >Reporter: Jaroslav Tulach >Assignee: Laszlo Kishalmi >Priority: Major > > I am trying to test > "New Project/Java with Gradle/Java Frontend Application" > on 12.2-beta2 of > {code:java} > bin/netbeans --userdir emptyud --jdkhome /jdk-11 > {code} > the project is generated, but it only shows a single node "Build Scripts". > Why? > Next step. Run "Build" from popup menu: "BUILD SUCCESSFUL". But still just a > single node "Build Scripts". > Invoked "Reload Project". Now there are three nodes: "Configurations" (no > children), "Build Scripts" and "Sub Projects" (no children). > Subsequent "Reaload Project" - shows "Sub Projects" children. Finally! > Opening the ":desktop" and ":web" projects seems to work OK. Just > "DesktopMain" class contains an error (cannot find "Demo" class). The same > for "BrowserMain" class. Giving up and restarting. > After the errors in "DesktopMain" and "BrowserMain" are gone. Moreover I can > also see the source packages for the main project (this time, it may not be > fully reliable). > Creating another "New Project/Java with Gradle/Java Frontend Application" > seems to exhibit the same behavior. E.g. only project with "Builds > Scripts"... then two reload project actions - sub projects visible. But still > no sources... > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-4938) Missing sources & co. after creating Gradle Frontend App in 12.2-beta2
Jaroslav Tulach created NETBEANS-4938: - Summary: Missing sources & co. after creating Gradle Frontend App in 12.2-beta2 Key: NETBEANS-4938 URL: https://issues.apache.org/jira/browse/NETBEANS-4938 Project: NetBeans Issue Type: Bug Components: projects - Gradle Affects Versions: 12.2 Reporter: Jaroslav Tulach Assignee: Laszlo Kishalmi I am trying to test "New Project/Java with Gradle/Java Frontend Application" on 12.2-beta2 of {code:java} bin/netbeans --userdir emptyud --jdkhome /jdk-11 {code} the project is generated, but it only shows a single node "Build Scripts". Why? Next step. Run "Build" from popup menu: "BUILD SUCCESSFUL". But still just a single node "Build Scripts". Invoked "Reload Project". Now there are three nodes: "Configurations" (no children), "Build Scripts" and "Sub Projects" (no children). Subsequent "Reaload Project" - shows "Sub Projects" children. Finally! Opening the ":desktop" and ":web" projects seems to work OK. Just "DesktopMain" class contains an error (cannot find "Demo" class). The same for "BrowserMain" class. Giving up and restarting. After the errors in "DesktopMain" and "BrowserMain" are gone. Moreover I can also see the source packages for the main project (this time, it may not be fully reliable). Creating another "New Project/Java with Gradle/Java Frontend Application" seems to exhibit the same behavior. E.g. only project with "Builds Scripts"... then two reload project actions - sub projects visible. But still no sources... -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-4937) Plugins management
Alberto Candelaresi created NETBEANS-4937: - Summary: Plugins management Key: NETBEANS-4937 URL: https://issues.apache.org/jira/browse/NETBEANS-4937 Project: NetBeans Issue Type: Bug Environment: Linux Reporter: Alberto Candelaresi --- >Log Session: Saturday, October 24, 2020 at 1:05:55 PM Central European Summer >Time >System Info: Product Version = Apache NetBeans IDE 12.1 Operating System= Linux version 4.15.0-122-generic running on amd64 Java; VM; Vendor= 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 9.0.4+11 Java Home = /usr/lib/jvm/java-9-oracle System Locale; Encoding = it_IT (nb); UTF-8 Home Directory = /home/alberto Current Directory = /home/alberto User Directory = /home/alberto/snap/netbeans/common/data/12.1 Cache Directory = /home/alberto/snap/netbeans/common/cache/12.1 Installation= /snap/netbeans/35/netbeans/nb /snap/netbeans/35/netbeans/ergonomics /snap/netbeans/35/netbeans/ide /snap/netbeans/35/netbeans/extide /snap/netbeans/35/netbeans/java /snap/netbeans/35/netbeans/apisupport /snap/netbeans/35/netbeans/webcommon /snap/netbeans/35/netbeans/websvccommon /snap/netbeans/35/netbeans/enterprise /snap/netbeans/35/netbeans/profiler /snap/netbeans/35/netbeans/php /snap/netbeans/35/netbeans/harness /snap/netbeans/35/netbeans/cpplite /snap/netbeans/35/netbeans/groovy /snap/netbeans/35/netbeans/extra /snap/netbeans/35/netbeans/javafx /snap/netbeans/35/netbeans/platform Boot & Ext. Classpath = Application Classpath = /snap/netbeans/35/netbeans/platform/lib/boot.jar:/snap/netbeans/35/netbeans/platform/lib/org-openide-modules.jar:/snap/netbeans/35/netbeans/platform/lib/org-openide-util.jar:/snap/netbeans/35/netbeans/platform/lib/org-openide-util-lookup.jar:/snap/netbeans/35/netbeans/platform/lib/org-openide-util-ui.jar Startup Classpath = /snap/netbeans/35/netbeans/platform/core/asm-8.0.1.jar:/snap/netbeans/35/netbeans/platform/core/asm-commons-8.0.1.jar:/snap/netbeans/35/netbeans/platform/core/asm-tree-8.0.1.jar:/snap/netbeans/35/netbeans/platform/core/core-base.jar:/snap/netbeans/35/netbeans/platform/core/core.jar:/snap/netbeans/35/netbeans/platform/core/org-netbeans-libs-asm.jar:/snap/netbeans/35/netbeans/platform/core/org-openide-filesystems-compat8.jar:/snap/netbeans/35/netbeans/platform/core/org-openide-filesystems.jar:/snap/netbeans/35/netbeans/nb/core/org-netbeans-upgrader.jar:/snap/netbeans/35/netbeans/nb/core/locale/core_nb.jar --- INFO [org.netbeans.modules.netbinox]: Install area set to file:/snap/netbeans/35/netbeans/ WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.xml.text] use org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated. WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use org.netbeans.modules.editor.structure which is deprecated. WARNING [org.openide.filesystems.Ordering]: Found same position 1.000.000 for both Services/MIMEResolver/org-netbeans-modules-cpplite-editor-file-CDataObject-Extension.xml and Services/MIMEResolver/org-netbeans-modules-cpplite-editor-file-CPPDataObject-Extension.xml WARNING [org.openide.filesystems.Ordering]: Not all children in Services/MIMEResolver/ marked with the position attribute: [org-netbeans-modules-cpplite-editor-file-HDataObject-Extension.xml, org-netbeans-modules-cpplite-editor-file-HPPDataObject-Extension.xml], but some are: [org-openide-loaders-DataLoaderPool$InstanceLoaderSystem-Extension.xml, org-netbeans-core-startup-layers-SystemFileSystem-Extension.xml, org-netbeans-modules-java-JavaDataObject-Extension.xml, org-netbeans-modules-java-ClassDataObject-Extension.xml, org-netbeans-modules-image-ImageDataObject-serialVersionUID-Extension.xml, org-netbeans-modules-image-ImageDataObject-IMAGE_ICON_BASE-Extension.xml, org-netbeans-modules-image-ImageDataObject-openSupport-Extension.xml, org-netbeans-modules-image-ImageDataObject-printSupport-Extension.xml, org-netbeans-modules-properties-PropertiesDataObject-Extension.xml, org-netbeans-modules-javascript-gulp-file-Gulpfile-Registration.x
[jira] [Created] (NETBEANS-4936) Netbeans 12.1 lags system when run on a hard disk
Tony Thuitai created NETBEANS-4936: -- Summary: Netbeans 12.1 lags system when run on a hard disk Key: NETBEANS-4936 URL: https://issues.apache.org/jira/browse/NETBEANS-4936 Project: NetBeans Issue Type: Bug Affects Versions: 12.1 Environment: OS: Linux Mint 20 Cinnamon (Ubuntu 20.04 Base) Current Hard Disk: Seagate Laptop Thin HDD 7200rpm Processor: Intel i3 2 GhZ 5005U RAM: 4GB Reporter: Tony Thuitai When running Netbeans 12.1 which is installed on a system installed on a hard disk especially with either 5400 rpm or a 7200 rpm hard disk, the IDE when running lags the system. Closing Netbeans 12.1 stops the lag. Downgraded to Netbeans 12.0 until issue is fixed in Netbeans 12.2 or newer. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists