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.

Bug 185432 - AssertionError: Resource directory can't be null
Summary: AssertionError: Resource directory can't be null
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebLogic (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
: 188574 189551 189573 189893 189953 190900 191647 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-04 12:56 UTC by Petr Jiricka
Modified: 2010-11-05 09:59 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 169075


Attachments
stacktrace (1.64 KB, text/plain)
2010-05-04 12:56 UTC, Petr Jiricka
Details
stacktrace (4.99 KB, text/plain)
2010-05-12 13:46 UTC, Petr Jiricka
Details
IDE log file. (80.47 KB, application/octet-stream)
2010-08-18 12:38 UTC, Alexandr Scherbatiy
Details
stacktrace (5.12 KB, text/plain)
2010-08-24 09:51 UTC, Sergey Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2010-05-04 12:56:27 UTC
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)
Comment 1 Petr Jiricka 2010-05-04 12:56:32 UTC
Created attachment 98431 [details]
stacktrace
Comment 2 Petr Hejl 2010-05-10 10:26:47 UTC
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...
Comment 3 Petr Jiricka 2010-05-10 10:45:30 UTC
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.
Comment 4 Petr Jiricka 2010-05-12 13:46:25 UTC
Created attachment 98852 [details]
stacktrace

Creating web project with JSF with WebLogic target
Comment 5 Petr Hejl 2010-05-12 14:11:03 UTC
This should be fixed by fix for the issue 185937.
Comment 6 Alexandr Scherbatiy 2010-08-18 12:37:01 UTC
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)
Comment 7 Alexandr Scherbatiy 2010-08-18 12:38:17 UTC
Created attachment 101486 [details]
IDE log file.
Comment 8 Petr Hejl 2010-08-18 13:27:55 UTC
*** Bug 188574 has been marked as a duplicate of this bug. ***
Comment 9 Sergey Petrov 2010-08-24 09:51:09 UTC
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.
Comment 10 Petr Hejl 2010-08-27 08:11:32 UTC
*** Bug 189893 has been marked as a duplicate of this bug. ***
Comment 11 Petr Hejl 2010-09-07 12:43:44 UTC
Fixed in web-main a13fefe93610.
Comment 12 Quality Engineering 2010-09-08 03:30:54 UTC
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
Comment 13 Petr Hejl 2010-09-22 09:23:37 UTC
*** Bug 189573 has been marked as a duplicate of this bug. ***
Comment 14 Petr Hejl 2010-09-22 09:25:24 UTC
*** Bug 189953 has been marked as a duplicate of this bug. ***
Comment 15 Petr Hejl 2010-09-22 10:21:21 UTC
*** Bug 189551 has been marked as a duplicate of this bug. ***
Comment 16 Petr Hejl 2010-10-11 11:04:52 UTC
*** Bug 190900 has been marked as a duplicate of this bug. ***
Comment 17 Petr Hejl 2010-11-05 09:59:54 UTC
*** Bug 191647 has been marked as a duplicate of this bug. ***