| Summary: | Deprecation report fails with NumberFormatException: For input string: "DEPRECATION" | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Dani Megert <daniel_megert> |
| Component: | API Tools | Assignee: | Olivier Thomann <Olivier_Thomann> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | blocker | ||
| Priority: | P3 | CC: | Lars.Vogel, Olivier_Thomann, Vikas.Chandra |
| Version: | 4.6 | ||
| Target Milestone: | 4.6 M7 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | 490770 | ||
| Bug Blocks: | 492238 | ||
In the build's test result logs we then get: - No deprecation report. Nothing deprecated since 4.5.2. Vikas, please take a look. First, check whether you can generate the deprecation report locally. Instead of flags = 72 the entries have flags = DEPRECATION It looks like the change in DeltaXmlVisitor.processLeafDelta(IDelta) for bug 490770 causes this. I'll take care of this. Vikas, I'll take care of this as this is a consequence of the previous fix for bug 490770. Reverting the change for bug 490770 fixes this one. Closing as FIXED. |
org.eclipse.pde.api.tools_1.1.0.v20160418-1724.jar Deprecation report fails with NumberFormatException: For input string: "DEPRECATION". BUILD FAILED /shared/eclipse/builds/4N/siteDir/eclipse/downloads/drops4/N20160423-1500/eclipse.platform.releng.aggregator/eclipse.platform.releng.tychoeclipsebuilder/eclipse/buildScripts/api-tools-builder.xml:122: java.lang.NumberFormatException: For input string: "DEPRECATION" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at org.eclipse.pde.api.tools.internal.tasks.APIDeprecationReportConversionTask$ConverterDefaultHandler.startElement(APIDeprecationReportConversionTask.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1363) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:333) at javax.xml.parsers.SAXParser.parse(SAXParser.java:328) at org.eclipse.pde.api.tools.internal.tasks.APIDeprecationReportConversionTask.execute(APIDeprecationReportConversionTask.java:337) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)