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.
Launch IDE. Create new Java Application project. Invoke New-File command. The IOException is thrown: java.io.IOException: Invalid token '#' found in document: Please use the text editor to resolve the issues... at org.netbeans.modules.xml.xdm.nodes.XMLSyntaxParser.parse(XMLSyntaxParser.java:223) at org.netbeans.modules.xml.xdm.XDMModel.prepareSync(XDMModel.java:132) at org.netbeans.modules.xml.xdm.XDMModel.sync(XDMModel.java:122) at org.netbeans.modules.xml.xdm.xam.XDMAccess.sync(XDMAccess.java:109) at org.netbeans.modules.xml.xam.AbstractModel.sync(AbstractModel.java:221) at org.netbeans.modules.xml.xam.AbstractModelFactory.getModel(AbstractModelFactory.java:79) at org.netbeans.modules.xml.wsdl.model.WSDLModelFactory.getModel(WSDLModelFactory.java:55) at org.netbeans.modules.xml.wsdl.ui.netbeans.module.WSDLEditorSupport.getWSDLDocument(WSDLEditorSupport.java:232) at org.netbeans.modules.xml.wsdl.ui.netbeans.module.WSDLDataObject.<init>(WSDLDataObject.java:72) at org.netbeans.modules.xml.wsdl.ui.netbeans.module.WSDLDataLoader.createMultiObject(WSDLDataLoader.java:107) at org.openide.loaders.MultiFileLoader.handleFindDataObject(MultiFileLoader.java:83) at org.openide.loaders.DataObjectPool.handleFindDataObject(DataObjectPool.java:129) at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:364) at org.openide.loaders.DataLoaderPool.findDataObject(DataLoaderPool.java:408) at org.openide.loaders.DataLoaderPool.findDataObject(DataLoaderPool.java:368) at org.openide.loaders.DataObject.find(DataObject.java:465) at org.openide.loaders.FolderList.createObjects(FolderList.java:628) at org.openide.loaders.FolderList.getObjects(FolderList.java:521) at org.openide.loaders.FolderList.access$200(FolderList.java:56) at org.openide.loaders.FolderList$ListTask.run(FolderList.java:886) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
This bug has impact on SynchronousSample Tutorial and needs to get fixed.
This issue is not reproduced in Netbeans 5.5 beta2. From exception : It may be this is a regression caused by xdm modules. Moving this issue to xdm.
This issue is a stopper for EntPack docs team. making this as p1.
The wizard template is not well-formed XML and thus a new WSDL document cannot be created. The WSDLDataObject has code like: try { set.add(new ValidateXMLCookieImpl(editorSupport.getWSDLDocument())); } catch (IOException e) { ErrorManager.getDefault().notify(e); } Where the ErrorManager.getDefault().notify(e) is producing the error notification. There are several ways to resolve this issue: 1. do not attempt to create a validation cookie if the file is from the default filesystem (layer file Repository.getDefault()) 2. do not attempt to create a validation cookie if the file has the template attribute (FileObject.getAttribute("template") set to true. 3. Change the validationXMLCookieImpl to have an abstract getModel which is delayed until actually needed. Reassigning to WSDL tools where the DataObject resides.
issue affects
issue affects postbuild smoke tests
there were some checkins yesterday as per chris's comments. please verify whether this still occurs.
Verified in build 060802
Verified in 0806_1 and it looks good.