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.

View | Details | Raw Unified | Return to bug 198992
Collapse All | Expand All

(-)a/j2ee.sun.appsrv/src/org/netbeans/modules/j2ee/sun/ide/sunresources/resourcesloader/SunResourceDataObject.java (-1 / +1 lines)
Lines 188-194 Link Here
188
                
188
                
189
                // identify JDBC Connection Pool xml
189
                // identify JDBC Connection Pool xml
190
                JdbcConnectionPool[] pools = resources.getJdbcConnectionPool();
190
                JdbcConnectionPool[] pools = resources.getJdbcConnectionPool();
191
                if(pools.length != 0){
191
                if(pools != null && pools.length > 0){
192
                    ConnPoolBean currCPBean = ConnPoolBean.createBean(pools[0]);
192
                    ConnPoolBean currCPBean = ConnPoolBean.createBean(pools[0]);
193
                    type = this.JDBC_CP;
193
                    type = this.JDBC_CP;
194
                    setPool(currCPBean);
194
                    setPool(currCPBean);

Return to bug 198992