Hi,
We are in process to upgrade. I installed windchill 11.0 M010. Put all customization files(class files, custom xconf etc) through build. When i am trying to propagate the changes it throws following error
at com.ptc.windchill.structconf.xconf.XconfParser.parse(XconfParser.java:241)
at com.ptc.windchill.structconf.xconf.XconfParser.parse(XconfParser.java:203)
at com.ptc.windchill.structconf.xconf.XconfUtil.processDeclarationXconfFiles(XconfUtil.java:141)
at com.ptc.windchill.structconf.xconf.XconfUtil.processAllXconfFiles(XconfUtil.java:192)
at com.ptc.windchill.structconf.RebuildAnalyzer.scanXconfsForDependencies(RebuildAnalyzer.java:360)
at com.ptc.windchill.structconf.RebuildAnalyzer.outOfDate(RebuildAnalyzer.java:525)
at com.ptc.windchill.structconf.RebuildAnalyzer.shouldPropagate(RebuildAnalyzer.java:781)
at com.ptc.windchill.structconf.StructConfManager.propagate(StructConfManager.java:194)
at com.ptc.windchill.structconf.Propagate.execute(Propagate.java:57)
at com.ptc.windchill.structconf.StructConfManagerCommand.execute(StructConfManagerCommand.java:102)
at com.ptc.windchill.structconf.StructConfManager.execute(StructConfManager.java:259)
at com.ptc.windchill.structconf.StructConfManager.execute(StructConfManager.java:273)
at com.ptc.windchill.structconf.StructConfManager.main(StructConfManager.java:820)
Caused by: org.xml.sax.SAXParseException; systemId: file:/F:/ptc/Windchill_11.0/Windchill/codebase/wt.properties.xconf; lineNumber: 218; columnNumber: 296; Attribute "unlessAssembly" must be declared for element type "Property".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.addDTDDefaultAttrsAndValid
ate(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at com.ptc.windchill.structconf.xconf.XconfParser.parse_(XconfParser.java:573)
at com.ptc.windchill.structconf.xconf.XconfParser.recurseIntoHrefFor(XconfParser.java:524)
at com.ptc.windchill.structconf.xconf.XconfParser.access$1400(XconfParser.java:41)
at com.ptc.windchill.structconf.xconf.XconfParser$Handler.startElement(XconfParser.java:890)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at com.ptc.windchill.structconf.xconf.XconfParser.parse_(XconfParser.java:573)
at com.ptc.windchill.structconf.xconf.XconfParser.recurseIntoHrefFor(XconfParser.java:524)
at com.ptc.windchill.structconf.xconf.XconfParser.access$1400(XconfParser.java:41)
at com.ptc.windchill.structconf.xconf.XconfParser$Handler.startElement(XconfParser.java:890)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at com.ptc.windchill.structconf.xconf.XconfParser.parse_(XconfParser.java:573)
at com.ptc.windchill.structconf.xconf.XconfParser.recurseIntoHrefFor(XconfParser.java:524)
at com.ptc.windchill.structconf.xconf.XconfParser.access$1400(XconfParser.java:41)
at com.ptc.windchill.structconf.xconf.XconfParser$Handler.startElement(XconfParser.java:890)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at com.ptc.windchill.structconf.xconf.XconfParser.parse_(XconfParser.java:573)
at com.ptc.windchill.structconf.xconf.XconfParser.parse(XconfParser.java:229)
... 12 more
Caused by:
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.addDTDDefaultAttrsAndValidate(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at com.ptc.windchill.structconf.xconf.XconfParser.parse_(XconfParser.java:573)
at com.ptc.windchill.structconf.xconf.XconfParser.recurseIntoHrefFor(XconfParser.java:524)
at com.ptc.windchill.structconf.xconf.XconfParser.access$1400(XconfParser.java:41)
at com.ptc.windchill.structconf.xconf.XconfParser$Handler.startElement(XconfParser.java:890)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at com.ptc.windchill.structconf.xconf.XconfParser.parse_(XconfParser.java:573)
at com.ptc.windchill.structconf.xconf.XconfParser.recurseIntoHrefFor(XconfParser.java:524)
at com.ptc.windchill.structconf.xconf.XconfParser.access$1400(XconfParser.java:41)
at com.ptc.windchill.structconf.xconf.XconfParser$Handler.startElement(XconfParser.java:890)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at com.ptc.windchill.structconf.xconf.XconfParser.parse_(XconfParser.java:573)
at com.ptc.windchill.structconf.xconf.XconfParser.recurseIntoHrefFor(XconfParser.java:524)
at com.ptc.windchill.structconf.xconf.XconfParser.access$1400(XconfParser.java:41)
at com.ptc.windchill.structconf.xconf.XconfParser$Handler.startElement(XconfParser.java:890)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at com.ptc.windchill.structconf.xconf.XconfParser.parse_(XconfParser.java:573)
at com.ptc.windchill.structconf.xconf.XconfParser.parse(XconfParser.java:229)
at com.ptc.windchill.structconf.xconf.XconfParser.parse(XconfParser.java:203)
at com.ptc.windchill.structconf.xconf.XconfUtil.processDeclarationXconfFiles(XconfUtil.java:141)
at com.ptc.windchill.structconf.xconf.XconfUtil.processAllXconfFiles(XconfUtil.java:192)
at com.ptc.windchill.structconf.RebuildAnalyzer.scanXconfsForDependencies(RebuildAnalyzer.java:360)
at com.ptc.windchill.structconf.RebuildAnalyzer.outOfDate(RebuildAnalyzer.java:525)
at com.ptc.windchill.structconf.RebuildAnalyzer.shouldPropagate(RebuildAnalyzer.java:781)
at com.ptc.windchill.structconf.StructConfManager.propagate(StructConfManager.java:194)
at com.ptc.windchill.structconf.Propagate.execute(Propagate.java:57)
at com.ptc.windchill.structconf.StructConfManagerCommand.execute(StructConfManagerCommand.java:102)
at com.ptc.windchill.structconf.StructConfManager.execute(StructConfManager.java:259)
at com.ptc.windchill.structconf.StructConfManager.execute(StructConfManager.java:273)
at com.ptc.windchill.structconf.StructConfManager.main(StructConfManager.java:820)
Here I am not getting the significance of these "unlessAssembly" tag . I tried comment it out but then it will throw error for next line and again to the next tag in the some other file in which this tag is present.
Your suggestions will be highly appreciable if we can propagate changes through xconfmanger.
Thanks
Hi Nikhil,
Share your wt.properties.xconf. There must be some syntax error . Check syntax just above the line for which you are getting error.
Dipak
Hi Dipak,
Thanks for the reply.
I checked with the syntax bt found ok.
I have attached file herewith.
Thanks.