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.
Not able to build SQL SE project through IDE. It gives "java.net.MalformedURLException: unknown protocol: c" exception. Also jbi.xml is missing from META-INF folder. Steps to reproduce:- --------------------- 1> Create a new SQL SE project. 2> Edit the connectivityInfo.xml file with proper jndi name. 3> add a sql file with statement "select * from customer" 4> build the project. Expected result:- ------------------ 1> build should successful without any error or exception. Actual result:- --------------- 1> build passes with following exception:- -------------- pre-init: init-private: init-userdir: init-user: init-project: do-init: post-init: init-check: init-taskdefs: init: pre-dist: Using Database URL value: jdbc:derby://localhost:1527/sample jndi value: jdbc/QEDatabasePool java.net.MalformedURLException: unknown protocol: c at java.net.URL.<init>(URL.java:574) at java.net.URL.<init>(URL.java:464) at java.net.URL.<init>(URL.java:413) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity (XMLEntityManager.java:650) at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion (XMLVersionDetector.java:186) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (XML11Configuration.java:771) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse (XMLParser.java:107) at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse (DOMParser.java:225) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse (DocumentBuilderImpl.java:283) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:180) at org.netbeans.modules.sql.project.anttasks.SQLMapReader.parse (SQLMapReader.java:55) at org.netbeans.modules.sql.project.anttasks.JBIFileWriter.writeJBI (JBIFileWriter.java:55) at org.netbeans.modules.sql.project.anttasks.GenerateWSDL.execute (GenerateWSDL.java:183) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute (DispatchUtils.java:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets (DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run (BridgeImpl.java:256) at org.apache.tools.ant.module.run.TargetExecutor.run (TargetExecutor.java:438) at org.netbeans.core.execution.RunClassThread.run (RunClassThread.java:129) dist_se: Building jar: C:\Documents and Settings\uv198593\My Documents\NetBeansProjects\SQLApp1\build\SEDeployment.jar do-dist: post-dist: dist: BUILD SUCCESSFUL (total time: 0 seconds) --------------------- netbeans build:- ----------------- NetBeans IDE Dev (Build 200703191900) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 en_US (nb); Cp1252
Pavan, please look into this
JDK 1.6 is giving the error. DocumentBuilder().parse(String URI); the above step is giving the error of the directory path contains spaces in it. Resolved.
Verified in following build. NetBeans IDE Dev (Build 200703291800) 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 Windows XP version 5.1 running on x86 en_US (nb); Cp1252