This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NetBeans IDE Dev (Build web-main-3149-on-100504) VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-9M3125 OS: Mac OS X User Comments: pjiricka: Creating a new web project (Java EE 5, WebLogic target). Stacktrace: java.lang.AssertionError: Resource directory can't be null at org.netbeans.modules.j2ee.weblogic9.config.WLDatasourceSupport.<init>(WLDatasourceSupport.java:122) at org.netbeans.modules.j2ee.weblogic9.config.WLDeploymentConfiguration.<init>(WLDeploymentConfiguration.java:59) at org.netbeans.modules.j2ee.weblogic9.config.WarDeploymentConfiguration.<init>(WarDeploymentConfiguration.java:92) at org.netbeans.modules.j2ee.weblogic9.config.WLModuleConfigurationFactory.create(WLModuleConfigurationFactory.java:62) at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl$1.run(ConfigSupportImpl.java:726) at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl$1.run(ConfigSupportImpl.java:715)
Created attachment 98431 [details] stacktrace
Is this somehow reproducible? The only way how this could happen (afaik) is that there would be certain methods called before the project is fully created. Other option would be that project is created broken...
I can reproduce every time. Just created a new Ant-based Java EE 5 Web Project with WebLogic set as the target server. Tried with a fresh userdir with build web-main #3195.
Created attachment 98852 [details] stacktrace Creating web project with JSF with WebLogic target
This should be fixed by fix for the issue 185937.
I see the same issue with the WebLogic server on Linux with NetBeans IDE Dev (Build 201008180001) SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.j2ee.common.project.ui.AbstractLogicalViewProvider$4 java.lang.AssertionError: Resource directory can't be null at org.netbeans.modules.j2ee.weblogic9.config.WLDatasourceSupport.<init>(WLDatasourceSupport.java:122) at org.netbeans.modules.j2ee.weblogic9.config.WLDeploymentConfiguration.<init>(WLDeploymentConfiguration.java:62) at org.netbeans.modules.j2ee.weblogic9.config.WarDeploymentConfiguration.<init>(WarDeploymentConfiguration.java:122) at org.netbeans.modules.j2ee.weblogic9.config.WLModuleConfigurationFactory.create(WLModuleConfigurationFactory.java:65) at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl$1.run(ConfigSupportImpl.java:784) at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl$1.run(ConfigSupportImpl.java:768) at org.openide.util.Mutex.readAccess(Mutex.java:288) at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.getModuleConfiguration(ConfigSupportImpl.java:768) at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.getDatasources(ConfigSupportImpl.java:393) at org.netbeans.modules.j2ee.common.ui.BrokenDatasourceSupport.getBrokenDatasources(BrokenDatasourceSupport.java:156) at org.netbeans.modules.j2ee.common.project.ui.AbstractLogicalViewProvider.hasBrokenDataSource(AbstractLogicalViewProvider.java:821) at org.netbeans.modules.j2ee.common.project.ui.AbstractLogicalViewProvider.access$1200(AbstractLogicalViewProvider.java:118) at org.netbeans.modules.j2ee.common.project.ui.AbstractLogicalViewProvider$4.run(AbstractLogicalViewProvider.java:322)
Created attachment 101486 [details] IDE log file.
*** Bug 188574 has been marked as a duplicate of this bug. ***
Created attachment 101625 [details] stacktrace create web project with web logic 10.3.4 registred at new project wizard and with checked jsf framwork on last step. press finish - got exception.
*** Bug 189893 has been marked as a duplicate of this bug. ***
Fixed in web-main a13fefe93610.
Integrated into 'main-golden', will be available in build *201009080000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a13fefe93610 User: Petr Hejl <phejl@netbeans.org> Log: #185432 AssertionError: Resource directory can't be null
*** Bug 189573 has been marked as a duplicate of this bug. ***
*** Bug 189953 has been marked as a duplicate of this bug. ***
*** Bug 189551 has been marked as a duplicate of this bug. ***
*** Bug 190900 has been marked as a duplicate of this bug. ***
*** Bug 191647 has been marked as a duplicate of this bug. ***