[jira] [Resolved] (NETBEANS-2463) Print to HTML - wrong font-family
[ https://issues.apache.org/jira/browse/NETBEANS-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-2463. --- Resolution: Fixed Fix Version/s: Next Thanks for the patch and the issue report Michal! > Print to HTML - wrong font-family > - > > Key: NETBEANS-2463 > URL: https://issues.apache.org/jira/browse/NETBEANS-2463 > Project: NetBeans > Issue Type: Bug > Components: editor - Painting & Printing >Affects Versions: 8.2, 9.0, 10.0, 11.0 > Environment: Windows >Reporter: Michal Pudivitr >Priority: Trivial > Labels: pull-request-available > Fix For: Next > > Attachments: HtmlPrintContainer.html > > Time Spent: 0.5h > Remaining Estimate: 0h > > Using File > Print to HTML will produce HTML with misspelled font family > (font-family: Monospace{color:#d04437}*d*{color} instead of "monospace"). The > result is rendered with the browser's default (non-monospace) font. > Steps to reproduce: > # Create or open any java file > # go to File > Print to HTML > Print to file > # open generated HTML file (result will not be rendered with proper font > due to wrong font-family) > # (optional) edit html file replacing all occurrences of "monospace*d*" with > "monospace" and see the file is now rendered correctly. > It seems this minor bug was already reported in year 2013 under [Bug > 236506|https://netbeans.org/bugzilla/show_bug.cgi?id=236506] but the ticked > was closed unresolved. > Refer to [https://www.w3.org/Style/Examples/007/fonts] for more about font > families. > -- 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
[netbeans] branch master updated: [NETBEANS-2463] Applied proposed fix for font family selection.
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 275ee7d [NETBEANS-2463] Applied proposed fix for font family selection. 275ee7d is described below commit 275ee7d57c83b1342c0db00abeb637b95faac702 Author: Laszlo Kishalmi AuthorDate: Thu Apr 25 15:03:43 2019 -0700 [NETBEANS-2463] Applied proposed fix for font family selection. --- .../modules/editor/HtmlPrintContainer.java | 35 +- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/ide/editor/src/org/netbeans/modules/editor/HtmlPrintContainer.java b/ide/editor/src/org/netbeans/modules/editor/HtmlPrintContainer.java index aef846f..0c5c2cf 100644 --- a/ide/editor/src/org/netbeans/modules/editor/HtmlPrintContainer.java +++ b/ide/editor/src/org/netbeans/modules/editor/HtmlPrintContainer.java @@ -75,6 +75,9 @@ public class HtmlPrintContainer implements PrintContainer { private static final String ESC_AMP = "&"; //NOI18N private static final String ESC_QUOT = """;//NOI18N private static final String ESC_APOS = "'"; // IZ #74203 "'"; //NOI18N +private static final String FF_SANSSERIF = "sans-serif"; //NOI18N +private static final String FF_SERIF = "serif"; //NOI18N +private static final String FF_MONOSPACE = "monospace"; //NOI18N private static final char ZERO= '0'; //NOI18N private static final char DOT = '.'; //NOI18N private static final String STYLE_PREFIX = "ST";//NOI18N @@ -98,7 +101,7 @@ public class HtmlPrintContainer implements PrintContainer { public final void begin (FileObject fo, Font font, Color fgColor, Color bgColor, Color hfgColor, Color hbgColor, Class kitClass, String charset) { begin(fo, font, fgColor, bgColor, hfgColor, hbgColor, MimePath.parse(BaseKit.getKit(kitClass).getContentType()), charset); } - + /* package */ final void begin (FileObject fo, Font font, Color fgColor, Color bgColor, Color hfgColor, Color hbgColor, MimePath mimePath, String charset) { styles = new Styles (); buffer = new StringBuffer(); @@ -113,7 +116,7 @@ public class HtmlPrintContainer implements PrintContainer { this.syntaxColoring = ColoringMap.get(mimePath.getPath()).getMap(); this.charset = charset; } - + public void addLines(List lines) { for (int i = 0; i < lines.size(); i++) { AttributedCharacterIterator line = lines.get(i); @@ -314,7 +317,25 @@ public class HtmlPrintContainer implements PrintContainer { sb.append (ST_SEPARATOR); } sb.append (ST_FONT_FAMILY); -sb.append (font.getFamily()); //TODO: Locale should go here +switch(font.getFamily()) { +case Font.MONOSPACED: +sb.append (FF_MONOSPACE); +break; +case Font.SERIF: +sb.append (FF_SERIF); +break; +case Font.SANS_SERIF: +sb.append (FF_SANSSERIF); +break; +case Font.DIALOG: +sb.append (FF_SANSSERIF); +break; +case Font.DIALOG_INPUT: +sb.append (FF_MONOSPACE); +break; +default: +sb.append (font.getFamily()); //TODO: Locale should go here +} if (font.isBold()) { sb.append (ST_SEPARATOR); sb.append (ST_BOLD); @@ -329,7 +350,7 @@ public class HtmlPrintContainer implements PrintContainer { sb.append (ST_SIZE); sb.append (String.valueOf(font.getSize())); } - + } sb.append (ST_END); return sb.toString(); @@ -372,10 +393,10 @@ public class HtmlPrintContainer implements PrintContainer { if (coloringForeColor == null) coloringForeColor = getDefaultColor(); Color coloringBackColor = coloring.getBackColor(); if (coloringBackColor == null) coloringBackColor = getDefaultBackgroundColor(); - + return f.equals(coloringFont) && fc.equals(coloringForeColor) && bc.equals(coloringBackColor); } - + public final String getStyleId (Font f, Color fc, Color bc) { if (!fc.equals(getDefaultColor()) || !bc.equals(getDefaultBackgroundColor()) || !f.equals(getDefaultFont())) { StyleDescriptor sd = new StyleDescriptor (f, fc, bc); @@ -390,7 +411,7 @@ public class HtmlPrintContainer implements PrintContainer { break; } } - + if (id =
[jira] [Updated] (NETBEANS-2463) Print to HTML - wrong font-family
[ https://issues.apache.org/jira/browse/NETBEANS-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi updated NETBEANS-2463: -- Attachment: HtmlPrintContainer.html > Print to HTML - wrong font-family > - > > Key: NETBEANS-2463 > URL: https://issues.apache.org/jira/browse/NETBEANS-2463 > Project: NetBeans > Issue Type: Bug > Components: editor - Painting & Printing >Affects Versions: 8.2, 9.0, 10.0, 11.0 > Environment: Windows >Reporter: Michal Pudivitr >Priority: Trivial > Labels: pull-request-available > Attachments: HtmlPrintContainer.html > > Time Spent: 10m > Remaining Estimate: 0h > > Using File > Print to HTML will produce HTML with misspelled font family > (font-family: Monospace{color:#d04437}*d*{color} instead of "monospace"). The > result is rendered with the browser's default (non-monospace) font. > Steps to reproduce: > # Create or open any java file > # go to File > Print to HTML > Print to file > # open generated HTML file (result will not be rendered with proper font > due to wrong font-family) > # (optional) edit html file replacing all occurrences of "monospace*d*" with > "monospace" and see the file is now rendered correctly. > It seems this minor bug was already reported in year 2013 under [Bug > 236506|https://netbeans.org/bugzilla/show_bug.cgi?id=236506] but the ticked > was closed unresolved. > Refer to [https://www.w3.org/Style/Examples/007/fonts] for more about font > families. > -- 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-2446) New project wizard with wrong project location
[ https://issues.apache.org/jira/browse/NETBEANS-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi updated NETBEANS-2446: -- Priority: Minor (was: Major) > New project wizard with wrong project location > -- > > Key: NETBEANS-2446 > URL: https://issues.apache.org/jira/browse/NETBEANS-2446 > Project: NetBeans > Issue Type: Bug > Components: ide - Code >Affects Versions: 11.0 >Reporter: James Z >Priority: Minor > > New Project wizard has bug, it used wrong Project Location, and when navigate > with 'Next >', '< Back', the project location will become longer and longer. > It also create lots of directories. > Such as: ~/NetBeansProjects/mavenproject1/mavenproject1/mavenproject1/.../... -- 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
[netbeans] branch master updated: [NETBEANS-2392] adjusting handling of erroneous types in TreeFactory … (#1210)
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new c1fb428 [NETBEANS-2392] adjusting handling of erroneous types in TreeFactory … (#1210) c1fb428 is described below commit c1fb428310c30ba742bf8cea4b1cb501ceea842c Author: Jan Lahoda AuthorDate: Fri Apr 26 01:06:25 2019 +0200 [NETBEANS-2392] adjusting handling of erroneous types in TreeFactory … (#1210) * [NETBEANS-2392] adjusting handling of erroneous types in TreeFactory to current javac model * Adding forgotten test file. --- .../modules/java/source/builder/TreeFactory.java | 8 +- .../modules/java/source/save/ElementOverlay.java | 6 +- .../source/transform/ImmutableTreeTranslator.java | 2 +- .../api/java/source/gen/ErrorTypeTest.java | 128 + 4 files changed, 139 insertions(+), 5 deletions(-) diff --git a/java/java.source.base/src/org/netbeans/modules/java/source/builder/TreeFactory.java b/java/java.source.base/src/org/netbeans/modules/java/source/builder/TreeFactory.java index 7fd32f9..0ee4288 100644 --- a/java/java.source.base/src/org/netbeans/modules/java/source/builder/TreeFactory.java +++ b/java/java.source.base/src/org/netbeans/modules/java/source/builder/TreeFactory.java @@ -846,6 +846,11 @@ public class TreeFactory { tp = make.at(NOPOS).Wildcard(make.at(NOPOS).TypeBoundKind(a.kind), (JCExpression) Type(a.type)); break; } +case ERROR: +if (t.hasTag(TypeTag.ERROR)) { +tp = make.at(NOPOS).Ident(((ErrorType) type).tsym.name); +break; +} case DECLARED: JCExpression clazz = (JCExpression) QualIdent(t.tsym); tp = t.getTypeArguments().isEmpty() @@ -859,9 +864,6 @@ public class TreeFactory { case NULL: tp = make.at(NOPOS).Literal(TypeTag.BOT, null); break; -case ERROR: -tp = make.at(NOPOS).Ident(((ErrorType) type).tsym.name); -break; default: return make.at(NOPOS).Type((Type)type); } diff --git a/java/java.source.base/src/org/netbeans/modules/java/source/save/ElementOverlay.java b/java/java.source.base/src/org/netbeans/modules/java/source/save/ElementOverlay.java index 94d9c99..d5a722b 100644 --- a/java/java.source.base/src/org/netbeans/modules/java/source/save/ElementOverlay.java +++ b/java/java.source.base/src/org/netbeans/modules/java/source/save/ElementOverlay.java @@ -184,7 +184,11 @@ public class ElementOverlay { } public Element resolve(ASTService ast, Elements elements, String what, ModuleElement modle) { -Element result = null; +return resolve(ast, elements, what, null, modle); +} + +public Element resolve(ASTService ast, Elements elements, String what, Element original, ModuleElement modle) { +Element result = original; if (classes.containsKey(what)) { result = createElement(ast, elements, what, null, modle); diff --git a/java/java.source.base/src/org/netbeans/modules/java/source/transform/ImmutableTreeTranslator.java b/java/java.source.base/src/org/netbeans/modules/java/source/transform/ImmutableTreeTranslator.java index a88916a..a4a93ce 100644 --- a/java/java.source.base/src/org/netbeans/modules/java/source/transform/ImmutableTreeTranslator.java +++ b/java/java.source.base/src/org/netbeans/modules/java/source/transform/ImmutableTreeTranslator.java @@ -468,7 +468,7 @@ public class ImmutableTreeTranslator implements TreeVisitor { el = overlay.resolve(model, elements, qit.getFQN()); } else { if (el.getKind().isClass() || el.getKind().isInterface() || el.getKind() == ElementKind.PACKAGE) { -el = overlay.resolve(model, elements, ((QualifiedNameable) el).getQualifiedName().toString(), elements.getModuleOf(el)); +el = overlay.resolve(model, elements, ((QualifiedNameable) el).getQualifiedName().toString(), el, elements.getModuleOf(el)); } } diff --git a/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/ErrorTypeTest.java b/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/ErrorTypeTest.java new file mode 100644 index 000..8c37924 --- /dev/null +++ b/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/ErrorTypeTest.java @@ -0,0 +1,128 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you un
[jira] [Updated] (NETBEANS-2463) Print to HTML - wrong font-family
[ https://issues.apache.org/jira/browse/NETBEANS-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-2463: - Labels: pull-request-available (was: ) > Print to HTML - wrong font-family > - > > Key: NETBEANS-2463 > URL: https://issues.apache.org/jira/browse/NETBEANS-2463 > Project: NetBeans > Issue Type: Bug > Components: editor - Painting & Printing >Affects Versions: 8.2, 9.0, 10.0, 11.0 > Environment: Windows >Reporter: Michal Pudivitr >Priority: Trivial > Labels: pull-request-available > > Using File > Print to HTML will produce HTML with misspelled font family > (font-family: Monospace{color:#d04437}*d*{color} instead of "monospace"). The > result is rendered with the browser's default (non-monospace) font. > Steps to reproduce: > # Create or open any java file > # go to File > Print to HTML > Print to file > # open generated HTML file (result will not be rendered with proper font > due to wrong font-family) > # (optional) edit html file replacing all occurrences of "monospace*d*" with > "monospace" and see the file is now rendered correctly. > It seems this minor bug was already reported in year 2013 under [Bug > 236506|https://netbeans.org/bugzilla/show_bug.cgi?id=236506] but the ticked > was closed unresolved. > Refer to [https://www.w3.org/Style/Examples/007/fonts] for more about font > families. > -- 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-2453) A java.lang.NullPointerException exception has occurred.
[ https://issues.apache.org/jira/browse/NETBEANS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi updated NETBEANS-2453: -- Component/s: (was: debugger - Java) javascript - Debugger > A java.lang.NullPointerException exception has occurred. > > > Key: NETBEANS-2453 > URL: https://issues.apache.org/jira/browse/NETBEANS-2453 > Project: NetBeans > Issue Type: Bug > Components: javascript - Debugger >Affects Versions: 11.0 >Reporter: Guilherme Maitan Teixeira >Priority: Major > > A java.lang.NullPointerException exception has occurred. > Please report this at https://issues.apache.org/jira/projects/NETBEANS/issues, > including a copy of your messages.log file as an attachment. > The messages.log file is located in your > C:\Users\guimg\AppData\Roaming\NetBeans\11.0\var\log folder > > -- > h3. You have found a bug in the application! > Please help Apache NetBeans by reporting this problem to our bug tracking > system. Click _View Data_ button, copy the exception and submit it together > with detailed information about what you were trying to achieve before the > problem occurred in > [JIRA|https://issues.apache.org/jira/projects/NETBEANS/issues]. > Thank you for helping us make Apache NetBeans better > > > > --- > >Log Session: Tuesday, April 23, 2019 at 10:29:07 AM Brasilia Standard Time > >System Info: > Product Version = Apache NetBeans IDE 11.0 (Build > incubator-netbeans-release-404-on-20190319) > Operating System = Windows 10 version 10.0 running on amd64 > Java; VM; Vendor = 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11; Oracle > Corporation > Runtime = Java(TM) SE Runtime Environment 9.0.1+11 > Java Home = C:\Desenv\Java\jdk-9.0.1 > System Locale; Encoding = en_US (nb); Cp1252 > Home Directory = C:\Users\guimg > Current Directory = Z:\desenv\Program files\Netbeans\Netbeans 11.0\bin > User Directory = C:\Users\guimg\AppData\Roaming\NetBeans\11.0 > Cache Directory = C:\Users\guimg\AppData\Local\NetBeans\Cache\11.0 > Installation = Z:\desenv\Program files\Netbeans\Netbeans 11.0\nb > Z:\desenv\Program files\Netbeans\Netbeans 11.0\ergonomics > Z:\desenv\Program files\Netbeans\Netbeans 11.0\ide > Z:\desenv\Program files\Netbeans\Netbeans 11.0\extide > Z:\desenv\Program files\Netbeans\Netbeans 11.0\java > Z:\desenv\Program files\Netbeans\Netbeans 11.0\apisupport > Z:\desenv\Program files\Netbeans\Netbeans 11.0\webcommon > Z:\desenv\Program files\Netbeans\Netbeans 11.0\websvccommon > Z:\desenv\Program files\Netbeans\Netbeans 11.0\enterprise > Z:\desenv\Program files\Netbeans\Netbeans 11.0\profiler > Z:\desenv\Program files\Netbeans\Netbeans 11.0\php > Z:\desenv\Program files\Netbeans\Netbeans 11.0\harness > Z:\desenv\Program files\Netbeans\Netbeans 11.0\groovy > Z:\desenv\Program files\Netbeans\Netbeans 11.0\javafx > Z:\desenv\Program files\Netbeans\Netbeans 11.0\platform > Boot & Ext. Classpath = > Application Classpath = Z:\desenv\Program files\Netbeans\Netbeans > 11.0\platform\lib\boot.jar;Z:\desenv\Program files\Netbeans\Netbeans > 11.0\platform\lib\org-openide-modules.jar;Z:\desenv\Program > files\Netbeans\Netbeans > 11.0\platform\lib\org-openide-util-lookup.jar;Z:\desenv\Program > files\Netbeans\Netbeans > 11.0\platform\lib\org-openide-util-ui.jar;Z:\desenv\Program > files\Netbeans\Netbeans 11.0\platform\lib\org-openide-util.jar > Startup Classpath = Z:\desenv\Program files\Netbeans\Netbeans > 11.0\platform\core\asm-all-5.0.1.jar;Z:\desenv\Program > files\Netbeans\Netbeans 11.0\platform\core\core-base.jar;Z:\desenv\Program > files\Netbeans\Netbeans 11.0\platform\core\core.jar;Z:\desenv\Program > files\Netbeans\Netbeans > 11.0\platform\core\org-netbeans-libs-asm.jar;Z:\desenv\Program > files\Netbeans\Netbeans > 11.0\platform\core\org-openide-filesystems-compat8.jar;Z:\desenv\Program > files\Netbeans\Netbeans > 11.0\platform\core\org-openide-filesystems.jar;Z:\desenv\Program > files\Netbeans\Netbeans > 11.0\nb\core\org-netbeans-upgrader.jar;Z:\desenv\Program > files\Netbeans\Netbeans 11.0\nb\core\locale\core_nb.jar > --- > INFO [org.netbeans.modules.netbinox]: Install area set to > file:/Z:/desenv/Program files/Netbeans/Netbeans 11.0/ > 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.
[jira] [Commented] (NETBEANS-2465) Random crashes
[ https://issues.apache.org/jira/browse/NETBEANS-2465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826474#comment-16826474 ] Laszlo Kishalmi commented on NETBEANS-2465: --- Do you have any specific use case, I mean doing PHP or Java EE, what plugins/features are you using the most? > Random crashes > -- > > Key: NETBEANS-2465 > URL: https://issues.apache.org/jira/browse/NETBEANS-2465 > Project: NetBeans > Issue Type: Bug > Environment: Apache NetBeans IDE 11.0 (Build > incubator-netbeans-release-404-on-20190319), Windows 10 >Reporter: Czukowski >Priority: Major > Attachments: hs_err_pid17792.log, hs_err_pid4668.log > > > I've been experiencing some random crashes after recent RAM amount increase. > I haven't been doing anything specific at the time of the crashes, last time > I've even had a different program active at that moment. Used to be stable > before. > Attaching crash log files found in NetBeans directory. -- 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-2466) Failed to Run Application - NullPointer in IDE
[ https://issues.apache.org/jira/browse/NETBEANS-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-2466: - Labels: pull-request-available (was: ) > Failed to Run Application - NullPointer in IDE > -- > > Key: NETBEANS-2466 > URL: https://issues.apache.org/jira/browse/NETBEANS-2466 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 > Environment: Windows 10 x64 >Reporter: Fabian Siering >Assignee: Jan Lahoda >Priority: Critical > Labels: pull-request-available > > Hey, > ive installed Netbeans 11 today and everythink works great! > Some hours later... i switched to another Project Group.. and to previous! > After that i was not able to run my application. Nothing happens - but a > error occured in Netbeans Notifications: > > *Exception (Scroll down for the complete ide-log)* > java.lang.NullPointerException > at > org.netbeans.modules.java.api.common.project.ActionProviderSupport.invokeByJavaSource(ActionProviderSupport.java:915) > at > org.netbeans.modules.java.api.common.project.ActionProviderSupport.invokeTarget(ActionProviderSupport.java:207) > at > org.netbeans.modules.java.api.common.project.JavaActionProvider$ScriptAction.invoke(JavaActionProvider.java:465) > at > org.netbeans.modules.java.api.common.project.JavaActionProvider.lambda$invokeAction$1(JavaActionProvider.java:895) > at java.util.Optional.ifPresent(Optional.java:159) > at > org.netbeans.modules.java.api.common.project.JavaActionProvider.invokeAction(JavaActionProvider.java:888) > at > org.netbeans.modules.java.api.common.project.BaseActionProvider.invokeAction(BaseActionProvider.java:225) > at > org.netbeans.modules.java.j2seproject.J2SEActionProvider.lambda$invokeAction$0(J2SEActionProvider.java:292) > at > org.netbeans.modules.java.j2seproject.J2SEActionProvider.invokeAction(J2SEActionProvider.java:337) > at > org.netbeans.spi.project.support.LookupProviderSupport$MergedActionProvider.invokeAction(LookupProviderSupport.java:262) > at > org.netbeans.modules.project.ui.actions.ProjectAction$2.run(ProjectAction.java:162) > at > org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95) > at > org.netbeans.modules.openide.util.NbMutexEventProvider$Event.writeAccess(NbMutexEventProvider.java:60) > at > org.netbeans.modules.openide.util.LazyMutexImplementation.writeAccess(LazyMutexImplementation.java:56) > at org.openide.util.Mutex.writeAccess(Mutex.java:285) > at > org.netbeans.modules.project.ui.actions.ProjectAction.runSequentially(ProjectAction.java:159) > at > org.netbeans.modules.project.ui.actions.MainProjectAction$1$1.run(MainProjectAction.java:115) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) > at java.awt.EventQueue.access$500(EventQueue.java:97) > at java.awt.EventQueue$3.run(EventQueue.java:709) > at java.awt.EventQueue$3.run(EventQueue.java:703) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) > at > org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) > [catch] at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) > at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) > *IDE-Log* > >Log Session: Thursday, April 25, 2019 4:53:39 PM CEST > >System Info: > Product Version = Apache NetBeans IDE 11.0 (Build > incubator-netbeans-release-404-on-20190319) > Operating System = Windows 10 version 10.0 running on amd64 > Java; VM; Vendor = 1.8.0_212; Java HotSpot(TM) 64-Bit Server VM > 25.212-b10; Oracle Corporation > Runtime = Java(TM) SE Runtime Environment 1.8.0_212-b10 > Java Home = C:\Program Files\Java\jdk1.8.0_212\jre > System Locale; Encoding = de_DE (nb); Cp1252 > Home Directory = C:\Users\MyName > Current Directory = C:\Program Files\NetBeans-11.0 > User Directory = C:\Users\MyName\AppData\Roaming\NetBeans\11.0 > Cache Directory = C:\Users\MyName\AppData\Local\NetBeans\Cache\11.0 > Installation = C:\P
[jira] [Assigned] (NETBEANS-2466) Failed to Run Application - NullPointer in IDE
[ https://issues.apache.org/jira/browse/NETBEANS-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi reassigned NETBEANS-2466: - Assignee: Jan Lahoda > Failed to Run Application - NullPointer in IDE > -- > > Key: NETBEANS-2466 > URL: https://issues.apache.org/jira/browse/NETBEANS-2466 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 > Environment: Windows 10 x64 >Reporter: Fabian Siering >Assignee: Jan Lahoda >Priority: Critical > > Hey, > ive installed Netbeans 11 today and everythink works great! > Some hours later... i switched to another Project Group.. and to previous! > After that i was not able to run my application. Nothing happens - but a > error occured in Netbeans Notifications: > > *Exception (Scroll down for the complete ide-log)* > java.lang.NullPointerException > at > org.netbeans.modules.java.api.common.project.ActionProviderSupport.invokeByJavaSource(ActionProviderSupport.java:915) > at > org.netbeans.modules.java.api.common.project.ActionProviderSupport.invokeTarget(ActionProviderSupport.java:207) > at > org.netbeans.modules.java.api.common.project.JavaActionProvider$ScriptAction.invoke(JavaActionProvider.java:465) > at > org.netbeans.modules.java.api.common.project.JavaActionProvider.lambda$invokeAction$1(JavaActionProvider.java:895) > at java.util.Optional.ifPresent(Optional.java:159) > at > org.netbeans.modules.java.api.common.project.JavaActionProvider.invokeAction(JavaActionProvider.java:888) > at > org.netbeans.modules.java.api.common.project.BaseActionProvider.invokeAction(BaseActionProvider.java:225) > at > org.netbeans.modules.java.j2seproject.J2SEActionProvider.lambda$invokeAction$0(J2SEActionProvider.java:292) > at > org.netbeans.modules.java.j2seproject.J2SEActionProvider.invokeAction(J2SEActionProvider.java:337) > at > org.netbeans.spi.project.support.LookupProviderSupport$MergedActionProvider.invokeAction(LookupProviderSupport.java:262) > at > org.netbeans.modules.project.ui.actions.ProjectAction$2.run(ProjectAction.java:162) > at > org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95) > at > org.netbeans.modules.openide.util.NbMutexEventProvider$Event.writeAccess(NbMutexEventProvider.java:60) > at > org.netbeans.modules.openide.util.LazyMutexImplementation.writeAccess(LazyMutexImplementation.java:56) > at org.openide.util.Mutex.writeAccess(Mutex.java:285) > at > org.netbeans.modules.project.ui.actions.ProjectAction.runSequentially(ProjectAction.java:159) > at > org.netbeans.modules.project.ui.actions.MainProjectAction$1$1.run(MainProjectAction.java:115) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) > at java.awt.EventQueue.access$500(EventQueue.java:97) > at java.awt.EventQueue$3.run(EventQueue.java:709) > at java.awt.EventQueue$3.run(EventQueue.java:703) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) > at > org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) > [catch] at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) > at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) > *IDE-Log* > >Log Session: Thursday, April 25, 2019 4:53:39 PM CEST > >System Info: > Product Version = Apache NetBeans IDE 11.0 (Build > incubator-netbeans-release-404-on-20190319) > Operating System = Windows 10 version 10.0 running on amd64 > Java; VM; Vendor = 1.8.0_212; Java HotSpot(TM) 64-Bit Server VM > 25.212-b10; Oracle Corporation > Runtime = Java(TM) SE Runtime Environment 1.8.0_212-b10 > Java Home = C:\Program Files\Java\jdk1.8.0_212\jre > System Locale; Encoding = de_DE (nb); Cp1252 > Home Directory = C:\Users\MyName > Current Directory = C:\Program Files\NetBeans-11.0 > User Directory = C:\Users\MyName\AppData\Roaming\NetBeans\11.0 > Cache Directory = C:\Users\MyName\AppData\Local\NetBeans\Cache\11.0 > Installation = C:\Program Files\NetBeans-11.0\netbeans\nb >
[jira] [Comment Edited] (NETBEANS-2436) JPanel Properties Missing 2 important properties
[ https://issues.apache.org/jira/browse/NETBEANS-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826397#comment-16826397 ] Geertjan Wielenga edited comment on NETBEANS-2436 at 4/25/19 7:37 PM: -- But can you help by providing a small application on GitHub (or steps how to create something that I can use to reproduce this) with steps that I should take to see the problem, i.e., for me the screenshots are not very clear to understand this. I.e., real step by step instructions, not paragraphs but numbered list of steps with each step beginning with a verb. was (Author: geertjanwielenga): But can you help by providing a small application on GitHub with steps that I should take to see the problem, i.e., for me the screenshots are not very clear to understand this. > JPanel Properties Missing 2 important properties > > > Key: NETBEANS-2436 > URL: https://issues.apache.org/jira/browse/NETBEANS-2436 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 >Reporter: Bernard Bailey >Assignee: Geertjan Wielenga >Priority: Major > Attachments: image-2019-04-18-19-40-31-158.png, > image-2019-04-18-19-43-04-292.png, image-2019-04-18-19-46-02-302.png, > image-2019-04-18-19-48-12-427.png > > > Correct Behavior in Netbeans 8.2 small > !image-2019-04-18-19-40-31-158.png! > !image-2019-04-18-19-43-04-292.png! > Maximized in Netbeans 8.2 Above > Minimized in Netbeans 11 Below > !image-2019-04-18-19-46-02-302.png! > Incorrect Behavior Below > !image-2019-04-18-19-48-12-427.png! > As seen from the image above the panel is not resizing I compared Netbeans > 8.2 with Netbeans 11.0 and in Netbeans 8.2 in the Layout Section of the > Properties both the Horizontal Resizable and Vertical Resizable have a check > box which is not included in Netbeans 11.0. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2436) JPanel Properties Missing 2 important properties
[ https://issues.apache.org/jira/browse/NETBEANS-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826397#comment-16826397 ] Geertjan Wielenga commented on NETBEANS-2436: - But can you help by providing a small application on GitHub with steps that I should take to see the problem, i.e., for me the screenshots are not very clear to understand this. > JPanel Properties Missing 2 important properties > > > Key: NETBEANS-2436 > URL: https://issues.apache.org/jira/browse/NETBEANS-2436 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 >Reporter: Bernard Bailey >Assignee: Geertjan Wielenga >Priority: Major > Attachments: image-2019-04-18-19-40-31-158.png, > image-2019-04-18-19-43-04-292.png, image-2019-04-18-19-46-02-302.png, > image-2019-04-18-19-48-12-427.png > > > Correct Behavior in Netbeans 8.2 small > !image-2019-04-18-19-40-31-158.png! > !image-2019-04-18-19-43-04-292.png! > Maximized in Netbeans 8.2 Above > Minimized in Netbeans 11 Below > !image-2019-04-18-19-46-02-302.png! > Incorrect Behavior Below > !image-2019-04-18-19-48-12-427.png! > As seen from the image above the panel is not resizing I compared Netbeans > 8.2 with Netbeans 11.0 and in Netbeans 8.2 in the Layout Section of the > Properties both the Horizontal Resizable and Vertical Resizable have a check > box which is not included in Netbeans 11.0. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Assigned] (NETBEANS-2436) JPanel Properties Missing 2 important properties
[ https://issues.apache.org/jira/browse/NETBEANS-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Geertjan Wielenga reassigned NETBEANS-2436: --- Assignee: Geertjan Wielenga > JPanel Properties Missing 2 important properties > > > Key: NETBEANS-2436 > URL: https://issues.apache.org/jira/browse/NETBEANS-2436 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 >Reporter: Bernard Bailey >Assignee: Geertjan Wielenga >Priority: Major > Attachments: image-2019-04-18-19-40-31-158.png, > image-2019-04-18-19-43-04-292.png, image-2019-04-18-19-46-02-302.png, > image-2019-04-18-19-48-12-427.png > > > Correct Behavior in Netbeans 8.2 small > !image-2019-04-18-19-40-31-158.png! > !image-2019-04-18-19-43-04-292.png! > Maximized in Netbeans 8.2 Above > Minimized in Netbeans 11 Below > !image-2019-04-18-19-46-02-302.png! > Incorrect Behavior Below > !image-2019-04-18-19-48-12-427.png! > As seen from the image above the panel is not resizing I compared Netbeans > 8.2 with Netbeans 11.0 and in Netbeans 8.2 in the Layout Section of the > Properties both the Horizontal Resizable and Vertical Resizable have a check > box which is not included in Netbeans 11.0. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2436) JPanel Properties Missing 2 important properties
[ https://issues.apache.org/jira/browse/NETBEANS-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826396#comment-16826396 ] Geertjan Wielenga commented on NETBEANS-2436: - But I'd like to investigate this further, really reproduce it, and see what can be done. > JPanel Properties Missing 2 important properties > > > Key: NETBEANS-2436 > URL: https://issues.apache.org/jira/browse/NETBEANS-2436 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 >Reporter: Bernard Bailey >Priority: Major > Attachments: image-2019-04-18-19-40-31-158.png, > image-2019-04-18-19-43-04-292.png, image-2019-04-18-19-46-02-302.png, > image-2019-04-18-19-48-12-427.png > > > Correct Behavior in Netbeans 8.2 small > !image-2019-04-18-19-40-31-158.png! > !image-2019-04-18-19-43-04-292.png! > Maximized in Netbeans 8.2 Above > Minimized in Netbeans 11 Below > !image-2019-04-18-19-46-02-302.png! > Incorrect Behavior Below > !image-2019-04-18-19-48-12-427.png! > As seen from the image above the panel is not resizing I compared Netbeans > 8.2 with Netbeans 11.0 and in Netbeans 8.2 in the Layout Section of the > Properties both the Horizontal Resizable and Vertical Resizable have a check > box which is not included in Netbeans 11.0. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2436) JPanel Properties Missing 2 important properties
[ https://issues.apache.org/jira/browse/NETBEANS-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826390#comment-16826390 ] Geertjan Wielenga commented on NETBEANS-2436: - If it's related to BeansBinding and SwingLayout, these are libraries that are GPL licensed and so that support had to be removed, since Apache does not support GPL. > JPanel Properties Missing 2 important properties > > > Key: NETBEANS-2436 > URL: https://issues.apache.org/jira/browse/NETBEANS-2436 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 >Reporter: Bernard Bailey >Priority: Major > Attachments: image-2019-04-18-19-40-31-158.png, > image-2019-04-18-19-43-04-292.png, image-2019-04-18-19-46-02-302.png, > image-2019-04-18-19-48-12-427.png > > > Correct Behavior in Netbeans 8.2 small > !image-2019-04-18-19-40-31-158.png! > !image-2019-04-18-19-43-04-292.png! > Maximized in Netbeans 8.2 Above > Minimized in Netbeans 11 Below > !image-2019-04-18-19-46-02-302.png! > Incorrect Behavior Below > !image-2019-04-18-19-48-12-427.png! > As seen from the image above the panel is not resizing I compared Netbeans > 8.2 with Netbeans 11.0 and in Netbeans 8.2 in the Layout Section of the > Properties both the Horizontal Resizable and Vertical Resizable have a check > box which is not included in Netbeans 11.0. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2436) JPanel Properties Missing 2 important properties
[ https://issues.apache.org/jira/browse/NETBEANS-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826366#comment-16826366 ] Bernard Bailey commented on NETBEANS-2436: -- Geertjan, Sorry but this does not work!! I added the Netbeans 8.2 files to the library tried to create a new file this does not resolve or solve the issue. Some code must be missing in Netbeans. Thanks anyways, Bernard Bailey > JPanel Properties Missing 2 important properties > > > Key: NETBEANS-2436 > URL: https://issues.apache.org/jira/browse/NETBEANS-2436 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 >Reporter: Bernard Bailey >Priority: Major > Attachments: image-2019-04-18-19-40-31-158.png, > image-2019-04-18-19-43-04-292.png, image-2019-04-18-19-46-02-302.png, > image-2019-04-18-19-48-12-427.png > > > Correct Behavior in Netbeans 8.2 small > !image-2019-04-18-19-40-31-158.png! > !image-2019-04-18-19-43-04-292.png! > Maximized in Netbeans 8.2 Above > Minimized in Netbeans 11 Below > !image-2019-04-18-19-46-02-302.png! > Incorrect Behavior Below > !image-2019-04-18-19-48-12-427.png! > As seen from the image above the panel is not resizing I compared Netbeans > 8.2 with Netbeans 11.0 and in Netbeans 8.2 in the Layout Section of the > Properties both the Horizontal Resizable and Vertical Resizable have a check > box which is not included in Netbeans 11.0. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2430) [Textmate] - IllegalStateException inside a file created using a textmate lexer
[ https://issues.apache.org/jira/browse/NETBEANS-2430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Lenz updated NETBEANS-2430: - Summary: [Textmate] - IllegalStateException inside a file created using a textmate lexer (was: IllegalStateException inside a file created using a textmate lexer) > [Textmate] - IllegalStateException inside a file created using a textmate > lexer > --- > > Key: NETBEANS-2430 > URL: https://issues.apache.org/jira/browse/NETBEANS-2430 > Project: NetBeans > Issue Type: Bug > Components: editor - Lexer, editor - Painting & Printing, editor > - Parsing & Indexing >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE 11.0 (Build > incubator-netbeans-release-404-on-20190319) > Updates: Updates available to version NetBeans 8.2 Patch 2 > Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS > System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) > User directory: C:\Users\user\AppData\Roaming\NetBeans\11.0 > Cache directory: C:\Users\user\AppData\Local\NetBeans\Cache\11.0 >Reporter: Christian Lenz >Assignee: Jan Lahoda >Priority: Major > Attachments: Example.cs, fsharp example.fs, fsharp-reflection.fs, > morse-code-generator.bf > > > I created a plugin where I added some languages via the textmate lexer to > NetBeans. When I open one file of it (file attached) and I want to edit the > file like adding new line, I got an illegalStateException: > {code} > java.lang.IllegalStateException: Invalid resume state! > at > org.netbeans.modules.textmate.lexer.TextmateLexer.(TextmateLexer.java:49) > at > org.netbeans.modules.textmate.lexer.TextmateTokenId$LanguageHierarchyImpl.createLexer(TextmateTokenId.java:110) > at > org.netbeans.spi.lexer.LanguageHierarchy$Accessor.createLexer(LanguageHierarchy.java:353) > at > org.netbeans.lib.lexer.LexerInputOperation.(LexerInputOperation.java:114) > at > org.netbeans.lib.lexer.TextLexerInputOperation.(TextLexerInputOperation.java:51) > at > org.netbeans.lib.lexer.inc.IncTokenList.createLexerInputOperation(IncTokenList.java:276) > at > org.netbeans.lib.lexer.inc.IncTokenList.replaceTokens(IncTokenList.java:354) > at > org.netbeans.lib.lexer.inc.TokenListUpdater.updateRegular(TokenListUpdater.java:258) > at > org.netbeans.lib.lexer.inc.TokenHierarchyUpdate$UpdateItem.update(TokenHierarchyUpdate.java:325) > at > org.netbeans.lib.lexer.inc.TokenHierarchyUpdate.processLevelInfos(TokenHierarchyUpdate.java:200) > at > org.netbeans.lib.lexer.inc.TokenHierarchyUpdate.updateImpl(TokenHierarchyUpdate.java:171) > at > org.netbeans.lib.lexer.inc.TokenHierarchyUpdate.update(TokenHierarchyUpdate.java:109) > at > org.netbeans.lib.lexer.TokenHierarchyOperation.textModified(TokenHierarchyOperation.java:585) > at > org.netbeans.spi.lexer.TokenHierarchyControl.textModified(TokenHierarchyControl.java:71) > at > org.netbeans.lib.lexer.inc.DocumentInput.textModified(DocumentInput.java:128) > at > org.netbeans.lib.lexer.inc.DocumentInput.insertUpdate(DocumentInput.java:117) > at > org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.insertUpdate(PriorityDocumentListenerList.java:60) > at > java.desktop/javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:203) > at > org.netbeans.editor.BaseDocument.fireInsertUpdate(BaseDocument.java:1647) > at > org.netbeans.editor.BaseDocument.handleInsertString(BaseDocument.java:822) > at > org.netbeans.editor.BaseDocument$FilterBypassImpl.insertString(BaseDocument.java:2643) > at > java.desktop/javax.swing.text.DocumentFilter.insertString(DocumentFilter.java:100) > at > org.openide.text.CloneableEditorSupport$DocFilter.insertString(CloneableEditorSupport.java:2344) > at org.netbeans.editor.BaseDocument.insertString(BaseDocument.java:741) > at > org.netbeans.editor.BaseKit$InsertBreakAction.performLineBreakInsertion(BaseKit.java:1586) > at > org.netbeans.editor.BaseKit$InsertBreakAction.access$400(BaseKit.java:1415) > at > org.netbeans.editor.BaseKit$InsertBreakAction$2.run(BaseKit.java:1505) > at > org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:333) > at > org.netbeans.editor.BaseKit$InsertBreakAction.actionPerformed(BaseKit.java:1496) > at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:322) > at > java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1810) > at > java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2900) > at > java
[jira] [Updated] (NETBEANS-2467) [Textmate] - NoSuchFieldError
[ https://issues.apache.org/jira/browse/NETBEANS-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Lenz updated NETBEANS-2467: - Summary: [Textmate] - NoSuchFieldError (was: [TextMate] - NoSuchFieldError) > [Textmate] - NoSuchFieldError > - > > Key: NETBEANS-2467 > URL: https://issues.apache.org/jira/browse/NETBEANS-2467 > Project: NetBeans > Issue Type: Bug > Components: editor - Lexer >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE 11.0 (Build > incubator-netbeans-release-404-on-20190319) > Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS > System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) > User directory: C:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir > Cache directory: C:\Projekte\Netbeans > Plugins\TextmateBeans\target\userdir\var\cache >Reporter: Christian Lenz >Assignee: Jan Lahoda >Priority: Major > Labels: textmate-lexer > Attachments: bla.py, mark.md > > > I got a NoSuchFieldError after I added markdown support. > Steps to reproduce: > * Download this plugin: > https://github.com/Chris2011/TextmateBeans/releases/tag/1.1 > * Install it in NetBeans 11 > * Restart NetBeans > * open my attached markdown file > * See the error: > {code} > java.lang.NoSuchFieldError: codeLen > at org.joni.Analyser.isCaseFoldVariableLength(Analyser.java:1507) > at org.joni.Analyser.expandCaseFoldString(Analyser.java:1585) > at org.joni.Analyser.setupTree(Analyser.java:1811) > at org.joni.Analyser.setupTree(Analyser.java:1802) > at org.joni.Analyser.setupTree(Analyser.java:1912) > at org.joni.Analyser.setupTree(Analyser.java:1791) > at org.joni.Analyser.setupTree(Analyser.java:1902) > at org.joni.Analyser.setupTree(Analyser.java:1791) > at org.joni.Analyser.compile(Analyser.java:113) > at org.joni.Regex.(Regex.java:159) > at org.joni.Regex.(Regex.java:136) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList._resolveAnchors(RegExpSourceList.java:128) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:99) > at > org.eclipse.tm4e.core.internal.rule.IncludeOnlyRule.compile(IncludeOnlyRule.java:47) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537) > at > org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239) > at > org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191) > at > org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:67) > at > org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191) > at > org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170) > at > org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165) > at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:775) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234) > at > org.netbeans.modules.ed
[jira] [Updated] (NETBEANS-2431) [Textmate] - No syntax highlighting after installing plugin to add new languages
[ https://issues.apache.org/jira/browse/NETBEANS-2431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Lenz updated NETBEANS-2431: - Summary: [Textmate] - No syntax highlighting after installing plugin to add new languages (was: No syntax highlighting after installing plugin to add new languages) > [Textmate] - No syntax highlighting after installing plugin to add new > languages > > > Key: NETBEANS-2431 > URL: https://issues.apache.org/jira/browse/NETBEANS-2431 > Project: NetBeans > Issue Type: Bug > Components: editor - Lexer >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE 11.0 (Build > incubator-netbeans-release-404-on-20190319) > Updates: Updates available to version NetBeans 8.2 Patch 2 > Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS > System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) > User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.0 > Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.0 >Reporter: Christian Lenz >Assignee: Jan Lahoda >Priority: Major > Labels: textmate-lexer > Attachments: Example.cs > > > When I install my plugin into a clean, running NetBeans 11.0 instance and I > open a file with a new added syntax support (e.g. C#) there is no syntax > highlighting until I restart NetBeans. > I don't want to restart NetBeans, it should work out of the box, if possible. > Steps to reproduce: > * Open NetBeans 11. > * Download and install this plugin: > https://github.com/Chris2011/netbeans-textmate-test/releases/tag/1.0 > * Open my example file: example.cs > * See no syntax highlighting > * Restart NetBeans > * Open the file again, syntax highlighting was added. > It would be even more nice, if the syntax highlighing could added on demand. > I think we had no problem wit JavaCC or ANTLR support. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Assigned] (NETBEANS-2468) [Textmate] - No syntax highlighting for specific textmate lexer
[ https://issues.apache.org/jira/browse/NETBEANS-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Lenz reassigned NETBEANS-2468: Assignee: Jan Lahoda > [Textmate] - No syntax highlighting for specific textmate lexer > --- > > Key: NETBEANS-2468 > URL: https://issues.apache.org/jira/browse/NETBEANS-2468 > Project: NetBeans > Issue Type: Bug > Components: editor - Lexer >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE 11.0 (Build > incubator-netbeans-release-404-on-20190319) > Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS > System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) > User directory: C:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir > Cache directory: C:\Projekte\Netbeans > Plugins\TextmateBeans\target\userdir\var\cache >Reporter: Christian Lenz >Assignee: Jan Lahoda >Priority: Major > Labels: textmate-lexer > Attachments: example.hs, test.http > > > For some FileTypes that I created, I don't have syntax highlighting. No > errors, just no highlighting. This happens for haskell files (hs) and rest > client files (http) > Steps to reproduce: > * Download this plugin (1.2): > https://github.com/Chris2011/TextmateBeans/releases/tag/1.2 > * Install it in NetBeans 11 > * Restart NetBeans > * Open my attached file (test.http or example.hs) > * See no highlighting. > I used this textmate files: > * http: > https://github.com/Huachao/vscode-restclient/blob/master/syntaxes/http.tmLanguage > * haskell: > https://github.com/JustusAdam/language-haskell/blob/master/syntaxes/haskell.tmLanguage -- 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-2468) [Textmate] - No syntax highlighting for specific textmate lexer
[ https://issues.apache.org/jira/browse/NETBEANS-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826329#comment-16826329 ] Christian Lenz commented on NETBEANS-2468: -- I know the icon for http files is wrong, i didn't had any other icon so it is the correct folder/correct mimetype/extension, etc. > [Textmate] - No syntax highlighting for specific textmate lexer > --- > > Key: NETBEANS-2468 > URL: https://issues.apache.org/jira/browse/NETBEANS-2468 > Project: NetBeans > Issue Type: Bug > Components: editor - Lexer >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE 11.0 (Build > incubator-netbeans-release-404-on-20190319) > Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS > System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) > User directory: C:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir > Cache directory: C:\Projekte\Netbeans > Plugins\TextmateBeans\target\userdir\var\cache >Reporter: Christian Lenz >Priority: Major > Labels: textmate-lexer > Attachments: example.hs, test.http > > > For some FileTypes that I created, I don't have syntax highlighting. No > errors, just no highlighting. This happens for haskell files (hs) and rest > client files (http) > Steps to reproduce: > * Download this plugin (1.2): > https://github.com/Chris2011/TextmateBeans/releases/tag/1.2 > * Install it in NetBeans 11 > * Restart NetBeans > * Open my attached file (test.http or example.hs) > * See no highlighting. > I used this textmate files: > * http: > https://github.com/Huachao/vscode-restclient/blob/master/syntaxes/http.tmLanguage > * haskell: > https://github.com/JustusAdam/language-haskell/blob/master/syntaxes/haskell.tmLanguage -- 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-2468) [Textmate] - No syntax highlighting for specific textmate lexer
Christian Lenz created NETBEANS-2468: Summary: [Textmate] - No syntax highlighting for specific textmate lexer Key: NETBEANS-2468 URL: https://issues.apache.org/jira/browse/NETBEANS-2468 Project: NetBeans Issue Type: Bug Components: editor - Lexer Affects Versions: 11.0 Environment: Product Version: Apache NetBeans IDE 11.0 (Build incubator-netbeans-release-404-on-20190319) Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) User directory: C:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir Cache directory: C:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir\var\cache Reporter: Christian Lenz Attachments: example.hs, test.http For some FileTypes that I created, I don't have syntax highlighting. No errors, just no highlighting. This happens for haskell files (hs) and rest client files (http) Steps to reproduce: * Download this plugin (1.2): https://github.com/Chris2011/TextmateBeans/releases/tag/1.2 * Install it in NetBeans 11 * Restart NetBeans * Open my attached file (test.http or example.hs) * See no highlighting. I used this textmate files: * http: https://github.com/Huachao/vscode-restclient/blob/master/syntaxes/http.tmLanguage * haskell: https://github.com/JustusAdam/language-haskell/blob/master/syntaxes/haskell.tmLanguage -- 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-2467) [TextMate] - NoSuchFieldError
[ https://issues.apache.org/jira/browse/NETBEANS-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Lenz updated NETBEANS-2467: - Component/s: (was: editor - Parsing & Indexing) editor - Lexer > [TextMate] - NoSuchFieldError > - > > Key: NETBEANS-2467 > URL: https://issues.apache.org/jira/browse/NETBEANS-2467 > Project: NetBeans > Issue Type: Bug > Components: editor - Lexer >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE 11.0 (Build > incubator-netbeans-release-404-on-20190319) > Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS > System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) > User directory: C:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir > Cache directory: C:\Projekte\Netbeans > Plugins\TextmateBeans\target\userdir\var\cache >Reporter: Christian Lenz >Assignee: Jan Lahoda >Priority: Major > Labels: textmate-lexer > Attachments: bla.py, mark.md > > > I got a NoSuchFieldError after I added markdown support. > Steps to reproduce: > * Download this plugin: > https://github.com/Chris2011/TextmateBeans/releases/tag/1.1 > * Install it in NetBeans 11 > * Restart NetBeans > * open my attached markdown file > * See the error: > {code} > java.lang.NoSuchFieldError: codeLen > at org.joni.Analyser.isCaseFoldVariableLength(Analyser.java:1507) > at org.joni.Analyser.expandCaseFoldString(Analyser.java:1585) > at org.joni.Analyser.setupTree(Analyser.java:1811) > at org.joni.Analyser.setupTree(Analyser.java:1802) > at org.joni.Analyser.setupTree(Analyser.java:1912) > at org.joni.Analyser.setupTree(Analyser.java:1791) > at org.joni.Analyser.setupTree(Analyser.java:1902) > at org.joni.Analyser.setupTree(Analyser.java:1791) > at org.joni.Analyser.compile(Analyser.java:113) > at org.joni.Regex.(Regex.java:159) > at org.joni.Regex.(Regex.java:136) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList._resolveAnchors(RegExpSourceList.java:128) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:99) > at > org.eclipse.tm4e.core.internal.rule.IncludeOnlyRule.compile(IncludeOnlyRule.java:47) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537) > at > org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239) > at > org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191) > at > org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:67) > at > org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191) > at > org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170) > at > org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165) > at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:775) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234) > at > org.netbeans.mod
[jira] [Updated] (NETBEANS-2467) [TextMate] - NoSuchFieldError
[ https://issues.apache.org/jira/browse/NETBEANS-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Lenz updated NETBEANS-2467: - Summary: [TextMate] - NoSuchFieldError (was: TextMate problem - NoSuchFieldError) > [TextMate] - NoSuchFieldError > - > > Key: NETBEANS-2467 > URL: https://issues.apache.org/jira/browse/NETBEANS-2467 > Project: NetBeans > Issue Type: Bug > Components: editor - Parsing & Indexing >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE 11.0 (Build > incubator-netbeans-release-404-on-20190319) > Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS > System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) > User directory: C:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir > Cache directory: C:\Projekte\Netbeans > Plugins\TextmateBeans\target\userdir\var\cache >Reporter: Christian Lenz >Assignee: Jan Lahoda >Priority: Major > Attachments: bla.py, mark.md > > > I got a NoSuchFieldError after I added markdown support. > Steps to reproduce: > * Download this plugin: > https://github.com/Chris2011/TextmateBeans/releases/tag/1.1 > * Install it in NetBeans 11 > * Restart NetBeans > * open my attached markdown file > * See the error: > {code} > java.lang.NoSuchFieldError: codeLen > at org.joni.Analyser.isCaseFoldVariableLength(Analyser.java:1507) > at org.joni.Analyser.expandCaseFoldString(Analyser.java:1585) > at org.joni.Analyser.setupTree(Analyser.java:1811) > at org.joni.Analyser.setupTree(Analyser.java:1802) > at org.joni.Analyser.setupTree(Analyser.java:1912) > at org.joni.Analyser.setupTree(Analyser.java:1791) > at org.joni.Analyser.setupTree(Analyser.java:1902) > at org.joni.Analyser.setupTree(Analyser.java:1791) > at org.joni.Analyser.compile(Analyser.java:113) > at org.joni.Regex.(Regex.java:159) > at org.joni.Regex.(Regex.java:136) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList._resolveAnchors(RegExpSourceList.java:128) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:99) > at > org.eclipse.tm4e.core.internal.rule.IncludeOnlyRule.compile(IncludeOnlyRule.java:47) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537) > at > org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239) > at > org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191) > at > org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:67) > at > org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191) > at > org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170) > at > org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165) > at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:775) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234) > at > org.netbeans.modules.editor.lib2.highligh
[jira] [Updated] (NETBEANS-2467) [TextMate] - NoSuchFieldError
[ https://issues.apache.org/jira/browse/NETBEANS-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Lenz updated NETBEANS-2467: - Labels: textmate-lexer (was: ) > [TextMate] - NoSuchFieldError > - > > Key: NETBEANS-2467 > URL: https://issues.apache.org/jira/browse/NETBEANS-2467 > Project: NetBeans > Issue Type: Bug > Components: editor - Parsing & Indexing >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE 11.0 (Build > incubator-netbeans-release-404-on-20190319) > Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS > System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) > User directory: C:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir > Cache directory: C:\Projekte\Netbeans > Plugins\TextmateBeans\target\userdir\var\cache >Reporter: Christian Lenz >Assignee: Jan Lahoda >Priority: Major > Labels: textmate-lexer > Attachments: bla.py, mark.md > > > I got a NoSuchFieldError after I added markdown support. > Steps to reproduce: > * Download this plugin: > https://github.com/Chris2011/TextmateBeans/releases/tag/1.1 > * Install it in NetBeans 11 > * Restart NetBeans > * open my attached markdown file > * See the error: > {code} > java.lang.NoSuchFieldError: codeLen > at org.joni.Analyser.isCaseFoldVariableLength(Analyser.java:1507) > at org.joni.Analyser.expandCaseFoldString(Analyser.java:1585) > at org.joni.Analyser.setupTree(Analyser.java:1811) > at org.joni.Analyser.setupTree(Analyser.java:1802) > at org.joni.Analyser.setupTree(Analyser.java:1912) > at org.joni.Analyser.setupTree(Analyser.java:1791) > at org.joni.Analyser.setupTree(Analyser.java:1902) > at org.joni.Analyser.setupTree(Analyser.java:1791) > at org.joni.Analyser.compile(Analyser.java:113) > at org.joni.Regex.(Regex.java:159) > at org.joni.Regex.(Regex.java:136) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList._resolveAnchors(RegExpSourceList.java:128) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:99) > at > org.eclipse.tm4e.core.internal.rule.IncludeOnlyRule.compile(IncludeOnlyRule.java:47) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537) > at > org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239) > at > org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191) > at > org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:67) > at > org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191) > at > org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170) > at > org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165) > at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:775) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234) > at > org.netbeans.modules.editor.lib2.highlighting.Highlight
[jira] [Comment Edited] (NETBEANS-2467) TextMate problem - NoSuchFieldError
[ https://issues.apache.org/jira/browse/NETBEANS-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826306#comment-16826306 ] Christian Lenz edited comment on NETBEANS-2467 at 4/25/19 6:08 PM: --- Same happens, when I add python support while using this textmate file: https://github.com/textmate/python.tmbundle/blob/master/Syntaxes/Python.tmLanguage. Added my sample python file. But here the scope is different, it is normal source.python. was (Author: chrizzly): Same happens, when I add python support while using this textmate file: https://github.com/textmate/python.tmbundle/blob/master/Syntaxes/Python.tmLanguage. Added my sample python file. > TextMate problem - NoSuchFieldError > --- > > Key: NETBEANS-2467 > URL: https://issues.apache.org/jira/browse/NETBEANS-2467 > Project: NetBeans > Issue Type: Bug > Components: editor - Parsing & Indexing >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE 11.0 (Build > incubator-netbeans-release-404-on-20190319) > Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS > System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) > User directory: C:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir > Cache directory: C:\Projekte\Netbeans > Plugins\TextmateBeans\target\userdir\var\cache >Reporter: Christian Lenz >Assignee: Jan Lahoda >Priority: Major > Attachments: bla.py, mark.md > > > I got a NoSuchFieldError after I added markdown support. > Steps to reproduce: > * Download this plugin: > https://github.com/Chris2011/TextmateBeans/releases/tag/1.1 > * Install it in NetBeans 11 > * Restart NetBeans > * open my attached markdown file > * See the error: > {code} > java.lang.NoSuchFieldError: codeLen > at org.joni.Analyser.isCaseFoldVariableLength(Analyser.java:1507) > at org.joni.Analyser.expandCaseFoldString(Analyser.java:1585) > at org.joni.Analyser.setupTree(Analyser.java:1811) > at org.joni.Analyser.setupTree(Analyser.java:1802) > at org.joni.Analyser.setupTree(Analyser.java:1912) > at org.joni.Analyser.setupTree(Analyser.java:1791) > at org.joni.Analyser.setupTree(Analyser.java:1902) > at org.joni.Analyser.setupTree(Analyser.java:1791) > at org.joni.Analyser.compile(Analyser.java:113) > at org.joni.Regex.(Regex.java:159) > at org.joni.Regex.(Regex.java:136) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList._resolveAnchors(RegExpSourceList.java:128) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:99) > at > org.eclipse.tm4e.core.internal.rule.IncludeOnlyRule.compile(IncludeOnlyRule.java:47) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537) > at > org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239) > at > org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191) > at > org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:67) > at > org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191) > at > org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170) > at > org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165) > at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:775) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlig
[jira] [Commented] (NETBEANS-2467) TextMate problem - NoSuchFieldError
[ https://issues.apache.org/jira/browse/NETBEANS-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826306#comment-16826306 ] Christian Lenz commented on NETBEANS-2467: -- Same happens, when I add python support while using this textmate file: https://github.com/textmate/python.tmbundle/blob/master/Syntaxes/Python.tmLanguage. Added my sample python file. > TextMate problem - NoSuchFieldError > --- > > Key: NETBEANS-2467 > URL: https://issues.apache.org/jira/browse/NETBEANS-2467 > Project: NetBeans > Issue Type: Bug > Components: editor - Parsing & Indexing >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE 11.0 (Build > incubator-netbeans-release-404-on-20190319) > Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS > System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) > User directory: C:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir > Cache directory: C:\Projekte\Netbeans > Plugins\TextmateBeans\target\userdir\var\cache >Reporter: Christian Lenz >Assignee: Jan Lahoda >Priority: Major > Attachments: bla.py, mark.md > > > I got a NoSuchFieldError after I added markdown support. > Steps to reproduce: > * Download this plugin: > https://github.com/Chris2011/TextmateBeans/releases/tag/1.1 > * Install it in NetBeans 11 > * Restart NetBeans > * open my attached markdown file > * See the error: > {code} > java.lang.NoSuchFieldError: codeLen > at org.joni.Analyser.isCaseFoldVariableLength(Analyser.java:1507) > at org.joni.Analyser.expandCaseFoldString(Analyser.java:1585) > at org.joni.Analyser.setupTree(Analyser.java:1811) > at org.joni.Analyser.setupTree(Analyser.java:1802) > at org.joni.Analyser.setupTree(Analyser.java:1912) > at org.joni.Analyser.setupTree(Analyser.java:1791) > at org.joni.Analyser.setupTree(Analyser.java:1902) > at org.joni.Analyser.setupTree(Analyser.java:1791) > at org.joni.Analyser.compile(Analyser.java:113) > at org.joni.Regex.(Regex.java:159) > at org.joni.Regex.(Regex.java:136) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList._resolveAnchors(RegExpSourceList.java:128) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:99) > at > org.eclipse.tm4e.core.internal.rule.IncludeOnlyRule.compile(IncludeOnlyRule.java:47) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537) > at > org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239) > at > org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191) > at > org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:67) > at > org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191) > at > org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170) > at > org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165) > at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:775) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303) > at > org.
[jira] [Updated] (NETBEANS-2467) TextMate problem - NoSuchFieldError
[ https://issues.apache.org/jira/browse/NETBEANS-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Lenz updated NETBEANS-2467: - Attachment: bla.py > TextMate problem - NoSuchFieldError > --- > > Key: NETBEANS-2467 > URL: https://issues.apache.org/jira/browse/NETBEANS-2467 > Project: NetBeans > Issue Type: Bug > Components: editor - Parsing & Indexing >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE 11.0 (Build > incubator-netbeans-release-404-on-20190319) > Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS > System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) > User directory: C:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir > Cache directory: C:\Projekte\Netbeans > Plugins\TextmateBeans\target\userdir\var\cache >Reporter: Christian Lenz >Assignee: Jan Lahoda >Priority: Major > Attachments: bla.py, mark.md > > > I got a NoSuchFieldError after I added markdown support. > Steps to reproduce: > * Download this plugin: > https://github.com/Chris2011/TextmateBeans/releases/tag/1.1 > * Install it in NetBeans 11 > * Restart NetBeans > * open my attached markdown file > * See the error: > {code} > java.lang.NoSuchFieldError: codeLen > at org.joni.Analyser.isCaseFoldVariableLength(Analyser.java:1507) > at org.joni.Analyser.expandCaseFoldString(Analyser.java:1585) > at org.joni.Analyser.setupTree(Analyser.java:1811) > at org.joni.Analyser.setupTree(Analyser.java:1802) > at org.joni.Analyser.setupTree(Analyser.java:1912) > at org.joni.Analyser.setupTree(Analyser.java:1791) > at org.joni.Analyser.setupTree(Analyser.java:1902) > at org.joni.Analyser.setupTree(Analyser.java:1791) > at org.joni.Analyser.compile(Analyser.java:113) > at org.joni.Regex.(Regex.java:159) > at org.joni.Regex.(Regex.java:136) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList._resolveAnchors(RegExpSourceList.java:128) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:99) > at > org.eclipse.tm4e.core.internal.rule.IncludeOnlyRule.compile(IncludeOnlyRule.java:47) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537) > at > org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239) > at > org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191) > at > org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:67) > at > org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191) > at > org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170) > at > org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165) > at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:775) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234) > at > org.netbeans.modules.editor.lib2.highlighting.HighlightsReader.readUntil(HighlightsReader.java
[jira] [Commented] (NETBEANS-180) Please support the Language Server Protocol
[ https://issues.apache.org/jira/browse/NETBEANS-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826270#comment-16826270 ] Dominik Pospisil commented on NETBEANS-180: --- Is there any progress on that? I am trying to connect using NB 11 to a LUA LSP server without any luck :( Seems that after establishing connection, netbens just sends Content Length header and that's it... > Please support the Language Server Protocol > --- > > Key: NETBEANS-180 > URL: https://issues.apache.org/jira/browse/NETBEANS-180 > Project: NetBeans > Issue Type: New Feature > Components: editor - Lexer, editor - Other, editor - Parsing & > Indexing >Affects Versions: Next >Reporter: Christian Lenz >Assignee: Jan Lahoda >Priority: Major > > As you can see it here: > https://code.visualstudio.com/blogs/2016/06/27/common-language-protocol and > here: https://github.com/Microsoft/language-server-protocol this stuff gets > very hot these days. It's about to have a commong language server, which > handles the language by them self and will send you errors, warnings, code > completion and many more without creating a new language support into the > IDE. This is very cool, so for netbeans it would be possible only to create > file templates and projects, not more, the rest will do the commong language > server protocol. > Cheers > Chris -- 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-2467) TextMate problem - NoSuchFieldError
Christian Lenz created NETBEANS-2467: Summary: TextMate problem - NoSuchFieldError Key: NETBEANS-2467 URL: https://issues.apache.org/jira/browse/NETBEANS-2467 Project: NetBeans Issue Type: Bug Components: editor - Parsing & Indexing Affects Versions: 11.0 Environment: Product Version: Apache NetBeans IDE 11.0 (Build incubator-netbeans-release-404-on-20190319) Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) User directory: C:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir Cache directory: C:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir\var\cache Reporter: Christian Lenz Assignee: Jan Lahoda Attachments: mark.md I got a NoSuchFieldError after I added markdown support. Steps to reproduce: * Download this plugin: https://github.com/Chris2011/TextmateBeans/releases/tag/1.1 * Install it in NetBeans 11 * Restart NetBeans * open my attached markdown file * See the error: {code} java.lang.NoSuchFieldError: codeLen at org.joni.Analyser.isCaseFoldVariableLength(Analyser.java:1507) at org.joni.Analyser.expandCaseFoldString(Analyser.java:1585) at org.joni.Analyser.setupTree(Analyser.java:1811) at org.joni.Analyser.setupTree(Analyser.java:1802) at org.joni.Analyser.setupTree(Analyser.java:1912) at org.joni.Analyser.setupTree(Analyser.java:1791) at org.joni.Analyser.setupTree(Analyser.java:1902) at org.joni.Analyser.setupTree(Analyser.java:1791) at org.joni.Analyser.compile(Analyser.java:113) at org.joni.Regex.(Regex.java:159) at org.joni.Regex.(Regex.java:136) at org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49) at org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29) at org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24) at org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132) at org.eclipse.tm4e.core.internal.rule.RegExpSourceList._resolveAnchors(RegExpSourceList.java:128) at org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:99) at org.eclipse.tm4e.core.internal.rule.IncludeOnlyRule.compile(IncludeOnlyRule.java:47) at org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276) at org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299) at org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110) at org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97) at org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537) at org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239) at org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191) at org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:67) at org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191) at org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170) at org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165) at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463) at org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:775) at org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476) at org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405) at org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600) at org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337) at org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303) at org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234) at org.netbeans.modules.editor.lib2.highlighting.HighlightsReader.readUntil(HighlightsReader.java:59) at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.restart(HighlightsViewFactory.java:166) at org.netbeans.modules.editor.lib2.view.ViewBuilder$FactoryState.init(ViewBuilder.java:1299) at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.
[jira] [Reopened] (NETBEANS-2451) Run main project disabled for Spring Boot applications
[ https://issues.apache.org/jira/browse/NETBEANS-2451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi reopened NETBEANS-2451: --- Assignee: Laszlo Kishalmi (was: hg) Well, that is kind of strange. Just downloaded a fresh demo project from Spring, and it got recognized. Run and Debug tasks are available. Could you send a project where it is failing? I need to do a closer look as I can't reproduce this right now. > Run main project disabled for Spring Boot applications > -- > > Key: NETBEANS-2451 > URL: https://issues.apache.org/jira/browse/NETBEANS-2451 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.0 >Reporter: hg >Assignee: Laszlo Kishalmi >Priority: Major > Labels: Gradle > Attachments: netbeans-run-issue.mp4 > > > The menu options for "Run Main Project" and "Debug Main Project" are disabled > for Spring Boot applications. See attached screen recording (note also that > the menu does not update automatically). > > *Steps to reproduce:* > 1) Generate a demo Spring Boot Gradle project here: > [https://start.spring.io/] > 2) Open Project in Netbeans. Menu items are disabled. > > *Workarounds:* > 1) Use the "bootRun" task as found in the Navigator panel. > or 2) Modify build.gradle to add in the application plugin and mainClassName > variable. This causes NetBeans to add a "run" task and enables the menu. > > > *Product Version:* Apache NetBeans IDE 11.0 (Build > incubator-netbeans-release-404-on-20190319) > *Java:* 1.8.0_192; Java HotSpot(TM) 64-Bit Server VM 25.192-b12 > *Runtime:* Java(TM) SE Runtime Environment 1.8.0_192-b12 > *System:* Mac OS X version 10.14.4 running on x86_64; UTF-8; en_GB (nb) -- 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-2466) Failed to Run Application - NullPointer in IDE
[ https://issues.apache.org/jira/browse/NETBEANS-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabian Siering updated NETBEANS-2466: - Summary: Failed to Run Application - NullPointer in IDE (was: Failed to Run Application - NullPointer in ) > Failed to Run Application - NullPointer in IDE > -- > > Key: NETBEANS-2466 > URL: https://issues.apache.org/jira/browse/NETBEANS-2466 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 > Environment: Windows 10 x64 >Reporter: Fabian Siering >Priority: Critical > > Hey, > ive installed Netbeans 11 today and everythink works great! > Some hours later... i switched to another Project Group.. and to previous! > After that i was not able to run my application. Nothing happens - but a > error occured in Netbeans Notifications: > > *Exception (Scroll down for the complete ide-log)* > java.lang.NullPointerException > at > org.netbeans.modules.java.api.common.project.ActionProviderSupport.invokeByJavaSource(ActionProviderSupport.java:915) > at > org.netbeans.modules.java.api.common.project.ActionProviderSupport.invokeTarget(ActionProviderSupport.java:207) > at > org.netbeans.modules.java.api.common.project.JavaActionProvider$ScriptAction.invoke(JavaActionProvider.java:465) > at > org.netbeans.modules.java.api.common.project.JavaActionProvider.lambda$invokeAction$1(JavaActionProvider.java:895) > at java.util.Optional.ifPresent(Optional.java:159) > at > org.netbeans.modules.java.api.common.project.JavaActionProvider.invokeAction(JavaActionProvider.java:888) > at > org.netbeans.modules.java.api.common.project.BaseActionProvider.invokeAction(BaseActionProvider.java:225) > at > org.netbeans.modules.java.j2seproject.J2SEActionProvider.lambda$invokeAction$0(J2SEActionProvider.java:292) > at > org.netbeans.modules.java.j2seproject.J2SEActionProvider.invokeAction(J2SEActionProvider.java:337) > at > org.netbeans.spi.project.support.LookupProviderSupport$MergedActionProvider.invokeAction(LookupProviderSupport.java:262) > at > org.netbeans.modules.project.ui.actions.ProjectAction$2.run(ProjectAction.java:162) > at > org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95) > at > org.netbeans.modules.openide.util.NbMutexEventProvider$Event.writeAccess(NbMutexEventProvider.java:60) > at > org.netbeans.modules.openide.util.LazyMutexImplementation.writeAccess(LazyMutexImplementation.java:56) > at org.openide.util.Mutex.writeAccess(Mutex.java:285) > at > org.netbeans.modules.project.ui.actions.ProjectAction.runSequentially(ProjectAction.java:159) > at > org.netbeans.modules.project.ui.actions.MainProjectAction$1$1.run(MainProjectAction.java:115) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) > at java.awt.EventQueue.access$500(EventQueue.java:97) > at java.awt.EventQueue$3.run(EventQueue.java:709) > at java.awt.EventQueue$3.run(EventQueue.java:703) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) > at > org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) > [catch] at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) > at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) > *IDE-Log* > >Log Session: Thursday, April 25, 2019 4:53:39 PM CEST > >System Info: > Product Version = Apache NetBeans IDE 11.0 (Build > incubator-netbeans-release-404-on-20190319) > Operating System = Windows 10 version 10.0 running on amd64 > Java; VM; Vendor = 1.8.0_212; Java HotSpot(TM) 64-Bit Server VM > 25.212-b10; Oracle Corporation > Runtime = Java(TM) SE Runtime Environment 1.8.0_212-b10 > Java Home = C:\Program Files\Java\jdk1.8.0_212\jre > System Locale; Encoding = de_DE (nb); Cp1252 > Home Directory = C:\Users\MyName > Current Directory = C:\Program Files\NetBeans-11.0 > User Directory = C:\Users\MyName\AppData\Roaming\NetBeans\11.0 > Cache Directory = C:\Users\MyName\AppData\Local\NetBeans\Cache\11.0 > Installation = C:\Program File
[jira] [Created] (NETBEANS-2466) Failed to Run Application - NullPointer in
Fabian Siering created NETBEANS-2466: Summary: Failed to Run Application - NullPointer in Key: NETBEANS-2466 URL: https://issues.apache.org/jira/browse/NETBEANS-2466 Project: NetBeans Issue Type: Bug Affects Versions: 11.0 Environment: Windows 10 x64 Reporter: Fabian Siering Hey, ive installed Netbeans 11 today and everythink works great! Some hours later... i switched to another Project Group.. and to previous! After that i was not able to run my application. Nothing happens - but a error occured in Netbeans Notifications: *Exception (Scroll down for the complete ide-log)* java.lang.NullPointerException at org.netbeans.modules.java.api.common.project.ActionProviderSupport.invokeByJavaSource(ActionProviderSupport.java:915) at org.netbeans.modules.java.api.common.project.ActionProviderSupport.invokeTarget(ActionProviderSupport.java:207) at org.netbeans.modules.java.api.common.project.JavaActionProvider$ScriptAction.invoke(JavaActionProvider.java:465) at org.netbeans.modules.java.api.common.project.JavaActionProvider.lambda$invokeAction$1(JavaActionProvider.java:895) at java.util.Optional.ifPresent(Optional.java:159) at org.netbeans.modules.java.api.common.project.JavaActionProvider.invokeAction(JavaActionProvider.java:888) at org.netbeans.modules.java.api.common.project.BaseActionProvider.invokeAction(BaseActionProvider.java:225) at org.netbeans.modules.java.j2seproject.J2SEActionProvider.lambda$invokeAction$0(J2SEActionProvider.java:292) at org.netbeans.modules.java.j2seproject.J2SEActionProvider.invokeAction(J2SEActionProvider.java:337) at org.netbeans.spi.project.support.LookupProviderSupport$MergedActionProvider.invokeAction(LookupProviderSupport.java:262) at org.netbeans.modules.project.ui.actions.ProjectAction$2.run(ProjectAction.java:162) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.writeAccess(NbMutexEventProvider.java:60) at org.netbeans.modules.openide.util.LazyMutexImplementation.writeAccess(LazyMutexImplementation.java:56) at org.openide.util.Mutex.writeAccess(Mutex.java:285) at org.netbeans.modules.project.ui.actions.ProjectAction.runSequentially(ProjectAction.java:159) at org.netbeans.modules.project.ui.actions.MainProjectAction$1$1.run(MainProjectAction.java:115) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) [catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) *IDE-Log* >Log Session: Thursday, April 25, 2019 4:53:39 PM CEST >System Info: Product Version = Apache NetBeans IDE 11.0 (Build incubator-netbeans-release-404-on-20190319) Operating System = Windows 10 version 10.0 running on amd64 Java; VM; Vendor = 1.8.0_212; Java HotSpot(TM) 64-Bit Server VM 25.212-b10; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.8.0_212-b10 Java Home = C:\Program Files\Java\jdk1.8.0_212\jre System Locale; Encoding = de_DE (nb); Cp1252 Home Directory = C:\Users\MyName Current Directory = C:\Program Files\NetBeans-11.0 User Directory = C:\Users\MyName\AppData\Roaming\NetBeans\11.0 Cache Directory = C:\Users\MyName\AppData\Local\NetBeans\Cache\11.0 Installation = C:\Program Files\NetBeans-11.0\netbeans\nb C:\Program Files\NetBeans-11.0\netbeans\ergonomics C:\Program Files\NetBeans-11.0\netbeans\ide C:\Program Files\NetBeans-11.0\netbeans\extide C:\Program Files\NetBeans-11.0\netbeans\java C:\Program Files\NetBeans-11.0\netbeans\apisupport C:\Program Files\NetBeans-1
[jira] [Comment Edited] (NETBEANS-2463) Print to HTML - wrong font-family
[ https://issues.apache.org/jira/browse/NETBEANS-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826074#comment-16826074 ] Michal Pudivitr edited comment on NETBEANS-2463 at 4/25/19 2:03 PM: So, it might be enough just to replace the line 317 in HtmlPrintContainer.java (package org.netbeans.modules.editor) {code:java} sb.append (font.getFamily()); //TODO: Locale should go here {code} with the {code:java} switch(font.getFamily()) { case Font.MONOSPACED: sb.append ("monospace"); break; case Font.SERIF: sb.append ("serif"); break; case Font.SANS_SERIF: sb.append ("sans-serif"); break; case Font.DIALOG: sb.append ("sans-serif"); break; case Font.DIALOG_INPUT: sb.append ("monospace"); break; default: sb.append (font.getFamily()); //TODO: Locale should go here } {code} + maybe introducing these strings as statics to the beginning of the file. Unfotunately, I can't test it now and I am not much familiar with the process of pulling / submitting the edits. was (Author: michalp): So, it might be enough just to replace the line 317 in HtmlPrintContainer.java (package org.netbeans.modules.editor) {code:java} sb.append (font.getFamily()); //TODO: Locale should go here {code} with the {code:java} switch(font.getFamily()) { case Font.MONOSPACED: sb.append ("monospace"); break; case Font.SERIF: sb.append ("serif"); break; case Font.SANS_SERIF: sb.append ("sans-serif"); break; case Font.DIALOG: sb.append ("serif"); break; case Font.DIALOG_INPUT: sb.append ("monospace"); break; default: sb.append (font.getFamily()); //TODO: Locale should go here } {code} + maybe introducing these strings as statics to the beginning of the file. Unfotunately, I can't test it now and I am not much familiar with the process of pulling / submitting the edits. > Print to HTML - wrong font-family > - > > Key: NETBEANS-2463 > URL: https://issues.apache.org/jira/browse/NETBEANS-2463 > Project: NetBeans > Issue Type: Bug > Components: editor - Painting & Printing >Affects Versions: 8.2, 9.0, 10.0, 11.0 > Environment: Windows >Reporter: Michal Pudivitr >Priority: Trivial > > Using File > Print to HTML will produce HTML with misspelled font family > (font-family: Monospace{color:#d04437}*d*{color} instead of "monospace"). The > result is rendered with the browser's default (non-monospace) font. > Steps to reproduce: > # Create or open any java file > # go to File > Print to HTML > Print to file > # open generated HTML file (result will not be rendered with proper font > due to wrong font-family) > # (optional) edit html file replacing all occurrences of "monospace*d*" with > "monospace" and see the file is now rendered correctly. > It seems this minor bug was already reported in year 2013 under [Bug > 236506|https://netbeans.org/bugzilla/show_bug.cgi?id=236506] but the ticked > was closed unresolved. > Refer to [https://www.w3.org/Style/Examples/007/fonts] for more about font > families. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-2463) Print to HTML - wrong font-family
[ https://issues.apache.org/jira/browse/NETBEANS-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826074#comment-16826074 ] Michal Pudivitr edited comment on NETBEANS-2463 at 4/25/19 2:02 PM: So, it might be enough just to replace the line 317 in HtmlPrintContainer.java (package org.netbeans.modules.editor) {code:java} sb.append (font.getFamily()); //TODO: Locale should go here {code} with the {code:java} switch(font.getFamily()) { case Font.MONOSPACED: sb.append ("monospace"); break; case Font.SERIF: sb.append ("serif"); break; case Font.SANS_SERIF: sb.append ("sans-serif"); break; case Font.DIALOG: sb.append ("serif"); break; case Font.DIALOG_INPUT: sb.append ("monospace"); break; default: sb.append (font.getFamily()); //TODO: Locale should go here } {code} + maybe introducing these strings as statics to the beginning of the file. Unfotunately, I can't test it now and I am not much familiar with the process of pulling / submitting the edits. was (Author: michalp): So, it might be enough just to replace the line 317 in HtmlPrintContainer.java (package org.netbeans.modules.editor) {code:java} sb.append (font.getFamily()); //TODO: Locale should go here {code} with the {code:java} switch(font.getFamily()) { case Font.MONOSPACED: sb.append ("monospace"); break; case Font.SERIF: sb.append ("serif"); break; case Font.SANS_SERIF: sb.append ("sans-serif"); break; case Font.DIALOG: sb.append ("serif"); break; case Font.DIALOG_INPUT: sb.append ("monospace"); break; default: sb.append (font.getFamily()); //TODO: Locale should go here } {code} + maybe introducing these strings as statics to the beginning of the file. Unfotunately, I can't test it now and I am not much familiar with the process of pulling / submitting the edits. > Print to HTML - wrong font-family > - > > Key: NETBEANS-2463 > URL: https://issues.apache.org/jira/browse/NETBEANS-2463 > Project: NetBeans > Issue Type: Bug > Components: editor - Painting & Printing >Affects Versions: 8.2, 9.0, 10.0, 11.0 > Environment: Windows >Reporter: Michal Pudivitr >Priority: Trivial > > Using File > Print to HTML will produce HTML with misspelled font family > (font-family: Monospace{color:#d04437}*d*{color} instead of "monospace"). The > result is rendered with the browser's default (non-monospace) font. > Steps to reproduce: > # Create or open any java file > # go to File > Print to HTML > Print to file > # open generated HTML file (result will not be rendered with proper font > due to wrong font-family) > # (optional) edit html file replacing all occurrences of "monospace*d*" with > "monospace" and see the file is now rendered correctly. > It seems this minor bug was already reported in year 2013 under [Bug > 236506|https://netbeans.org/bugzilla/show_bug.cgi?id=236506] but the ticked > was closed unresolved. > Refer to [https://www.w3.org/Style/Examples/007/fonts] for more about font > families. > -- 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-2463) Print to HTML - wrong font-family
[ https://issues.apache.org/jira/browse/NETBEANS-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826074#comment-16826074 ] Michal Pudivitr commented on NETBEANS-2463: --- So, it might be enough just to replace the line 317 in HtmlPrintContainer.java (package org.netbeans.modules.editor) {code:java} sb.append (font.getFamily()); //TODO: Locale should go here {code} with the {code:java} switch(font.getFamily()) { case Font.MONOSPACED: sb.append ("monospace"); break; case Font.SERIF: sb.append ("serif"); break; case Font.SANS_SERIF: sb.append ("sans-serif"); break; case Font.DIALOG: sb.append ("serif"); break; case Font.DIALOG_INPUT: sb.append ("monospace"); break; default: sb.append (font.getFamily()); //TODO: Locale should go here } {code} + maybe introducing these strings as statics to the beginning of the file. Unfotunately, I can't test it now and I am not much familiar with the process of pulling / submitting the edits. > Print to HTML - wrong font-family > - > > Key: NETBEANS-2463 > URL: https://issues.apache.org/jira/browse/NETBEANS-2463 > Project: NetBeans > Issue Type: Bug > Components: editor - Painting & Printing >Affects Versions: 8.2, 9.0, 10.0, 11.0 > Environment: Windows >Reporter: Michal Pudivitr >Priority: Trivial > > Using File > Print to HTML will produce HTML with misspelled font family > (font-family: Monospace{color:#d04437}*d*{color} instead of "monospace"). The > result is rendered with the browser's default (non-monospace) font. > Steps to reproduce: > # Create or open any java file > # go to File > Print to HTML > Print to file > # open generated HTML file (result will not be rendered with proper font > due to wrong font-family) > # (optional) edit html file replacing all occurrences of "monospace*d*" with > "monospace" and see the file is now rendered correctly. > It seems this minor bug was already reported in year 2013 under [Bug > 236506|https://netbeans.org/bugzilla/show_bug.cgi?id=236506] but the ticked > was closed unresolved. > Refer to [https://www.w3.org/Style/Examples/007/fonts] for more about font > families. > -- 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-2465) Random crashes
Czukowski created NETBEANS-2465: --- Summary: Random crashes Key: NETBEANS-2465 URL: https://issues.apache.org/jira/browse/NETBEANS-2465 Project: NetBeans Issue Type: Bug Environment: Apache NetBeans IDE 11.0 (Build incubator-netbeans-release-404-on-20190319), Windows 10 Reporter: Czukowski Attachments: hs_err_pid17792.log, hs_err_pid4668.log I've been experiencing some random crashes after recent RAM amount increase. I haven't been doing anything specific at the time of the crashes, last time I've even had a different program active at that moment. Used to be stable before. Attaching crash log files found in NetBeans directory. -- 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-1866) Netbean XML Compilation Issues JDK 11
[ https://issues.apache.org/jira/browse/NETBEANS-1866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825989#comment-16825989 ] Eric Bresie commented on NETBEANS-1866: --- https://docs.oracle.com/javase/9/migrate/JSMIG.pdf > Netbean XML Compilation Issues JDK 11 > - > > Key: NETBEANS-1866 > URL: https://issues.apache.org/jira/browse/NETBEANS-1866 > Project: NetBeans > Issue Type: Bug > Environment: OS: Windows 10, java 11.0.1 2018 > Java: java --version > java 11.0.1 2018-10-16 LTS > Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS) > Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode) > Ant: > C:\Windows\SysWOW64>ant -v > Apache Ant(TM) version 1.10.5 compiled on July 10 2018 > Git: > C:\Windows\SysWOW64>git --version > git version 2.18.0.windows.1 >Reporter: Eric Bresie >Priority: Major > Labels: build > > cloned from github as of 1/6/2019 11:20 CST > Running build with: > ant -Dcluster.config=full > Received the following error: > [pcompile] Generating 10 resource files to > C:\git\netbeans\incubator-netbeans\nbbuild\build\langtools\build\gensrc\jdk.jdeps > [pathconvert] Warning: Nashorn engine is planned to be removed from a future > JDK release > [pathconvert] Warning: Nashorn engine is planned to be removed from a future > JDK release > [pathconvert] Warning: Nashorn engine is planned to be removed from a future > JDK release > [pathconvert] Warning: Nashorn engine is planned to be removed from a future > JDK release > [pathconvert] Warning: Nashorn engine is planned to be removed from a future > JDK release > [pathconvert] Warning: Nashorn engine is planned to be removed from a future > JDK release > [pathconvert] Warning: Nashorn engine is planned to be removed from a future > JDK release > [pathconvert] Warning: Nashorn engine is planned to be removed from a future > JDK release > [pathconvert] Warning: Nashorn engine is planned to be removed from a future > JDK release > [pathconvert] Warning: Nashorn engine is planned to be removed from a future > JDK release > generate-sources-internal: > [pcompile] Generating 6 resource files to > C:\git\netbeans\incubator-netbeans\nbbuild\build\langtools\build\gensrc\jdk.jshell > [mkdir] Created dir: > C:\git\netbeans\incubator-netbeans\nbbuild\build\langtools\build\nb > [javac] Compiling 1031 source files to > C:\git\netbeans\incubator-netbeans\nbbuild\build\langtools\build\nb > [javac] > C:\git\netbeans\incubator-netbeans\nbbuild\build\langtools\src\java.compiler\share\classes\javax\annotation\processing\Messager.java:28: > error: package javax.annotation does not exist > [javac] import javax.annotation.*; > [javac] ^ > [javac] > C:\git\netbeans\incubator-netbeans\nbbuild\build\langtools\src\jdk.compiler\share\classes\com\sun\tools\javac\model\.java:35: > error: package sun.reflect.annotation is not visible > [javac] import sun.reflect.annotation.*; > [javac] ^ > [javac] (package sun.reflect.annotation is declared in module java.base, > which does not export it to module java.compiler) > [javac] > C:\git\netbeans\incubator-netbeans\nbbuild\build\langtools\src\jdk.javadoc\share\classes\com\sun\tools\doclets\internal\toolkit\builders\LayoutParser.java:31: > error: package javax.xml.parsers is not visible > [javac] import javax.xml.parsers.*; > [javac] ^ > [javac] (package javax.xml.parsers is declared in module java.xml, but > module java.compiler does not read it) > [javac] > C:\git\netbeans\incubator-netbeans\nbbuild\build\langtools\src\jdk.javadoc\share\classes\com\sun\tools\doclets\internal\toolkit\builders\LayoutParser.java:33: > error: package org.xml.sax is not visible > [javac] import org.xml.sax.*; > [javac] ^ > [javac] (package org.xml.sax is declared in module java.xml, but module > java.compiler does not read it) > [javac] > C:\git\netbeans\incubator-netbeans\nbbuild\build\langtools\src\jdk.javadoc\share\classes\com\sun\tools\doclets\internal\toolkit\builders\LayoutParser.java:34: > error: package org.xml.sax.helpers is not visible > [javac] import org.xml.sax.helpers.DefaultHandler; > [javac] ^ > [javac] (package org.xml.sax.helpers is declared in module java.xml, but > module java.compiler does not read it) > [javac] > C:\git\netbeans\incubator-netbeans\nbbuild\build\langtools\src\jdk.javadoc\share\classes\jdk\javadoc\internal\doclets\toolkit\builders\LayoutParser.java:31: > error: package javax.xml.parsers is not visible > [javac] import javax.xml.parsers.*; > [javac] ^ > [javac] (package javax.xml.parsers is declared in module java.xml, but > module java.compiler does not read it) > [javac] > C:\git\netbeans\incubator-netbeans\nbbuild\build\langtools\src\jdk.javadoc\share\classes\jdk\javadoc\internal\doclets\toolkit\builders\LayoutPa
[jira] [Commented] (NETBEANS-2463) Print to HTML - wrong font-family
[ https://issues.apache.org/jira/browse/NETBEANS-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825984#comment-16825984 ] Michal Pudivitr commented on NETBEANS-2463: --- It should be the complete list of java "logical fonts" ([https://docs.oracle.com/javase/tutorial/2d/text/fonts.html#logical-fonts]) which seem to be kind of counterparts of the mentioned generic-family names in CSS. However, i suppose the _font.getFamily()_ can return physical font as well - depending on the given font (i'm not sure I fully understand what values can it assume in the _HtmlPrintContainer_). These should be existing fonts though while the logical ones are only inside java (and never present on actual system or understood by browsers). So, the mapping these five logical fonts and keeping the name as is in other cases should probably suffice. There may be more elegant way, I'm far from being someone to tell that. I'd prefer this to be done by someone little more experienced than me :). > Print to HTML - wrong font-family > - > > Key: NETBEANS-2463 > URL: https://issues.apache.org/jira/browse/NETBEANS-2463 > Project: NetBeans > Issue Type: Bug > Components: editor - Painting & Printing >Affects Versions: 8.2, 9.0, 10.0, 11.0 > Environment: Windows >Reporter: Michal Pudivitr >Priority: Trivial > > Using File > Print to HTML will produce HTML with misspelled font family > (font-family: Monospace{color:#d04437}*d*{color} instead of "monospace"). The > result is rendered with the browser's default (non-monospace) font. > Steps to reproduce: > # Create or open any java file > # go to File > Print to HTML > Print to file > # open generated HTML file (result will not be rendered with proper font > due to wrong font-family) > # (optional) edit html file replacing all occurrences of "monospace*d*" with > "monospace" and see the file is now rendered correctly. > It seems this minor bug was already reported in year 2013 under [Bug > 236506|https://netbeans.org/bugzilla/show_bug.cgi?id=236506] but the ticked > was closed unresolved. > Refer to [https://www.w3.org/Style/Examples/007/fonts] for more about font > families. > -- 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-2451) Run main project disabled for Spring Boot applications
[ https://issues.apache.org/jira/browse/NETBEANS-2451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825944#comment-16825944 ] hg commented on NETBEANS-2451: -- Thanks for validating my approach. I'm not sure what you mean by sub-project in this scenario. I only have one Gradle project without any sub-projects. > Run main project disabled for Spring Boot applications > -- > > Key: NETBEANS-2451 > URL: https://issues.apache.org/jira/browse/NETBEANS-2451 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.0 >Reporter: hg >Assignee: hg >Priority: Major > Labels: Gradle > Attachments: netbeans-run-issue.mp4 > > > The menu options for "Run Main Project" and "Debug Main Project" are disabled > for Spring Boot applications. See attached screen recording (note also that > the menu does not update automatically). > > *Steps to reproduce:* > 1) Generate a demo Spring Boot Gradle project here: > [https://start.spring.io/] > 2) Open Project in Netbeans. Menu items are disabled. > > *Workarounds:* > 1) Use the "bootRun" task as found in the Navigator panel. > or 2) Modify build.gradle to add in the application plugin and mainClassName > variable. This causes NetBeans to add a "run" task and enables the menu. > > > *Product Version:* Apache NetBeans IDE 11.0 (Build > incubator-netbeans-release-404-on-20190319) > *Java:* 1.8.0_192; Java HotSpot(TM) 64-Bit Server VM 25.192-b12 > *Runtime:* Java(TM) SE Runtime Environment 1.8.0_192-b12 > *System:* Mac OS X version 10.14.4 running on x86_64; UTF-8; en_GB (nb) -- 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