[jira] [Created] (NETBEANS-3005) Error en Spring web.xml
Daniel Rodrigo Anccasi Huayllani created NETBEANS-3005: -- Summary: Error en Spring web.xml Key: NETBEANS-3005 URL: https://issues.apache.org/jira/browse/NETBEANS-3005 Project: NetBeans Issue Type: Bug Components: apisupport - Maven Affects Versions: 11.1, 11.0 Reporter: Daniel Rodrigo Anccasi Huayllani Fix For: 11.1, 11.0 Attachments: Error netbeans.PNG # Cree un proyecto web vacío de categoría java maven # Agregue al proyecto web el framework Spring 4.x # Sale error en web.xml, es notorio ya que tiene un aspa de color rojo en la parte inferior El error menciona lo siguiente: cvc-elt.1: No se ha encontrado la declaración del elemento 'web-app'. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-2661) find-usages takes a LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
[ https://issues.apache.org/jira/browse/NETBEANS-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16910808#comment-16910808 ] Shevek commented on NETBEANS-2661: -- Related? WARNING [org.openide.filesystems.FileUtil]: FileUtil.normalizeFile(/home/shevek/.gradle/caches/modules-2/files-2.1/org.apache.parquet/parquet-column/../java.base/share/classes/java/lang/Object.java) took 4,799 ms. Result is /home/shevek/.gradle/caches/modules-2/files-2.1/org.apache.parquet/java.base/share/classes/java/lang/Object.java WARNING [org.openide.filesystems.FileUtil]: FileUtil.normalizeFile(/home/shevek/.gradle/caches/modules-2/files-2.1/org.springframework/spring-expression/../java.base/share/classes/java/lang/Object.java) took 2,730 ms. Result is /home/shevek/.gradle/caches/modules-2/files-2.1/org.springframework/java.base/share/classes/java/lang/Object.java FWIW there is no java.base in there, this is presumably something to do with java 9 modules, although I'm not using Java 9. shevek@starling:~/.gradle/caches/modules-2/files-2.1/org.springframework$ ls spring-aop spring-context-support spring-messaging spring-web spring-asm spring-core spring-parent spring-webmvc spring-beansspring-expression spring-test spring-websocket spring-context spring-jdbc spring-tx > find-usages takes a > LO > -- > > Key: NETBEANS-2661 > URL: https://issues.apache.org/jira/browse/NETBEANS-2661 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 > Environment: Linux, JDK 1.8, etc >Reporter: Shevek >Assignee: Laszlo Kishalmi >Priority: Major > Labels: PERFORMANCE, Performance, perf, perfomance, performance, > performence, pull-request-available > Attachments: find-usages-is-totally-unusable-11.1.npss, > image-2019-08-15-07-05-38-978.png, netbeans-find-usages.npss > > Time Spent: 10m > Remaining Estimate: 0h > > OOOng time, like 5 minutes. Please see attached profile. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-2999) NetBeans has consumed entire heap with WeakListenerImpl$ListenerReference
[ https://issues.apache.org/jira/browse/NETBEANS-2999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16910807#comment-16910807 ] Shevek commented on NETBEANS-2999: -- Possibly related: WARNING [org.openide.filesystems.JarFileSystem]: Duplicate entries in /home/shevek/.gradle/caches/modules-2/files-2.1/org.webjars.npm/datatables-bulma/1.0.1/3aabcca73863cc148788de9f3f6ffe9485e32863/datatables-bulma-1.0.1.jar: META-INF/; please report to JAR creator. WARNING [org.openide.filesystems.JarFileSystem]: Duplicate entries in /home/shevek/.gradle/caches/modules-2/files-2.1/org.webjars.npm/codemirror/5.34.0/495791980d9790ce7c18c54fa339e687273438ce/codemirror-5.34.0.jar: META-INF/; please report to JAR creator. WARNING [org.openide.filesystems.JarFileSystem]: Duplicate entries in /home/shevek/.gradle/caches/modules-2/files-2.1/org.webjars.bower/jquery/3.4.1/8fb15f3fed7f5993aefecf3d9e58d77c53937375/jquery-3.4.1.jar: META-INF/; please report to JAR creator. WARNING [org.openide.filesystems.JarFileSystem]: Duplicate entries in /home/shevek/.gradle/caches/modules-2/files-2.1/org.webjars.bower/sifter/0.5.3/61d55818e7ccf21e61d934ac6802aada14006057/sifter-0.5.3.jar: META-INF/; please report to JAR creator. WARNING [org.openide.filesystems.FileUtil]: FileUtil.normalizeFile(/home/shevek/.gradle/caches/modules-2/files-2.1/org.apache.parquet/parquet-column/../java.base/share/classes/java/lang/Object.java) took 4,799 ms. Result is /home/shevek/.gradle/caches/modules-2/files-2.1/org.apache.parquet/java.base/share/classes/java/lang/Object.java WARNING [org.openide.filesystems.FileUtil]: FileUtil.normalizeFile(/home/shevek/.gradle/caches/modules-2/files-2.1/org.springframework/spring-expression/../java.base/share/classes/java/lang/Object.java) took 2,730 ms. Result is /home/shevek/.gradle/caches/modules-2/files-2.1/org.springframework/java.base/share/classes/java/lang/Object.java WARNING [org.openide.filesystems.FileUtil]: FileUtil.normalizeFile(/home/shevek/.gradle/caches/modules-2/files-2.1/org.apache.orc/../java.base/share/classes/java/lang/Object.java) took 4,195 ms. Result is /home/shevek/.gradle/caches/modules-2/files-2.1/java.base/share/classes/java/lang/Object.java WARNING [org.openide.filesystems.FileUtil]: FileUtil.normalizeFile(/home/shevek/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-oauth2-jose/5.0.0.RELEASE/529686b04f1dc986ef1569993d2d892648fa2fab/../../../../modules.xml) took 4,097 ms. Result is /home/shevek/.gradle/caches/modules-2/files-2.1/modules.xml Does this have any bearing on NETBEANS-2661 if things are unexpectedly mapping to java.base...Object.java ? > NetBeans has consumed entire heap with WeakListenerImpl$ListenerReference > - > > Key: NETBEANS-2999 > URL: https://issues.apache.org/jira/browse/NETBEANS-2999 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.1 >Reporter: Shevek >Priority: Major > Attachments: netbeans-all-listener-references.png > > > See image. A random sampling suggests that they're all calling > FileChangeListener. > Randomly sampling: ListenerReference.weakListener.source is a FolderObj on > /tmp, or a pointer into .cache/netbeans/11.1index -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-2999) NetBeans has consumed entire heap with WeakListenerImpl$ListenerReference
[ https://issues.apache.org/jira/browse/NETBEANS-2999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16910805#comment-16910805 ] Shevek commented on NETBEANS-2999: -- Happened again, triggered by a relatively minor branch-switch on the underlying git repository. Heap histogram follows: num #instances #bytes class name -- 1:633726 991761648 [Ljava.lang.Object; 2: 23127629 925105160 org.openide.util.WeakListenerImpl$ListenerReference 3:136984 131468384 [B 4:904413 123634448 [C 5:954318 45807264 org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj$FileEventImpl 6: 1227595 29462280 java.util.concurrent.ConcurrentLinkedQueue$Node 7:803335 25706720 java.lang.ref.WeakReference 8: 76636 22985176 [I 9:700696 22422272 org.openide.util.WeakListenerImpl$ProxyListener 10:890577 21373848 java.lang.String 11:594043 19009376 java.util.HashMap$Node 12:749798 17995152 org.openide.filesystems.FCLSupport$DispatchEventWrapperSingle 13:190909 12218176 java.net.URL 14:477159 11451816 org.openide.filesystems.FCLSupport$DispatchEventWrapperMulti 15:678692 10859072 com.sun.proxy.$Proxy1 16: 89552 10461752 [Ljava.util.HashMap$Node; 17:2365299461160 org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj 18:2903396968136 java.util.LinkedList$Node 19:1620176480680 org.openide.util.WeakListenerImpl$ListenerReference$1 20:1341106437280 java.util.HashMap 21:1510766043040 java.util.WeakHashMap$Entry 22:1420305681200 org.netbeans.api.java.classpath.ClassPath$Entry 23:2153815169144 java.util.ArrayList 24:2876694602704 java.util.concurrent.atomic.AtomicReference 25: 110764496200 [F 26:2493453989520 javax.swing.event.EventListenerList 27:1642823942768 org.openide.util.WeakListenerImpl$PropertyChange 28: 920843683360 java.util.LinkedHashMap$Entry 29: 295813275856 java.lang.Class 30:1269803047520 org.netbeans.modules.java.classpath.SimplePathResourceImplementation 31: 377593002632 [S 32: 774582478656 java.io.File 33: 6153236 [Ljava.util.WeakHashMap$Entry; 34:1438472301552 java.lang.Integer 35: 670382145216 org.netbeans.modules.masterfs.filebasedfs.naming.NameRef 36: 604451934240 java.lang.StackTraceElement 37: 451381805520 java.lang.ref.SoftReference 38: 527951689440 org.netbeans.modules.masterfs.filebasedfs.naming.FileName 39: 446551428960 org.netbeans.lib.lexer.token.DefaultToken 40: 421681349376 java.util.Hashtable$Entry 41: 15301336280 [J 42: 12901323712 [Ljava.util.concurrent.ConcurrentHashMap$Node; 43: 307101228400 java.lang.ref.Finalizer 44: 272571090280 org.openide.util.lookup.ProxyLookup$WeakRef 45: 418731004952 java.util.Collections$UnmodifiableRandomAccessList 46: 22047 881880 org.netbeans.modules.gradle.api.GradleDependency$ModuleDependency 47: 27257 872224 org.openide.util.lookup.ProxyLookup$R 48: 26968 862976 org.openide.modules.Dependency 49: 26901 860704 [Ljava.util.Collection; 50: 52805 844880 java.util.HashSet 51: 25522 816704 java.util.concurrent.ConcurrentHashMap$Node 52: 25156 804992 org.openide.text.PositionRef$Manager$ChainItem 53: 27257 654168 org.openide.util.lookup.ProxyLookup$WeakResult 54: 27314 653600 [Lorg.openide.util.Lookup$Result; 55: 18688 598016 org.openide.util.CharSequences$Fixed6Bit_11_20 56: 11545 554160 org.openide.filesystems.FileChangeImpl 57: 7512 540864 java.awt.geom.AffineTransform 58: 2913 539616 [Ljava.util.Hashtable$Entry; 59: 13343 533720 org.netbeans.modules.editor.lib2.document.Mark 60: 20184 531808 [Ljava.beans.PropertyChangeListener; 61: 22060 529440 org.netbeans.modules.editor.lib2.highlighting.HighlightItem 62: 21937 526488 java.beans.PropertyChangeSupport 63: 1 524304 [Lorg.netbeans.modules.masterfs.filebasedfs.naming.NameRef; 64: 8140 520960
[jira] [Comment Edited] (NETBEANS-2415) Bring back support for WildFly server
[ https://issues.apache.org/jira/browse/NETBEANS-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16910697#comment-16910697 ] Emmanuel Hugonnet edited comment on NETBEANS-2415 at 8/19/19 7:49 PM: -- you can try and build https://github.com/ehsavoie/netbeans/tree/wildfly The plugin source code is in contrib/javaee.wildfly It works with WildFly 17but I didn't give it complete testing. was (Author: ehsavoie): you can try and build https://github.com/ehsavoie/netbeans/tree/wildfly > Bring back support for WildFly server > - > > Key: NETBEANS-2415 > URL: https://issues.apache.org/jira/browse/NETBEANS-2415 > Project: NetBeans > Issue Type: Wish > Components: serverplugins - WildFly >Affects Versions: 11.0 > Environment: n.a. >Reporter: Dominik Derwiński >Priority: Minor > > NetBeans 8.2 had WildFly server module, which helped greatly in debugging > Java EE applications directly from IDE. NetBeans 11.0 does not contain this > module, despite boasting to be the first version of Apache NetBeans to offer > full support for developing Java EE applications. > I don't think it would be very hard to bring back WildFly server module > (currently it does not complile), because copying files of the module from > NetBeans 8.2 into NetBeans 11.0 installation, and recreating userdir is > enough to bring back that functionality (so the old module still works, but > for how long?). > The files I have copied (after removing references to localization files) are: > * enterprise/config/Modules/org-netbeans-modules-javaee-wildfly.xml > * enterprise/modules/org-netbeans-modules-javaee-wildfly.jar > * enterprise/update_tracking/org-netbeans-modules-javaee-wildfly.xml > -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-2415) Bring back support for WildFly server
[ https://issues.apache.org/jira/browse/NETBEANS-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16910697#comment-16910697 ] Emmanuel Hugonnet commented on NETBEANS-2415: - you can try and build https://github.com/ehsavoie/netbeans/tree/wildfly > Bring back support for WildFly server > - > > Key: NETBEANS-2415 > URL: https://issues.apache.org/jira/browse/NETBEANS-2415 > Project: NetBeans > Issue Type: Wish > Components: serverplugins - WildFly >Affects Versions: 11.0 > Environment: n.a. >Reporter: Dominik Derwiński >Priority: Minor > > NetBeans 8.2 had WildFly server module, which helped greatly in debugging > Java EE applications directly from IDE. NetBeans 11.0 does not contain this > module, despite boasting to be the first version of Apache NetBeans to offer > full support for developing Java EE applications. > I don't think it would be very hard to bring back WildFly server module > (currently it does not complile), because copying files of the module from > NetBeans 8.2 into NetBeans 11.0 installation, and recreating userdir is > enough to bring back that functionality (so the old module still works, but > for how long?). > The files I have copied (after removing references to localization files) are: > * enterprise/config/Modules/org-netbeans-modules-javaee-wildfly.xml > * enterprise/modules/org-netbeans-modules-javaee-wildfly.jar > * enterprise/update_tracking/org-netbeans-modules-javaee-wildfly.xml > -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-2415) Bring back support for WildFly server
[ https://issues.apache.org/jira/browse/NETBEANS-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16910582#comment-16910582 ] Hans Adler commented on NETBEANS-2415: -- I tried the workaround described by Rik Giepmann, but couldn't get it to work. NetBeans does not recognise that Wildfly is running, and tries to start it again. This prevents deployment. I think this is due to a known bug of the 8.0 plugin. See [https://netbeans.org/bugzilla/show_bug.cgi?id=262252] . > Bring back support for WildFly server > - > > Key: NETBEANS-2415 > URL: https://issues.apache.org/jira/browse/NETBEANS-2415 > Project: NetBeans > Issue Type: Wish > Components: serverplugins - WildFly >Affects Versions: 11.0 > Environment: n.a. >Reporter: Dominik Derwiński >Priority: Minor > > NetBeans 8.2 had WildFly server module, which helped greatly in debugging > Java EE applications directly from IDE. NetBeans 11.0 does not contain this > module, despite boasting to be the first version of Apache NetBeans to offer > full support for developing Java EE applications. > I don't think it would be very hard to bring back WildFly server module > (currently it does not complile), because copying files of the module from > NetBeans 8.2 into NetBeans 11.0 installation, and recreating userdir is > enough to bring back that functionality (so the old module still works, but > for how long?). > The files I have copied (after removing references to localization files) are: > * enterprise/config/Modules/org-netbeans-modules-javaee-wildfly.xml > * enterprise/modules/org-netbeans-modules-javaee-wildfly.jar > * enterprise/update_tracking/org-netbeans-modules-javaee-wildfly.xml > -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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-3004) Some fonts rendered incorrectly on Mac
Joerg Pleumann created NETBEANS-3004: Summary: Some fonts rendered incorrectly on Mac Key: NETBEANS-3004 URL: https://issues.apache.org/jira/browse/NETBEANS-3004 Project: NetBeans Issue Type: Bug Affects Versions: 11.1 Environment: MacOS Mojave 10.14.1 (18B75) on MacBook Air 2015 (13.3", 14400x900). Reporter: Joerg Pleumann Attachments: Bildschirmfoto 2019-08-19 um 18.41.57.png I am using Netbeans 11.1 on a MacBook Air 13.3" with 1440x900 resolution. Some fonts are rendered incorrectly. I think these are mainly items that are supposed to be printed in bold. The most prominent example is the memory view in the toolbar. I tried to tweak the anti-alias settings in the JVM command line in netbeans.conf, but to no avail. -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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: Fix tests in ide/db.mysql module
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 2ca7b66 Fix tests in ide/db.mysql module new 26ae16e Merge pull request #1439 from blackleg/fix_ide_db_mysql_tests 2ca7b66 is described below commit 2ca7b667c3ae79e932db3b7ec188f89f9124829d Author: Hector Espert AuthorDate: Sun Aug 18 14:00:54 2019 +0200 Fix tests in ide/db.mysql module --- .../org/netbeans/modules/db/mysql/test/TestBase.java | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/ide/db.mysql/test/unit/src/org/netbeans/modules/db/mysql/test/TestBase.java b/ide/db.mysql/test/unit/src/org/netbeans/modules/db/mysql/test/TestBase.java index f3a7189..83d5af0 100644 --- a/ide/db.mysql/test/unit/src/org/netbeans/modules/db/mysql/test/TestBase.java +++ b/ide/db.mysql/test/unit/src/org/netbeans/modules/db/mysql/test/TestBase.java @@ -20,6 +20,7 @@ package org.netbeans.modules.db.mysql.test; import java.io.File; +import java.util.logging.Logger; import org.netbeans.api.db.explorer.ConnectionManager; import org.netbeans.api.db.explorer.DatabaseConnection; import org.netbeans.api.db.explorer.JDBCDriver; @@ -35,6 +36,11 @@ import org.openide.util.Lookup; * @author David */ public class TestBase extends NbTestCase { + +private static final Logger LOG = Logger.getLogger(TestBase.class.getName()); + +private static final String DRIVER_CLASSNAME = "com.mysql.jdbc.Driver"; + private String host; private String port; private String user; @@ -43,8 +49,6 @@ public class TestBase extends NbTestCase { private String schema; private String dbname; -private static String DRIVER_CLASSNAME = "com.mysql.jdbc.Driver"; - private JDBCDriver jdbcDriver; private static DatabaseConnection dbconn; @@ -53,6 +57,17 @@ public class TestBase extends NbTestCase { } @Override +public boolean canRun() { +try { +Class.forName(DRIVER_CLASSNAME); +return super.canRun(); +} catch (ClassNotFoundException e) { +LOG.warning(String.format("Test %s in %s disabled, %s not available", this.getName(), this.getClass().getName(), e.getMessage())); +return false; +} +} + +@Override public void setUp() throws Exception { super.setUp(); Lookup.getDefault().lookup(ModuleInfo.class); - 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