[jira] [Created] (NETBEANS-600) clang-format setting: custom binary file
Darek created NETBEANS-600: -- Summary: clang-format setting: custom binary file Key: NETBEANS-600 URL: https://issues.apache.org/jira/browse/NETBEANS-600 Project: NetBeans Issue Type: Improvement Components: editor - Formatting & Indentation Affects Versions: Next Reporter: Darek As clang-format is well known tool for C++ code formatting, and it is open source, it is common that its source code is shaped to meet ones additional expectations. Please provide Netbeans with option to set up custom clang-format binary file path to be used for code formatting (like for Build Tools). -- 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-599) Run File (not test file) on Test java file does not focus on output window
Manikantan Narender Nath created NETBEANS-599: - Summary: Run File (not test file) on Test java file does not focus on output window Key: NETBEANS-599 URL: https://issues.apache.org/jira/browse/NETBEANS-599 Project: NetBeans Issue Type: Bug Components: java - JUnit Affects Versions: 9.0 Reporter: Manikantan Narender Nath Test specification : [http://netbeans-vm.apache.org/synergy/client/app/#/specification/390/v/2] Test suite: [http://netbeans-vm.apache.org/synergy/client/app/#/suite/2236/v/1] Test case: [http://netbeans-vm.apache.org/synergy/client/app/#/case/6006/suite/2236/v/1] Steps to reproduce # start with clean user and cache dir # Create a new Netbeans Module project # Create a test case in the test packages # Select created test and choose Run|Run file Expected result Test is run and Output window is in focus Actual result Test is run but focus stays on Test results 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-598) Cannot test webapplication project
Manikantan Narender Nath created NETBEANS-598: - Summary: Cannot test webapplication project Key: NETBEANS-598 URL: https://issues.apache.org/jira/browse/NETBEANS-598 Project: NetBeans Issue Type: Bug Components: java - JUnit, javaee - Web Project Affects Versions: 9.0 Reporter: Manikantan Narender Nath Test specification: [http://netbeans-vm.apache.org/synergy/client/app/#/specification/390/v/2] Test suite: [http://netbeans-vm.apache.org/synergy/client/app/#/suite/2236/v/1] Test case: [http://netbeans-vm.apache.org/synergy/client/app/#/case/6007/suite/2236/v/1] Steps to reproduce # Start with a clean userdir and cache dir # Create a webapplication # Create an empty test in test packages # Running tests ## Select project and from menubar choose Run|Test project ## Select newly created test and choose from menubar Run|Test file Expected Result Tests are run Actual result Tests are not run and Output console shows error shown is "could not create Java virtual machine" along wiht stack trace Output console logs Running single test output {code:java} WARNING: multiple versions of ant detected in path for junit jar:file:/Users/msivasub/dev/NetCat9/netbeans/extide/ant/lib/ant.jar!/org/apache/tools/ant/Project.class and jar:file:/Users/msivasub/dev/NetCat9/gf/glassfish/modules/ant.jar!/org/apache/tools/ant/Project.class -Xbootclasspath/p is no longer a supported option. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Testsuite: teststorun.NewEmptyJUnitTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec Testcase: teststorun.NewEmptyJUnitTest:null: Caused an ERROR Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit. junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit. 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/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/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 org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128) Test teststorun.NewEmptyJUnitTest FAILED (crashed) test: Deleting: /var/folders/tv/81xtk0597qq97c2l_x4zym4hgp/T/TEST-teststorun.NewEmptyJUnitTest.xml BUILD SUCCESSFUL (total time: 1 second) {code} Running Test on whole project {code:java} ant -f /Users/msivasub/dev/NetCat9/NBProjects/WebApplication2 -Dnb.internal.action.name=test -DforceRedeploy=false -Dnb.wait.for.caches=true -Dbrowser.context=/Users/msivasub/dev/NetCat9/NBProjects/WebApplication2 -Dignore.failing.tests=true test init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-test: Created dir: /Users/msivasub/dev/NetCat9/NBProjects/WebApplication2/build/test/results WARNING: multiple versions of ant detected in path for junit jar:file:/Users/msivasub/dev/NetCat9/netbeans/extide/ant/lib/ant.jar!/org/apache/tools/ant/Project.class and jar:file:/Users/msivasub/dev/NetCat9/gf/glassfish/modules/ant.jar!/org/apache/tools/ant/Project.class -Xbootclasspath/p is no longer a supported option. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Testsuite: teststorun.NewEmptyJUnitTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec Testcase: teststorun.NewEmptyJUnitTest:null: Caused an ERROR Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit. junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit. at jdk.internal.reflect.GeneratedMethodAccessor81.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at jdk.internal.reflect.GeneratedMethodAccessor81.invoke(Unknown Source) at java
[incubator-netbeans] branch master updated: Allow action hiding in toolbars (#484)
This is an automated email from the ASF dual-hosted git repository. geertjan 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 7536abf Allow action hiding in toolbars (#484) 7536abf is described below commit 7536abf2e7f5ba384b4ed72666bec2386948d49d Author: Svatopluk Dedic AuthorDate: Wed Apr 4 22:10:39 2018 +0200 Allow action hiding in toolbars (#484) --- .../netbeans/modules/editor/NbEditorToolBar.java | 76 +- openide.awt/src/org/openide/awt/Actions.java | 9 ++- 2 files changed, 83 insertions(+), 2 deletions(-) diff --git a/editor/src/org/netbeans/modules/editor/NbEditorToolBar.java b/editor/src/org/netbeans/modules/editor/NbEditorToolBar.java index c7ad16b..4821a52 100644 --- a/editor/src/org/netbeans/modules/editor/NbEditorToolBar.java +++ b/editor/src/org/netbeans/modules/editor/NbEditorToolBar.java @@ -28,6 +28,7 @@ import java.awt.event.KeyEvent; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt.event.MouseMotionListener; +import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.lang.ref.Reference; import java.lang.ref.WeakReference; @@ -73,6 +74,7 @@ import org.netbeans.lib.editor.util.swing.DocumentUtilities; import org.netbeans.modules.editor.impl.ToolbarActionsProvider; import org.netbeans.modules.editor.lib2.EditorPreferencesDefaults; import org.netbeans.modules.editor.lib2.actions.EditorActionUtilities; +import org.openide.awt.DynamicMenuContent; import org.openide.awt.ToolbarWithOverflow; import org.openide.filesystems.FileChangeAdapter; import org.openide.filesystems.FileChangeListener; @@ -399,6 +401,63 @@ import org.openide.util.lookup.ProxyLookup; return (JTextComponent)componentRef.get(); } +private ToolbarItemHider hider; + +void attachHidingComponent(Component c) { +if (hider == null) { +hider = new ToolbarItemHider(); +} +c.addPropertyChangeListener("enabled", hider); // NOI18N +} + +private class ToolbarItemHider implements PropertyChangeListener { +@Override +public void propertyChange(PropertyChangeEvent evt) { +if ("enabled".equals(evt.getPropertyName())) { // NOI18N +hideShowPresenter((JComponent)evt.getSource()); +} +} +} + +private void hideShowPresenter(JComponent jc) { +boolean vis = jc.isEnabled(); +jc.setVisible(vis); +// check surroundings and hide possible adjacent separators +Component[] comps = getComponents(); +int idx = getComponentIndex(jc); +if (idx == -1) { +return; +} +int sepBefore; +for (sepBefore = idx - 1; sepBefore >= 0; sepBefore--) { +Component c = comps[sepBefore]; +if (c.isVisible()) { +if (!(c instanceof JSeparator)) { +break; +} +} +} +int sepAfter; +final int l = comps.length; +for (sepAfter = idx + 1; sepAfter < l; sepAfter++) { +Component c = comps[sepAfter]; +if (c.isVisible()) { +if (!(c instanceof JSeparator)) { +break; +} +} +} +boolean first = sepBefore >= 0; +// hide all JSeparators except one between sepBefore + 1 and sepAfter - 1 +for (int i = sepBefore + 1; i < sepAfter; i++) { +Component c = comps[i]; +if (c instanceof JSeparator) { +c.setVisible(first); +first = false; +} +} +} + /** Add the presenters (usually buttons) for the contents of the toolbar * contained in the base and mime folders. * @param baseFolder folder that corresponds to "text/base" @@ -428,6 +487,7 @@ import org.openide.util.lookup.ProxyLookup; items.add(new JSeparator()); items.addAll(oldTextBaseItems); } +ListprocessHiding = new ArrayList<>(); for(Object item : items) { LOG.log(Level.FINE, "Adding item {0}", item); //NOI18N @@ -473,6 +533,8 @@ import org.openide.util.lookup.ProxyLookup; } } +Action ai = item instanceof Action ? (Action)item : null; + if (item instanceof Presenter.Toolbar) { Component presenter = ((Presenter.Toolbar) item).getToolbarPresenter(); if (presenter != null) { @@ -487,6 +549,9 @@ import org.openide.util.lookup.ProxyLookup; } } +boolean hideWhenDisabled = ai != null && (ai.getValue(DynamicMenuContent.HIDE_WHEN_DISABLED) == Boolean.TRUE) && +!ai.
[incubator-netbeans] branch master updated: Enable creation using methods with Map parameter (#483)
This is an automated email from the ASF dual-hosted git repository. geertjan 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 1be4a5d Enable creation using methods with Map parameter (#483) 1be4a5d is described below commit 1be4a5d4b7de09e535b5bb3392517d6a7654de53 Author: Svatopluk Dedic AuthorDate: Wed Apr 4 22:09:28 2018 +0200 Enable creation using methods with Map parameter (#483) --- .../src/org/openide/filesystems/annotations/LayerBuilder.java | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/openide.filesystems/src/org/openide/filesystems/annotations/LayerBuilder.java b/openide.filesystems/src/org/openide/filesystems/annotations/LayerBuilder.java index bd79bf1..1b8235c 100644 --- a/openide.filesystems/src/org/openide/filesystems/annotations/LayerBuilder.java +++ b/openide.filesystems/src/org/openide/filesystems/annotations/LayerBuilder.java @@ -42,6 +42,7 @@ import javax.lang.model.element.ExecutableElement; import javax.lang.model.element.Modifier; import javax.lang.model.element.PackageElement; import javax.lang.model.element.TypeElement; +import javax.lang.model.element.VariableElement; import javax.lang.model.type.TypeMirror; import javax.lang.model.util.ElementFilter; import javax.tools.Diagnostic.Kind; @@ -264,7 +265,12 @@ public final class LayerBuilder { if (!originatingElement.getModifiers().contains(Modifier.STATIC)) { throw new LayerGenerationException(clazz + "." + method + " must be static", originatingElement, processingEnv, annotation, annotationMethod); } -if (!((ExecutableElement) originatingElement).getParameters().isEmpty()) { +List params = ((ExecutableElement) originatingElement).getParameters(); +TypeMirror utilMapType = processingEnv.getTypeUtils().getDeclaredType( + processingEnv.getElementUtils().getTypeElement("java.util.Map")); +boolean mapParam = (params.size() == 1 && processingEnv.getTypeUtils().isAssignable( +params.get(0).asType(), utilMapType)); +if (!params.isEmpty() && !mapParam) { throw new LayerGenerationException(clazz + "." + method + " must not take arguments", originatingElement, processingEnv, annotation, annotationMethod); } if (typeMirror != null && !processingEnv.getTypeUtils().isAssignable(((ExecutableElement) originatingElement).getReturnType(), typeMirror)) { -- To stop receiving notification emails like this one, please contact geert...@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: [NETBEANS-539] Support for JDK 10 and JDK 11 classfiles. (#485)
This is an automated email from the ASF dual-hosted git repository. geertjan 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 b4d642a [NETBEANS-539] Support for JDK 10 and JDK 11 classfiles. (#485) b4d642a is described below commit b4d642a590bb748ca00cd0fa45f658c88872d91c Author: Jan Lahoda AuthorDate: Wed Apr 4 22:08:32 2018 +0200 [NETBEANS-539] Support for JDK 10 and JDK 11 classfiles. (#485) --- .../src/org/netbeans/lib/profiler/classfile/ClassFileParser.java | 1 + .../org/netbeans/lib/profiler/instrumentation/JavaClassConstants.java | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib.profiler/src/org/netbeans/lib/profiler/classfile/ClassFileParser.java b/lib.profiler/src/org/netbeans/lib/profiler/classfile/ClassFileParser.java index d36dcb0..dcd3c4f 100644 --- a/lib.profiler/src/org/netbeans/lib/profiler/classfile/ClassFileParser.java +++ b/lib.profiler/src/org/netbeans/lib/profiler/classfile/ClassFileParser.java @@ -291,6 +291,7 @@ public class ClassFileParser implements JavaClassConstants { case CONSTANT_Integer: case CONSTANT_Float: case CONSTANT_InvokeDynamic: +case CONSTANT_ConstantDynamic: curBufPos += 4; break; diff --git a/lib.profiler/src/org/netbeans/lib/profiler/instrumentation/JavaClassConstants.java b/lib.profiler/src/org/netbeans/lib/profiler/instrumentation/JavaClassConstants.java index 8ce4585..8cf6b20 100644 --- a/lib.profiler/src/org/netbeans/lib/profiler/instrumentation/JavaClassConstants.java +++ b/lib.profiler/src/org/netbeans/lib/profiler/instrumentation/JavaClassConstants.java @@ -30,7 +30,7 @@ public interface JavaClassConstants { /* Class file constants */ public static final int JAVA_MAGIC = 0xCAFEBABE; -public static final int JAVA_MAJOR_VERSION = 53; +public static final int JAVA_MAJOR_VERSION = 55; public static final int JAVA_MINOR_VERSION = 0; public static final int JAVA_MIN_MAJOR_VERSION = 45; public static final int JAVA_MIN_MINOR_VERSION = 3; @@ -52,7 +52,7 @@ public interface JavaClassConstants { public static final int CONSTANT_unused14 = 14; public static final int CONSTANT_MethodHandle = 15; public static final int CONSTANT_MethodType = 16; -public static final int CONSTANT_unused17 = 17; // unused +public static final int CONSTANT_ConstantDynamic = 17; public static final int CONSTANT_InvokeDynamic = 18; public static final int CONSTANT_Module = 19; public static final int CONSTANT_Package = 20; -- To stop receiving notification emails like this one, please contact geert...@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] [Commented] (NETBEANS-568) New Archetype wizard Test Case fails to create project
[ https://issues.apache.org/jira/browse/NETBEANS-568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16426062#comment-16426062 ] Luca Mambretti commented on NETBEANS-568: - I've tested this with different archetypes and found that the javafx archetype works as expected, but the quickstart mentioned in the test case complains that the required directory already exists. It seems to me that NetBeans creates the project directory beforehand and the archetype then fails because it wants to create it by itself. If I manually delete the empty folder and re-run the command from within NetBeans (using the already opened output window) everything works, so either the problem lies in the archetype itself, but I doubt that since it's probably the most basic archetype existing, or the empty directory should not be created if creating a project from archetype. > New Archetype wizard Test Case fails to create project > -- > > Key: NETBEANS-568 > URL: https://issues.apache.org/jira/browse/NETBEANS-568 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 9.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-386-on-20180402) > Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46 > Runtime: Java(TM) SE Runtime Environment 10+46 > System: Linux version 4.15.14 running on amd64; UTF-8; en_US (nb) > User directory: /home/alied/.netbeans/beta > Cache directory: /home/alied/.cache/netbeans/beta >Reporter: Alied Pérez Martínez >Priority: Blocker > Labels: maven > > The test case "New Archetype wizard" fails to create the requested project > build log: > {noformat} > cd /home/alied/NetBeansProjects/netcat90; > JAVA_HOME=/home/alied/Downloads/jdk-10 > /home/alied/Downloads/netbeans/java/maven/bin/mvn > -DarchetypeGroupId=org.jvnet.hudson.tools > -DarchetypeArtifactId=maven-hpi-plugin -DarchetypeVersion=3.0.1 > -DarchetypeRepository=https://repo.maven.apache.org/maven2/ > -DgroupId=com.mycompany -DartifactId=MvnSampleProject -Dversion=1.0-SNAPSHOT > -Dpackage=com.mycompany.mvnsampleproject > -Dbasedir=/home/alied/NetBeansProjects/netcat90 -Darchetype.interactive=false > --batch-mode archetype:generate > Scanning for projects... > > > Building Maven Stub Project (No POM) 1 > > >>> maven-archetype-plugin:2.3:generate (default-cli) > generate-sources @ > >>> standalone-pom >>> > <<< maven-archetype-plugin:2.3:generate (default-cli) < generate-sources @ > standalone-pom <<< > --- maven-archetype-plugin:2.3:generate (default-cli) @ standalone-pom --- > Generating project in Batch mode > Archetype defined by properties > > Using following parameters for creating project from Old (1.x) Archetype: > maven-hpi-plugin:3.0.1 > > Parameter: basedir, Value: /home/alied/NetBeansProjects/netcat90 > Parameter: package, Value: com.mycompany.mvnsampleproject > Parameter: groupId, Value: com.mycompany > Parameter: artifactId, Value: MvnSampleProject > Parameter: packageName, Value: com.mycompany.mvnsampleproject > Parameter: version, Value: 1.0-SNAPSHOT > > BUILD FAILURE > > Total time: 1.011 s > Finished at: 2018-04-02T15:34:28-03:00 > Final Memory: 12M/54M > > Failed to execute goal > org.apache.maven.plugins:maven-archetype-plugin:2.3:generate (default-cli) on > project standalone-pom: Directory MvnSampleProject already exists - please > run from a clean directory -> [Help 1] > To see the full stack trace of the errors, re-run Maven with the -e switch. > Re-run Maven using the -X switch to enable full debug logging. > For more information about the errors and possible solutions, please read the > following articles: > [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > {noformat} > No files are created inside the project directory: > {noformat} > alied@development:~/NetBeansProjects/netcat90/MvnSampleProject$ ls -la > total 8 > drwxr-xr-x 2 alied alied 4096 Apr 2 15:34 . > drwxr-xr-x 3 alied alied 4096 Apr 2 15:34 .. > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-uns
[jira] [Created] (NETBEANS-597) Missing dependencies not available in central are not shown
Luca Mambretti created NETBEANS-597: --- Summary: Missing dependencies not available in central are not shown Key: NETBEANS-597 URL: https://issues.apache.org/jira/browse/NETBEANS-597 Project: NetBeans Issue Type: Bug Components: projects - Maven Affects Versions: 9.0 Environment: Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-linux-393-on-20180404) Updates: Updates available Java: 1.8.0_152; Java HotSpot(TM) 64-Bit Server VM 25.152-b16 Runtime: Java(TM) SE Runtime Environment 1.8.0_152-b16 System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) Reporter: Luca Mambretti If a dependency not existing on central repository, or on a local mirror is added to a project this is not shown as missing dependency in the dependencies node. sample dependency used: org.zio pino 1.0 Expected behavior should be that the dependency is shown as missing and can be manually installed. -- 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-596) AbsoluteLayout in form builder breaks module project
Neil C Smith created NETBEANS-596: - Summary: AbsoluteLayout in form builder breaks module project Key: NETBEANS-596 URL: https://issues.apache.org/jira/browse/NETBEANS-596 Project: NetBeans Issue Type: Bug Affects Versions: 9.0 Reporter: Neil C Smith The NetCAT RCP tests call for testing the form editor with various layouts including AbsoluteLayout. Switching to this adds a dependency on the Form module which then breaks the build until it is removed. The old bugzilla attached issue on the test still holds. Minor seen as it's unlikely anyone will want to do this but ideally this option should be removed. -- 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-595) OSGI Project unable to compile
Javier A. Ortiz created NETBEANS-595: Summary: OSGI Project unable to compile Key: NETBEANS-595 URL: https://issues.apache.org/jira/browse/NETBEANS-595 Project: NetBeans Issue Type: Bug Environment: Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-linux-392-on-20180403) Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46 Runtime: Java(TM) SE Runtime Environment 10+46 System: Mac OS X version 10.13.4 running on x86_64; UTF-8; en_US (nb) User directory: /Users/javierortiz/Library/Application Support/NetBeans/dev Cache directory: /Users/javierortiz/Library/Caches/NetBeans/dev Reporter: Javier A. Ortiz Unable to compile Wizard created project. {noformat} COMPILATION ERROR : - Source option 5 is no longer supported. Use 6 or later. Target option 1.5 is no longer supported. Use 1.6 or later. 2 errors - BUILD FAILURE Total time: 2.703 s Finished at: 2018-04-04T12:47:54-05:00 Final Memory: 14M/60M Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project TestPlatformOSGIBundle: Compilation failure: Compilation failure: Source option 5 is no longer supported. Use 6 or later. Target option 1.5 is no longer supported. Use 1.6 or later. -> [Help 1]{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] [Created] (NETBEANS-594) No Maven Samples
Javier A. Ortiz created NETBEANS-594: Summary: No Maven Samples Key: NETBEANS-594 URL: https://issues.apache.org/jira/browse/NETBEANS-594 Project: NetBeans Issue Type: Bug Environment: Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-linux-392-on-20180403) Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46 Runtime: Java(TM) SE Runtime Environment 10+46 System: Mac OS X version 10.13.4 running on x86_64; UTF-8; en_US (nb) User directory: /Users/javierortiz/Library/Application Support/NetBeans/dev Cache directory: /Users/javierortiz/Library/Caches/NetBeans/dev Reporter: Javier A. Ortiz Attachments: Screen Shot 2018-04-04 at 12.45.43 PM.png Unable to create CRUD example. No Samples/Maven folder in wizard. !Screen Shot 2018-04-04 at 12.45.43 PM.png! -- 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-593) Test Failure: Execution default-branding of goal org.codehaus.mojo:nbm-maven-plugin:4.1:branding failed: An API incompatibility was encountered while executing org.code
[ https://issues.apache.org/jira/browse/NETBEANS-593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Javier A. Ortiz updated NETBEANS-593: - Description: Running test case Build installers for NB application step 2: {noformat} Failed to execute goal org.codehaus.mojo:nbm-maven-plugin:4.1:branding (default-branding) on project Nbapp-branding: Execution default-branding of goal org.codehaus.mojo:nbm-maven-plugin:4.1:branding failed: An API incompatibility was encountered while executing org.codehaus.mojo:nbm-maven-plugin:4.1:branding: java.lang.ExceptionInInitializerError: null - realm = extension>org.codehaus.mojo:nbm-maven-plugin:4.1 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/Users/javierortiz/.m2/repository/org/codehaus/mojo/nbm-maven-plugin/4.1/nbm-maven-plugin-4.1.jar urls[1] = file:/Users/javierortiz/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar urls[2] = file:/Users/javierortiz/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.3.0/sisu-inject-bean-2.3.0.jar urls[3] = file:/Users/javierortiz/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar urls[4] = file:/Users/javierortiz/.m2/repository/org/sonatype/sisu/sisu-guava/0.9.9/sisu-guava-0.9.9.jar urls[5] = file:/Users/javierortiz/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar urls[6] = file:/Users/javierortiz/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-annotations/3.4/maven-plugin-annotations-3.4.jar urls[7] = file:/Users/javierortiz/.m2/repository/org/apache/ant/ant/1.9.6/ant-1.9.6.jar urls[8] = file:/Users/javierortiz/.m2/repository/org/apache/ant/ant-launcher/1.9.6/ant-launcher-1.9.6.jar urls[9] = file:/Users/javierortiz/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar urls[10] = file:/Users/javierortiz/.m2/repository/org/codehaus/plexus/plexus-archiver/3.0.1/plexus-archiver-3.0.1.jar urls[11] = file:/Users/javierortiz/.m2/repository/org/iq80/snappy/snappy/0.3/snappy-0.3.jar urls[12] = file:/Users/javierortiz/.m2/repository/org/apache/maven/shared/maven-dependency-tree/2.2/maven-dependency-tree-2.2.jar urls[13] = file:/Users/javierortiz/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar urls[14] = file:/Users/javierortiz/.m2/repository/org/apache/maven/shared/maven-dependency-analyzer/1.6/maven-dependency-analyzer-1.6.jar urls[15] = file:/Users/javierortiz/.m2/repository/org/ow2/asm/asm/5.0.2/asm-5.0.2.jar urls[16] = file:/Users/javierortiz/.m2/repository/org/apache/xbean/xbean-reflect/3.7/xbean-reflect-3.7.jar urls[17] = file:/Users/javierortiz/.m2/repository/com/google/collections/google-collections/1.0/google-collections-1.0.jar urls[18] = file:/Users/javierortiz/.m2/repository/org/apache/maven/shared/maven-filtering/1.3/maven-filtering-1.3.jar urls[19] = file:/Users/javierortiz/.m2/repository/org/apache/maven/shared/maven-shared-utils/0.6/maven-shared-utils-0.6.jar urls[20] = file:/Users/javierortiz/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar urls[21] = file:/Users/javierortiz/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.4/plexus-build-api-0.0.4.jar urls[22] = file:/Users/javierortiz/.m2/repository/org/sonatype/aether/aether-util/1.13.1/aether-util-1.13.1.jar urls[23] = file:/Users/javierortiz/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar urls[24] = file:/Users/javierortiz/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar urls[25] = file:/Users/javierortiz/.m2/repository/org/codehaus/mojo/nbm-maven-harness/8.1/nbm-maven-harness-8.1.jar urls[26] = file:/Users/javierortiz/.m2/repository/org/codehaus/plexus/plexus-io/2.6.1/plexus-io-2.6.1.jar urls[27] = file:/Users/javierortiz/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar urls[28] = file:/Users/javierortiz/.m2/repository/org/codehaus/mojo/nb-shared/1.2/nb-shared-1.2.jar urls[29] = file:/Users/javierortiz/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]]{noformat} was:Got an error > Test Failure: Execution default-branding of goal > org.codehaus.mojo:nbm-maven-plugin:4.1:branding failed: An API > incompatibility was encountered while executing > org.codehaus.mojo:nbm-maven-plugin:4.1:branding: > java.lang.ExceptionInInitializerError: null > > > Key: NETBEANS-593 > URL: https://issues.apa
[jira] [Created] (NETBEANS-593) Test Failure: Execution default-branding of goal org.codehaus.mojo:nbm-maven-plugin:4.1:branding failed: An API incompatibility was encountered while executing org.code
Javier A. Ortiz created NETBEANS-593: Summary: Test Failure: Execution default-branding of goal org.codehaus.mojo:nbm-maven-plugin:4.1:branding failed: An API incompatibility was encountered while executing org.codehaus.mojo:nbm-maven-plugin:4.1:branding: java.lang.ExceptionInInitializerError: null Key: NETBEANS-593 URL: https://issues.apache.org/jira/browse/NETBEANS-593 Project: NetBeans Issue Type: Bug Environment: Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-linux-392-on-20180403) Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46 Runtime: Java(TM) SE Runtime Environment 10+46 System: Mac OS X version 10.13.4 running on x86_64; UTF-8; en_US (nb) User directory: /Users/javierortiz/Library/Application Support/NetBeans/dev Cache directory: /Users/javierortiz/Library/Caches/NetBeans/dev Reporter: Javier A. Ortiz Got an error -- 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-462) Jaha Help class cannot be found
[ https://issues.apache.org/jira/browse/NETBEANS-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425882#comment-16425882 ] efrem mccrimon commented on NETBEANS-462: - Is NETBEANS-462 a duplicate? Online help not working > Jaha Help class cannot be found > --- > > Key: NETBEANS-462 > URL: https://issues.apache.org/jira/browse/NETBEANS-462 > Project: NetBeans > Issue Type: Bug > Components: platform - Help System >Reporter: Zoran Sevarac >Priority: Critical > > While building NetBeans Platform application that has module with Java Help > I'm getting the following exception: > An annotation processor threw an uncaught exception. > Consult the following stack trace for details. > java.lang.NoClassDefFoundError: com/sun/java/help/search/Indexer > at > org.netbeans.modules.javahelp.HelpSetRegistrationProcessor.handleProcess(HelpSetRegistrationProcessor.java:145) > at > org.openide.filesystems.annotations.LayerGeneratingProcessor.process(LayerGeneratingProcessor.java:99) > at com.sun.tools.javac > > There is no this problem with NetBeans 8.2 > -- 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-592) Netbeans 9.0 show only the local history
Ivan Melendez created NETBEANS-592: -- Summary: Netbeans 9.0 show only the local history Key: NETBEANS-592 URL: https://issues.apache.org/jira/browse/NETBEANS-592 Project: NetBeans Issue Type: Bug Components: versioncontrol - Git Affects Versions: 9.0 Reporter: Ivan Melendez Attachments: Screen Shot 2018-04-04 at 10.29.24 AM.png When you have a opened file and you need see the git history, NetBeans only show the local history, not all commits. If the file don't have the local history show a list empty (see 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] [Updated] (NETBEANS-591) Cannot debug failed test method from Test results window
[ https://issues.apache.org/jira/browse/NETBEANS-591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manikantan Narender Nath updated NETBEANS-591: -- Description: Steps to reproduce Run a junit test case which fails In the test results window select the test method that failed Right click and choose debug from the context menu Expected result: The test method is run Actual result : Cannot run the test method {code:java} ant -f /Users/msivasub/dev/NetCat9/NBProjects/JUnitSampleProjectAnt -Dnb.internal.action.name=debug.single.method -Djavac.includes=teststorun/CalculatorTest.java -Dtest.method=testDivide -Dtest.class=teststorun.CalculatorTest debug-single-method Target "debug-single-method" does not exist in the project "JUnitSampleProjectAnt". BUILD FAILED (total time: 0 seconds) {code} Test specification : Junit Test specification ([http://netbeans-vm.apache.org/synergy/client/app/#/specification/390/v/2)] Test Suite: Result window actions ([http://netbeans-vm.apache.org/synergy/client/app/#/suite/2235)] Test case: Debug ( [http://netbeans-vm.apache.org/synergy/client/app/#/case/5996/suite/2235/v/1] ) was: Test specification : Junit Test specification ([http://netbeans-vm.apache.org/synergy/client/app/#/specification/390/v/2)] Test Suite: Result window actions ([http://netbeans-vm.apache.org/synergy/client/app/#/suite/2235)] Test case: Debug ( [http://netbeans-vm.apache.org/synergy/client/app/#/case/5996/suite/2235/v/1] ) {code:java} ant -f /Users/msivasub/dev/NetCat9/NBProjects/JUnitSampleProjectAnt -Dnb.internal.action.name=debug.single.method -Djavac.includes=teststorun/CalculatorTest.java -Dtest.method=testDivide -Dtest.class=teststorun.CalculatorTest debug-single-method Target "debug-single-method" does not exist in the project "JUnitSampleProjectAnt". BUILD FAILED (total time: 0 seconds) {code} > Cannot debug failed test method from Test results window > > > Key: NETBEANS-591 > URL: https://issues.apache.org/jira/browse/NETBEANS-591 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit >Reporter: Manikantan Narender Nath >Priority: Major > > Steps to reproduce > Run a junit test case which fails > In the test results window select the test method that failed > Right click and choose debug from the context menu > Expected result: > The test method is run > Actual result : Cannot run the test method > {code:java} > ant -f /Users/msivasub/dev/NetCat9/NBProjects/JUnitSampleProjectAnt > -Dnb.internal.action.name=debug.single.method > -Djavac.includes=teststorun/CalculatorTest.java -Dtest.method=testDivide > -Dtest.class=teststorun.CalculatorTest debug-single-method > Target "debug-single-method" does not exist in the project > "JUnitSampleProjectAnt". > BUILD FAILED (total time: 0 seconds) > {code} > Test specification : Junit Test specification > ([http://netbeans-vm.apache.org/synergy/client/app/#/specification/390/v/2)] > > Test Suite: Result window actions > ([http://netbeans-vm.apache.org/synergy/client/app/#/suite/2235)] > Test case: Debug ( > [http://netbeans-vm.apache.org/synergy/client/app/#/case/5996/suite/2235/v/1] > ) > -- 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-591) Cannot debug failed test method from Test results window
[ https://issues.apache.org/jira/browse/NETBEANS-591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manikantan Narender Nath updated NETBEANS-591: -- Description: Test specification : Junit Test specification ([http://netbeans-vm.apache.org/synergy/client/app/#/specification/390/v/2)] Test Suite: Result window actions ([http://netbeans-vm.apache.org/synergy/client/app/#/suite/2235)] Test case: Debug ( [http://netbeans-vm.apache.org/synergy/client/app/#/case/5996/suite/2235/v/1] ) {code:java} ant -f /Users/msivasub/dev/NetCat9/NBProjects/JUnitSampleProjectAnt -Dnb.internal.action.name=debug.single.method -Djavac.includes=teststorun/CalculatorTest.java -Dtest.method=testDivide -Dtest.class=teststorun.CalculatorTest debug-single-method Target "debug-single-method" does not exist in the project "JUnitSampleProjectAnt". BUILD FAILED (total time: 0 seconds) {code} was: {code:java} ant -f /Users/msivasub/dev/NetCat9/NBProjects/JUnitSampleProjectAnt -Dnb.internal.action.name=debug.single.method -Djavac.includes=teststorun/CalculatorTest.java -Dtest.method=testDivide -Dtest.class=teststorun.CalculatorTest debug-single-method Target "debug-single-method" does not exist in the project "JUnitSampleProjectAnt". BUILD FAILED (total time: 0 seconds){code} > Cannot debug failed test method from Test results window > > > Key: NETBEANS-591 > URL: https://issues.apache.org/jira/browse/NETBEANS-591 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit >Reporter: Manikantan Narender Nath >Priority: Major > > Test specification : Junit Test specification > ([http://netbeans-vm.apache.org/synergy/client/app/#/specification/390/v/2)] > > Test Suite: Result window actions > ([http://netbeans-vm.apache.org/synergy/client/app/#/suite/2235)] > Test case: Debug ( > [http://netbeans-vm.apache.org/synergy/client/app/#/case/5996/suite/2235/v/1] > ) > > {code:java} > ant -f /Users/msivasub/dev/NetCat9/NBProjects/JUnitSampleProjectAnt > -Dnb.internal.action.name=debug.single.method > -Djavac.includes=teststorun/CalculatorTest.java -Dtest.method=testDivide > -Dtest.class=teststorun.CalculatorTest debug-single-method > Target "debug-single-method" does not exist in the project > "JUnitSampleProjectAnt". > BUILD FAILED (total time: 0 seconds) > {code} -- 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-591) Cannot debug failed test method from Test results window
[ https://issues.apache.org/jira/browse/NETBEANS-591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manikantan Narender Nath updated NETBEANS-591: -- Component/s: java - JUnit > Cannot debug failed test method from Test results window > > > Key: NETBEANS-591 > URL: https://issues.apache.org/jira/browse/NETBEANS-591 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit >Reporter: Manikantan Narender Nath >Priority: Major > > Test specification : Junit Test specification > ([http://netbeans-vm.apache.org/synergy/client/app/#/specification/390/v/2)] > > Test Suite: Result window actions > ([http://netbeans-vm.apache.org/synergy/client/app/#/suite/2235)] > Test case: Debug ( > [http://netbeans-vm.apache.org/synergy/client/app/#/case/5996/suite/2235/v/1] > ) > > {code:java} > ant -f /Users/msivasub/dev/NetCat9/NBProjects/JUnitSampleProjectAnt > -Dnb.internal.action.name=debug.single.method > -Djavac.includes=teststorun/CalculatorTest.java -Dtest.method=testDivide > -Dtest.class=teststorun.CalculatorTest debug-single-method > Target "debug-single-method" does not exist in the project > "JUnitSampleProjectAnt". > BUILD FAILED (total time: 0 seconds) > {code} -- 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-591) Cannot debug failed test method from Test results window
Manikantan Narender Nath created NETBEANS-591: - Summary: Cannot debug failed test method from Test results window Key: NETBEANS-591 URL: https://issues.apache.org/jira/browse/NETBEANS-591 Project: NetBeans Issue Type: Bug Reporter: Manikantan Narender Nath {code:java} ant -f /Users/msivasub/dev/NetCat9/NBProjects/JUnitSampleProjectAnt -Dnb.internal.action.name=debug.single.method -Djavac.includes=teststorun/CalculatorTest.java -Dtest.method=testDivide -Dtest.class=teststorun.CalculatorTest debug-single-method Target "debug-single-method" does not exist in the project "JUnitSampleProjectAnt". BUILD FAILED (total time: 0 seconds){code} -- 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-590) Running or debugging of individual JUnit tests sometimes does not work
[ https://issues.apache.org/jira/browse/NETBEANS-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425715#comment-16425715 ] Manikantan Narender Nath commented on NETBEANS-590: --- in maven projects the error is different {code:java} --- T E S T S --- Running teststorun.CalculatorTest Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-cli) on project JUnitSampleProjectMaven: No tests were executed! (Set -DfailIfNoTests=false to ignore this error.) -> [Help 1]{code} > Running or debugging of individual JUnit tests sometimes does not work > --- > > Key: NETBEANS-590 > URL: https://issues.apache.org/jira/browse/NETBEANS-590 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit, projects - Maven >Affects Versions: 9.0 >Reporter: Manikantan Narender Nath >Priority: Major > > Old Bugzilla reference: [https://netbeans.org/bugzilla/show_bug.cgi?id=252959] > Text issue copied and pasted as is from above link > {code:java} > Project reproducing inability to run individual JUnit tests. > Product Version: NetBeans IDE Dev (Build 201506110001) > Java: 1.7.0_76; Java HotSpot(TM) 64-Bit Server VM 24.76-b04 > Runtime: Java(TM) SE Runtime Environment 1.7.0_76-b13 > System: Linux version 3.13.0-37-generic running on amd64; UTF-8; cs_CZ (nb) > User directory: /home/cesilko/.netbeans/dev > Cache directory: /home/cesilko/.cache/netbeans/dev > Description: > > Under some circumstances users can neither run nor debug individual JUnit > tests due to an invalid format of arguments. Maybe it's a consequence of > JUnit library upgrade to version 1.12. See this error output: > /home/cesilko/.cache/netbeans/dev/executor-snippets/junit.xml:140: The > following error occurred while executing this line: > /home/cesilko/.cache/netbeans/dev/executor-snippets/junit.xml:78: Invalid > specification of test methods: "teststorun.CalculatorTest.testAdd"; expected: > comma-separated list of valid Java identifiers > BUILD FAILED (total time: 0 seconds) > Steps to reproduce: > === > 1. Launch NetBeans IDE and open attached CannotRunIndividualTest project. > 2. Right click "Source Packages > teststorun" node and invoke "Tools > > Create/Update Tests" from popup menu. > 3. In "Create Tests" dialog just push "OK" button. > 4. Right click "CannotRunIndividualTest" project and invoke "Test" from its > popup menu. > 5. In "Test Results" output window right click "No test passed... > > teststorun.CalculatorTest Failed > teststorun.CalculatorTest.testAdd Failed: > ..." node and invoke "Run Again" from its popup menu. > Expected: The testAdd test is run and you see that it failed again in the > Test Results output window and no other test results. > Actual: The testAdd test is not run due to the aforementioned error.{code} > -- 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-590) Running or debugging of individual JUnit tests sometimes does not work
[ https://issues.apache.org/jira/browse/NETBEANS-590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manikantan Narender Nath updated NETBEANS-590: -- Component/s: projects - Maven > Running or debugging of individual JUnit tests sometimes does not work > --- > > Key: NETBEANS-590 > URL: https://issues.apache.org/jira/browse/NETBEANS-590 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit, projects - Maven >Affects Versions: 9.0 >Reporter: Manikantan Narender Nath >Priority: Major > > Old Bugzilla reference: [https://netbeans.org/bugzilla/show_bug.cgi?id=252959] > Text issue copied and pasted as is from above link > {code:java} > Project reproducing inability to run individual JUnit tests. > Product Version: NetBeans IDE Dev (Build 201506110001) > Java: 1.7.0_76; Java HotSpot(TM) 64-Bit Server VM 24.76-b04 > Runtime: Java(TM) SE Runtime Environment 1.7.0_76-b13 > System: Linux version 3.13.0-37-generic running on amd64; UTF-8; cs_CZ (nb) > User directory: /home/cesilko/.netbeans/dev > Cache directory: /home/cesilko/.cache/netbeans/dev > Description: > > Under some circumstances users can neither run nor debug individual JUnit > tests due to an invalid format of arguments. Maybe it's a consequence of > JUnit library upgrade to version 1.12. See this error output: > /home/cesilko/.cache/netbeans/dev/executor-snippets/junit.xml:140: The > following error occurred while executing this line: > /home/cesilko/.cache/netbeans/dev/executor-snippets/junit.xml:78: Invalid > specification of test methods: "teststorun.CalculatorTest.testAdd"; expected: > comma-separated list of valid Java identifiers > BUILD FAILED (total time: 0 seconds) > Steps to reproduce: > === > 1. Launch NetBeans IDE and open attached CannotRunIndividualTest project. > 2. Right click "Source Packages > teststorun" node and invoke "Tools > > Create/Update Tests" from popup menu. > 3. In "Create Tests" dialog just push "OK" button. > 4. Right click "CannotRunIndividualTest" project and invoke "Test" from its > popup menu. > 5. In "Test Results" output window right click "No test passed... > > teststorun.CalculatorTest Failed > teststorun.CalculatorTest.testAdd Failed: > ..." node and invoke "Run Again" from its popup menu. > Expected: The testAdd test is run and you see that it failed again in the > Test Results output window and no other test results. > Actual: The testAdd test is not run due to the aforementioned error.{code} > -- 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-590) Running or debugging of individual JUnit tests sometimes does not work
Manikantan Narender Nath created NETBEANS-590: - Summary: Running or debugging of individual JUnit tests sometimes does not work Key: NETBEANS-590 URL: https://issues.apache.org/jira/browse/NETBEANS-590 Project: NetBeans Issue Type: Bug Components: java - JUnit Affects Versions: 9.0 Reporter: Manikantan Narender Nath Old Bugzilla reference: [https://netbeans.org/bugzilla/show_bug.cgi?id=252959] Text issue copied and pasted as is from above link {code:java} Project reproducing inability to run individual JUnit tests. Product Version: NetBeans IDE Dev (Build 201506110001) Java: 1.7.0_76; Java HotSpot(TM) 64-Bit Server VM 24.76-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_76-b13 System: Linux version 3.13.0-37-generic running on amd64; UTF-8; cs_CZ (nb) User directory: /home/cesilko/.netbeans/dev Cache directory: /home/cesilko/.cache/netbeans/dev Description: Under some circumstances users can neither run nor debug individual JUnit tests due to an invalid format of arguments. Maybe it's a consequence of JUnit library upgrade to version 1.12. See this error output: /home/cesilko/.cache/netbeans/dev/executor-snippets/junit.xml:140: The following error occurred while executing this line: /home/cesilko/.cache/netbeans/dev/executor-snippets/junit.xml:78: Invalid specification of test methods: "teststorun.CalculatorTest.testAdd"; expected: comma-separated list of valid Java identifiers BUILD FAILED (total time: 0 seconds) Steps to reproduce: === 1. Launch NetBeans IDE and open attached CannotRunIndividualTest project. 2. Right click "Source Packages > teststorun" node and invoke "Tools > Create/Update Tests" from popup menu. 3. In "Create Tests" dialog just push "OK" button. 4. Right click "CannotRunIndividualTest" project and invoke "Test" from its popup menu. 5. In "Test Results" output window right click "No test passed... > teststorun.CalculatorTest Failed > teststorun.CalculatorTest.testAdd Failed: ..." node and invoke "Run Again" from its popup menu. Expected: The testAdd test is run and you see that it failed again in the Test Results output window and no other test results. Actual: The testAdd test is not run due to the aforementioned error.{code} -- 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-589) Run file and debug file for Junit java file in Maven project is disabled
Manikantan Narender Nath created NETBEANS-589: - Summary: Run file and debug file for Junit java file in Maven project is disabled Key: NETBEANS-589 URL: https://issues.apache.org/jira/browse/NETBEANS-589 Project: NetBeans Issue Type: Bug Components: projects - Maven Affects Versions: 9.0 Environment: Mac OSx Sierra Reporter: Manikantan Narender Nath Fix For: 9.0 Attachments: disabled-menu-items.png h2. Scenario: In maven projects, for Junit files, right click on the file in Project view to bring up the context menu h3. Expected result Run File popup menu option is enabled Debug File popup menu option is enabled h3. Actual result Run File popup menu option is disabled Debug File popup menu option is disabled h2. Test documents Test Spec: JUnit Testing Specification ([http://netbeans-vm.apache.org/synergy/client/app/#/specification/390/v/2]) Test suite(s) Running and debugging ([http://netbeans-vm.apache.org/synergy/client/app/#/suite/2234)] Test cases Running a single test file using run ([http://netbeans-vm.apache.org/synergy/client/app/#/case/5982/suite/2234/v/1)] Debugging II ([http://netbeans-vm.apache.org/synergy/client/app/#/case/5987/suite/2234/v/1)] -- 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 (f469723 -> 882c6b9)
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git. from f469723 netbeans-479: Added ConvertToVarHint to replace explicit type with var (#463) add 41cb237 [NETBEANS-410] (partial) Moving test data into the tests themselves. new 882c6b9 Merge pull request #480 from jlahoda/NETBEANS-410 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: .../modules/classfile/JDK8ClassFilesTest.java | 137 ++- .../org/netbeans/modules/classfile/ModuleTest.java | 23 +- .../modules/classfile/datafiles/WithLambda.classx | Bin 1003 -> 0 bytes .../datafiles/old_version_module-info.clz | Bin 132 -> 0 bytes .../test/unit/src/regression/Issue219426Test.java | 33 ++- .../test/unit/src/regression/Issue84411Test.java | 254 - .../test/unit/src/regression/Issue91098Test.java | 135 ++- .../unit/src/regression/datafiles/SwitchData.class | Bin 1910 -> 0 bytes .../src/regression/datafiles/left-square.class | Bin 212 -> 0 bytes .../unit/src/regression/datafiles/test91098.class | Bin 948 -> 0 bytes nbbuild/rat-exclusions.txt | 1 - 11 files changed, 562 insertions(+), 21 deletions(-) delete mode 100644 classfile/test/unit/src/org/netbeans/modules/classfile/datafiles/WithLambda.classx delete mode 100644 classfile/test/unit/src/org/netbeans/modules/classfile/datafiles/old_version_module-info.clz delete mode 100644 classfile/test/unit/src/regression/datafiles/SwitchData.class delete mode 100644 classfile/test/unit/src/regression/datafiles/left-square.class delete mode 100644 classfile/test/unit/src/regression/datafiles/test91098.class -- To stop receiving notification emails like this one, please contact jtul...@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] 01/01: Merge pull request #480 from jlahoda/NETBEANS-410
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git commit 882c6b9b447ef78aa5fa6acc96d6930cd59dd970 Merge: f469723 41cb237 Author: Jaroslav Tulach AuthorDate: Wed Apr 4 16:39:39 2018 +0200 Merge pull request #480 from jlahoda/NETBEANS-410 [NETBEANS-410] (partial) Moving test data into the tests themselves. .../modules/classfile/JDK8ClassFilesTest.java | 137 ++- .../org/netbeans/modules/classfile/ModuleTest.java | 23 +- .../modules/classfile/datafiles/WithLambda.classx | Bin 1003 -> 0 bytes .../datafiles/old_version_module-info.clz | Bin 132 -> 0 bytes .../test/unit/src/regression/Issue219426Test.java | 33 ++- .../test/unit/src/regression/Issue84411Test.java | 254 - .../test/unit/src/regression/Issue91098Test.java | 135 ++- .../unit/src/regression/datafiles/SwitchData.class | Bin 1910 -> 0 bytes .../src/regression/datafiles/left-square.class | Bin 212 -> 0 bytes .../unit/src/regression/datafiles/test91098.class | Bin 948 -> 0 bytes nbbuild/rat-exclusions.txt | 1 - 11 files changed, 562 insertions(+), 21 deletions(-) -- To stop receiving notification emails like this one, please contact jtul...@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] [Updated] (NETBEANS-588) Sass installed via Chocolatey not compiling
[ https://issues.apache.org/jira/browse/NETBEANS-588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Óscar updated NETBEANS-588: --- Description: I installed Sass via Chocolatey and get this error in the Netbeans console: {color:#FF}"C:\ProgramData\chocolatey\lib\sass\tools\sass.bat" "-cache-location" "C:\Users\oxk4r\AppData\Local\NetBeans\Cache\8.2\sass-compiler" "debug-info" "-style" "compact" "C:\xampp\htdocs\SASS_01\scss\style.scss" "C:\xampp\htdocs\SASS_01\css\style.css" {color} {color:#FF}Could not find an option named "cache-location".{color} And no *.css file is generated at all. was: I installed Sass via Chocolatey and get this error in the Netbeans console: "C:\ProgramData\chocolatey\lib\sass\tools\sass.bat" "-cache-location" "C:\Users\oxk4r\AppData\Local\NetBeans\Cache\8.2\sass-compiler" "debug-info" "-style" "compact" "C:\xampp\htdocs\SASS_01\scss\style.scss" "C:\xampp\htdocs\SASS_01\css\style.css" Could not find an option named "cache-location". No *.css file is generated at all. > Sass installed via Chocolatey not compiling > --- > > Key: NETBEANS-588 > URL: https://issues.apache.org/jira/browse/NETBEANS-588 > Project: NetBeans > Issue Type: Bug >Affects Versions: 8.2 >Reporter: Óscar >Priority: Major > > I installed Sass via Chocolatey and get this error in the Netbeans console: > > {color:#FF}"C:\ProgramData\chocolatey\lib\sass\tools\sass.bat" > "-cache-location" > "C:\Users\oxk4r\AppData\Local\NetBeans\Cache\8.2\sass-compiler" "debug-info" > "-style" "compact" "C:\xampp\htdocs\SASS_01\scss\style.scss" > "C:\xampp\htdocs\SASS_01\css\style.css" {color} > {color:#FF}Could not find an option named "cache-location".{color} > > And no *.css file is generated at all. -- 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-588) Sass installed via Chocolatey not compiling
[ https://issues.apache.org/jira/browse/NETBEANS-588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Óscar updated NETBEANS-588: --- Description: I installed Sass via Chocolatey and get this error in the Netbeans console: {color:#ff}"C:\ProgramData\chocolatey\lib\sass\tools\sass.bat" "-cache-location" "C:\Users\oxk4r\AppData\Local\NetBeans\Cache\8.2\sass-compiler" "debug-info" "-style" "compact" "C:\xampp\htdocs\SASS_01\scss\style.scss" "C:\xampp\htdocs\SASS_01\css\style.css" {color} {color:#ff}Could not find an option named "cache-location".{color} And no *.css file is generated at all. was: I installed Sass via Chocolatey and get this error in the Netbeans console: {color:#FF}"C:\ProgramData\chocolatey\lib\sass\tools\sass.bat" "-cache-location" "C:\Users\oxk4r\AppData\Local\NetBeans\Cache\8.2\sass-compiler" "debug-info" "-style" "compact" "C:\xampp\htdocs\SASS_01\scss\style.scss" "C:\xampp\htdocs\SASS_01\css\style.css" {color} {color:#FF}Could not find an option named "cache-location".{color} And no *.css file is generated at all. > Sass installed via Chocolatey not compiling > --- > > Key: NETBEANS-588 > URL: https://issues.apache.org/jira/browse/NETBEANS-588 > Project: NetBeans > Issue Type: Bug >Affects Versions: 8.2 >Reporter: Óscar >Priority: Major > > I installed Sass via Chocolatey and get this error in the Netbeans console: > {color:#ff}"C:\ProgramData\chocolatey\lib\sass\tools\sass.bat" > "-cache-location" > "C:\Users\oxk4r\AppData\Local\NetBeans\Cache\8.2\sass-compiler" "debug-info" > "-style" "compact" "C:\xampp\htdocs\SASS_01\scss\style.scss" > "C:\xampp\htdocs\SASS_01\css\style.css" {color} > {color:#ff}Could not find an option named "cache-location".{color} > And no *.css file is generated at all. -- 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-588) Sass installed via Chocolatey not compiling
[ https://issues.apache.org/jira/browse/NETBEANS-588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Óscar updated NETBEANS-588: --- Description: I installed Sass via Chocolatey and get this error in the Netbeans console: "C:\ProgramData\chocolatey\lib\sass\tools\sass.bat" "-cache-location" "C:\Users\oxk4r\AppData\Local\NetBeans\Cache\8.2\sass-compiler" "debug-info" "-style" "compact" "C:\xampp\htdocs\SASS_01\scss\style.scss" "C:\xampp\htdocs\SASS_01\css\style.css" Could not find an option named "cache-location". No *.css file is generated at all. was: I installed Sass via Chocolatey and get this error in the Netbeans console: "C:\ProgramData\chocolatey\lib\sass\tools\sass.bat" "--cache-location" "C:\Users\oxk4r\AppData\Local\NetBeans\Cache\8.2\sass-compiler" "--debug-info" "--style" "compact" "C:\xampp\htdocs\SASS_01\scss\style.scss" "C:\xampp\htdocs\SASS_01\css\style.css" Could not find an option named "cache-location". No *.css file is generated at all. > Sass installed via Chocolatey not compiling > --- > > Key: NETBEANS-588 > URL: https://issues.apache.org/jira/browse/NETBEANS-588 > Project: NetBeans > Issue Type: Bug >Affects Versions: 8.2 >Reporter: Óscar >Priority: Major > > I installed Sass via Chocolatey and get this error in the Netbeans console: > "C:\ProgramData\chocolatey\lib\sass\tools\sass.bat" "-cache-location" > "C:\Users\oxk4r\AppData\Local\NetBeans\Cache\8.2\sass-compiler" "debug-info" > "-style" "compact" "C:\xampp\htdocs\SASS_01\scss\style.scss" > "C:\xampp\htdocs\SASS_01\css\style.css" Could not find an option named > "cache-location". > No *.css file is generated at all. -- 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-588) Sass installed via Chocolatey not compiling
Óscar created NETBEANS-588: -- Summary: Sass installed via Chocolatey not compiling Key: NETBEANS-588 URL: https://issues.apache.org/jira/browse/NETBEANS-588 Project: NetBeans Issue Type: Bug Affects Versions: 8.2 Reporter: Óscar I installed Sass via Chocolatey and get this error in the Netbeans console: "C:\ProgramData\chocolatey\lib\sass\tools\sass.bat" "--cache-location" "C:\Users\oxk4r\AppData\Local\NetBeans\Cache\8.2\sass-compiler" "--debug-info" "--style" "compact" "C:\xampp\htdocs\SASS_01\scss\style.scss" "C:\xampp\htdocs\SASS_01\css\style.css" Could not find an option named "cache-location". No *.css file is generated at all. -- 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-357) @EditorActionRegistration does not work for toolbars
[ https://issues.apache.org/jira/browse/NETBEANS-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Svatopluk Dedic resolved NETBEANS-357. -- Resolution: Fixed Assignee: Svatopluk Dedic > @EditorActionRegistration does not work for toolbars > > > Key: NETBEANS-357 > URL: https://issues.apache.org/jira/browse/NETBEANS-357 > Project: NetBeans > Issue Type: Bug > Components: editor - Actions/Menu/Toolbar >Reporter: Svatopluk Dedic >Assignee: Svatopluk Dedic >Priority: Major > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > I use code like > > {noformat} > @EditorActionRegistration( name = "execute-script", > mimeType = "text/javascript", > iconResource = "org/graalvm/visualizer/shell/resources/execute.png", > toolBarPosition = 100 > ) > {noformat} > The action generates registration in > Editors/Toolbar/text/javascript > > But the correct place, where action instance files are loaded from is > Editors//Toolbars/Default > > > -- 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-587) Netbeans php debugger crash anonymous function use by reference
[ https://issues.apache.org/jira/browse/NETBEANS-587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Derk updated NETBEANS-587: -- Summary: Netbeans php debugger crash anonymous function use by reference (was: Netbeans php debugger crash) > Netbeans php debugger crash anonymous function use by reference > --- > > Key: NETBEANS-587 > URL: https://issues.apache.org/jira/browse/NETBEANS-587 > Project: NetBeans > Issue Type: Bug > Environment: Linux Ubuntu 16.04LTS > php --version: PHP 7.0.28-0ubuntu0.16.04.1 (cli) ( NTS ) > Netbeans 8.2 >Reporter: Derk >Priority: Minor > Attachments: bug.tgz > > > How to reproduce: > Take the files from the attachment and load the project in netbeans. > Put a breakpoint on the last line (the "echo $var;" line) > Click the "Debug Project" button in netbeans > I run this script from the command line like so: > {code:java} > export XDEBUG_CONFIG="idekey=netbeans-xdebug" > php -d xdebug.remote_enable=1 index.php > {code} > Press the green "play" button. > Actual output "Socket Exception occured" > Expected output: not to get this error but to have normal debugging output. > Actual output in the console: Segmentation fault (core dumped) > Expected output in the console: "1" > > Now look at line 3. Remove the & in front of $var to make the line look like > this: > {code:java} > $anon_function = function() use ($var) > {code} > Try this how to reproduce again. > Actual output: no error, everything works fine. > Actual output in the console: "0" > Note: The xdebug.log is included in the tarball, as requested from the error > dialog from netbeans. > If you can't get the attachment from this issue: > Create a new netbeans php project (I choose "php project with existing > sources"). > Have this php script as index.php: > {code:java} > $var = 0; > $anon_function = function() use (&$var) > { > $var++; > }; > $anon_function(); > echo $var; > {code} -- 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-587) Netbeans php debugger crash
[ https://issues.apache.org/jira/browse/NETBEANS-587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Derk updated NETBEANS-587: -- Description: How to reproduce: Take the files from the attachment and load the project in netbeans. Put a breakpoint on the last line (the "echo $var;" line) Click the "Debug Project" button in netbeans I run this script from the command line like so: {code:java} export XDEBUG_CONFIG="idekey=netbeans-xdebug" php -d xdebug.remote_enable=1 index.php {code} Press the green "play" button. Actual output "Socket Exception occured" Expected output: not to get this error but to have normal debugging output. Actual output in the console: Segmentation fault (core dumped) Expected output in the console: "1" Now look at line 3. Remove the & in front of $var to make the line look like this: {code:java} $anon_function = function() use ($var) {code} Try this how to reproduce again. Actual output: no error, everything works fine. Actual output in the console: "0" Note: The xdebug.log is included in the tarball, as requested from the error dialog from netbeans. If you can't get the attachment from this issue: Create a new netbeans php project (I choose "php project with existing sources"). Have this php script as index.php: {code:java} Netbeans php debugger crash > --- > > Key: NETBEANS-587 > URL: https://issues.apache.org/jira/browse/NETBEANS-587 > Project: NetBeans > Issue Type: Bug > Environment: Linux Ubuntu 16.04LTS > php --version: PHP 7.0.28-0ubuntu0.16.04.1 (cli) ( NTS ) > Netbeans 8.2 >Reporter: Derk >Priority: Minor > Attachments: bug.tgz > > > How to reproduce: > Take the files from the attachment and load the project in netbeans. > Put a breakpoint on the last line (the "echo $var;" line) > Click the "Debug Project" button in netbeans > I run this script from the command line like so: > {code:java} > export XDEBUG_CONFIG="idekey=netbeans-xdebug" > php -d xdebug.remote_enable=1 index.php > {code} > Press the green "play" button. > Actual output "Socket Exception occured" > Expected output: not to get this error but to have normal debugging output. > Actual output in the console: Segmentation fault (core dumped) > Expected output in the console: "1" > > Now look at line 3. Remove the & in front of $var to make the line look like > this: > {code:java} > $anon_function = function() use ($var) > {code} > Try this how to reproduce again. > Actual output: no error, everything works fine. > Actual output in the console: "0" > Note: The xdebug.log is included in the tarball, as requested from the error > dialog from netbeans. > If you can't get the attachment from this issue: > Create a new netbeans php project (I choose "php project with existing > sources"). > Have this php script as index.php: > {code:java} > $var = 0; > $anon_function = function() use (&$var) > { > $var++; > }; > $anon_function(); > echo $var; > {code} -- 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-587) Netbeans php debugger crash
Derk created NETBEANS-587: - Summary: Netbeans php debugger crash Key: NETBEANS-587 URL: https://issues.apache.org/jira/browse/NETBEANS-587 Project: NetBeans Issue Type: Bug Environment: Linux Ubuntu 16.04LTS php --version: PHP 7.0.28-0ubuntu0.16.04.1 (cli) ( NTS ) Netbeans 8.2 Reporter: Derk Attachments: bug.tgz How to reproduce: Take the files from the attachment and load the project in netbeans. Put a breakpoint on the last line (the "echo $var;" line) Click the "Debug Project" button in netbeans I run this script from the command line like so: {code:java} export XDEBUG_CONFIG="idekey=netbeans-xdebug" php -d xdebug.remote_enable=1 index.php {code} Press the green "play" button. Actual output "Socket Exception occured" Expected output: not to get this error but to have normal debugging output. Actual output in the console: Segmentation fault (core dumped) Expected output in the console: "1" Now look at line 3. Remove the & in front of $var to make the line look like this: {code:java} $anon_function = function() use ($var) {code} Try this how to reproduce again. Actual output: no error, everything works fine. Actual output in the console: "0" If you can't get the attachment from this issue: Create a new netbeans php project (I choose "php project with existing sources"). Have this php script as index.php: {code:java} https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Assigned] (NETBEANS-240) Potential system compromise: nb-javac library unsigned
[ https://issues.apache.org/jira/browse/NETBEANS-240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Moacyr Prado reassigned NETBEANS-240: - Assignee: Moacyr Prado > Potential system compromise: nb-javac library unsigned > -- > > Key: NETBEANS-240 > URL: https://issues.apache.org/jira/browse/NETBEANS-240 > Project: NetBeans > Issue Type: Bug >Reporter: Markus Kilås >Assignee: Moacyr Prado >Priority: Critical > > During startup of NetBeans the user is prompted to choose a javac library. > However, the recommended one, nbjavac, is fetched over an insecure connection > (both plugin metadata and the actually binaries are fetched over HTTP from > bits.netbeans.org and lahoda.info) and the binaries are unsigned. > The plugin system does the right thing and warns the user about the unsigned > plugins. However, if the user anyway ignores the warnings the system could > easily be compromised. The risk of choosing the insecure alternative is also > larger due to that the user gets very mixed messages as the insecure option > is first "Highly recommended" and then there is a warning that it is > "potentially insecure". > Binary being fetched from lahoda.info on HTTP port 80: > {noformat} > GET /netbeans/nb-javac-auc/org-netbeans-modules-nbjavac.nbm HTTP/1.1 > Cache-Control: no-cache > Pragma: no-cache > User-Agent: Java/1.8.0_151 > Host: lahoda.info > Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 > Connection: keep-alive > HTTP/1.1 200 OK > Content-Type: application/octet-stream > Accept-Ranges: bytes > Content-Length: 17626 > Date: Mon, 01 Jan 2018 17:49:45 GMT > Server: lighttpd/1.4.42 > PK.. > KMETA-INF/PK.. > ... > {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-88) java.lang.StackOverflowError for specific mimetype text/foo+html
[ https://issues.apache.org/jira/browse/NETBEANS-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425098#comment-16425098 ] Christian Lenz commented on NETBEANS-88: Tons of excetptions happens, when I select the file with this specific mimetype and other StackOverflowExceptions when I open the file. This only hapens with +html and +xhtml. This will not happen with +xml. So it must be smth with the JsEmbeddingProvider. > java.lang.StackOverflowError for specific mimetype text/foo+html > > > Key: NETBEANS-88 > URL: https://issues.apache.org/jira/browse/NETBEANS-88 > Project: NetBeans > Issue Type: Bug > Components: javascript - Editor, web - HTML Editor >Affects Versions: 8.2 >Reporter: Christian Lenz >Priority: Critical > > When I create a new filetype within a NetBeans module with this mimetype: > 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I > got this exception, after I open such filetype in the editor: > {code} > java.lang.StackOverflowError > at java.util.LinkedList.listIterator(LinkedList.java:867) > at java.util.AbstractList.listIterator(AbstractList.java:299) > at > java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239) > at > org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119) > at > org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72) > at > org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201) > at > org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176) > at > org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360) > at > org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141) > at > org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88) > at > org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201) > at > org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104) > at > org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599) > at > org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322) > at > org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163) > at > org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244) > at > org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201) > at > org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176) > at > org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360) > at > org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141) > at > org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88) > at > org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201) > at > org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104) > at > org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599) > at > org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322) > at > org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163) > at > org.n
[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html
[ https://issues.apache.org/jira/browse/NETBEANS-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425100#comment-16425100 ] Christian Lenz commented on NETBEANS-88: Please let me know, if you need more information. > java.lang.StackOverflowError for specific mimetype text/foo+html > > > Key: NETBEANS-88 > URL: https://issues.apache.org/jira/browse/NETBEANS-88 > Project: NetBeans > Issue Type: Bug > Components: javascript - Editor, web - HTML Editor >Affects Versions: 8.2 >Reporter: Christian Lenz >Priority: Critical > > When I create a new filetype within a NetBeans module with this mimetype: > 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I > got this exception, after I open such filetype in the editor: > {code} > java.lang.StackOverflowError > at java.util.LinkedList.listIterator(LinkedList.java:867) > at java.util.AbstractList.listIterator(AbstractList.java:299) > at > java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239) > at > org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119) > at > org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72) > at > org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201) > at > org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176) > at > org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360) > at > org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141) > at > org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88) > at > org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201) > at > org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104) > at > org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599) > at > org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322) > at > org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163) > at > org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244) > at > org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201) > at > org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176) > at > org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360) > at > org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141) > at > org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88) > at > org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201) > at > org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104) > at > org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599) > at > org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322) > at > org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163) > at > org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244) > at > org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130) > at > org.ne