[jira] [Commented] (NETBEANS-2800) Unable to create Servlet/Filter in Java EE 8 web application
[ https://issues.apache.org/jira/browse/NETBEANS-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16883750#comment-16883750 ] Josh Juneau commented on NETBEANS-2800: --- Created updated PR: https://github.com/apache/netbeans/pull/1375 > Unable to create Servlet/Filter in Java EE 8 web application > > > Key: NETBEANS-2800 > URL: https://issues.apache.org/jira/browse/NETBEANS-2800 > Project: NetBeans > Issue Type: Bug > Components: javaee - Web Project >Reporter: Gaurav Gupta >Assignee: Josh Juneau >Priority: Major > Labels: pull-request-available > Attachments: Servlet Issue.png > > Time Spent: 40m > Remaining Estimate: 0h > > On creating Servlet/Filter in Java EE 8 web application results in the > following error: > "Web application version is unsupported. Upgrade web.xml to version 2.4 or > newer or use previous version of NetBeans." > > Please find the attached screenshot. -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2800) Unable to create Servlet/Filter in Java EE 8 web application
[ https://issues.apache.org/jira/browse/NETBEANS-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16882947#comment-16882947 ] Alessandro Falappa commented on NETBEANS-2800: -- I am facing a similar issue when creating a new servlet in a JavaEE8 Web Application Gradle project. The wizard does not complete when pressing Finish and the following exception is generated: {code:java} WARNING [org.openide.WizardDescriptor] java.lang.NullPointerException at org.netbeans.modules.web.wizards.ServletData.addServlet(ServletData.java:476) at org.netbeans.modules.web.wizards.ServletData.createDDEntries(ServletData.java:442) at org.netbeans.modules.web.wizards.ServletIterator.instantiate(ServletIterator.java:259) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1028) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:580) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:414) at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:223) at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:135) at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1605) at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1546) at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:67) [catch] at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2233) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) {code} Could it be related? > Unable to create Servlet/Filter in Java EE 8 web application > > > Key: NETBEANS-2800 > URL: https://issues.apache.org/jira/browse/NETBEANS-2800 > Project: NetBeans > Issue Type: Bug > Components: javaee - Web Project >Reporter: Gaurav Gupta >Assignee: Josh Juneau >Priority: Major > Attachments: Servlet Issue.png > > > On creating Servlet/Filter in Java EE 8 web application results in the > following error: > "Web application version is unsupported. Upgrade web.xml to version 2.4 or > newer or use previous version of NetBeans." > > Please find the attached screenshot. -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2800) Unable to create Servlet/Filter in Java EE 8 web application
[ https://issues.apache.org/jira/browse/NETBEANS-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16882612#comment-16882612 ] Josh Juneau commented on NETBEANS-2800: --- Made the following changes to repair this issue: modified: enterprise/j2ee.dd/build.xml modified: enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/common/DDUtils.java new file: enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/resources/web-app_4_0.mdd modified: enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/web/WebAppProxy.java modified: enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/web/WebParseUtils.java modified: enterprise/j2ee.ddloaders/src/org/netbeans/modules/j2ee/ddloaders/catalog/EnterpriseCatalog.java > Unable to create Servlet/Filter in Java EE 8 web application > > > Key: NETBEANS-2800 > URL: https://issues.apache.org/jira/browse/NETBEANS-2800 > Project: NetBeans > Issue Type: Bug > Components: javaee - Web Project >Reporter: Gaurav Gupta >Assignee: Josh Juneau >Priority: Major > Attachments: Servlet Issue.png > > > On creating Servlet/Filter in Java EE 8 web application results in the > following error: > "Web application version is unsupported. Upgrade web.xml to version 2.4 or > newer or use previous version of NetBeans." > > Please find the attached screenshot. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2800) Unable to create Servlet/Filter in Java EE 8 web application
[ https://issues.apache.org/jira/browse/NETBEANS-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881568#comment-16881568 ] Josh Juneau commented on NETBEANS-2800: --- This continues to be an issue with NetBeans 11.1 beta3. I am planning to dig in a bit more to try and resolve before final release. However, I do not see it as a show stopper. As a work around, change web.xml version to 3.1 and then create the servlet filter. The web.xml version can then be changed back to 4.0. Will update this issue with progress as work continues. > Unable to create Servlet/Filter in Java EE 8 web application > > > Key: NETBEANS-2800 > URL: https://issues.apache.org/jira/browse/NETBEANS-2800 > Project: NetBeans > Issue Type: Bug > Components: javaee - Web Project >Reporter: Gaurav Gupta >Assignee: Josh Juneau >Priority: Major > Attachments: Servlet Issue.png > > > On creating Servlet/Filter in Java EE 8 web application results in the > following error: > "Web application version is unsupported. Upgrade web.xml to version 2.4 or > newer or use previous version of NetBeans." > > Please find the attached screenshot. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists