java.lang.NumberFormatException

For input string: "10-"

Samebug tips2

Java does not handle IPv6 nameservers before 1.8.0_60. Upgrade to the latest JVM.


This is a bug in Wise, updating to v4.10 seems to solve the problem.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web5402

  • via Google Groups by petko, 1 year ago
    For input string: "+10"
  • via Stack Overflow by Unknown author, 1 year ago
    For input string: "10"
  • via GitHub by patrickzurek
    , 9 months ago
    For input string: "10-"
  • Stack trace

    • java.lang.NumberFormatException: For input string: "10-" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:458) at java.lang.Integer.parseInt(Integer.java:499) at xc.mst.bo.record.SaxMarcXmlRecord.endElement(SaxMarcXmlRecord.java:106) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(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 xc.mst.bo.record.SaxMarcXmlRecord.<init>(SaxMarcXmlRecord.java:67) at xc.mst.services.marcaggregation.MarcAggregationService.process(MarcAggregationService.java:404) at xc.mst.services.GenericMetadataService.process(GenericMetadataService.java:644) at xc.mst.services.impl.service.GenericMetadataService.process(GenericMetadataService.java:24) at xc.mst.services.marcaggregation.MarcAggregationService.process(MarcAggregationService.java:383) at xc.mst.services.MetadataServiceManager.doSomeWork(MetadataServiceManager.java:81) at xc.mst.scheduling.WorkerThread.run(WorkerThread.java:92) at java.lang.Thread.run(Thread.java:662)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 day ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    2 times, 20 hours ago
    5 times, 3 days ago
    238 more bugmates