java.lang.NoSuchMethodError: java.lang.String.replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

eclipse-cs | klayvessel | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    No such method on new install with Eclipse 3.3.1.1

    eclipse-cs | 9 years ago | klayvessel
    java.lang.NoSuchMethodError: java.lang.String.replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      java.lang.String.replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

      at com.atlassw.tools.eclipse.checkstyle.config.meta.MetadataFactory.getMetadataI18NBundle()
    2. com.atlassw.tools
      ConfigurationReader$ConfigurationHandler.startElement
      1. com.atlassw.tools.eclipse.checkstyle.config.meta.MetadataFactory.getMetadataI18NBundle(MetadataFactory.java:354)
      2. com.atlassw.tools.eclipse.checkstyle.config.meta.MetadataFactory.doInitialization(MetadataFactory.java:283)
      3. com.atlassw.tools.eclipse.checkstyle.config.meta.MetadataFactory.refresh(MetadataFactory.java:247)
      4. com.atlassw.tools.eclipse.checkstyle.config.meta.MetadataFactory.<clinit>(MetadataFactory.java:112)
      5. com.atlassw.tools.eclipse.checkstyle.config.ConfigurationReader$ConfigurationHandler.startElement(ConfigurationReader.java:252)
      5 frames
    3. org.apache.crimson
      XMLReaderImpl.parse
      1. org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1674)
      2. org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
      3. org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
      4. org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
      4 frames
    4. Java RT
      SAXParser.parse
      1. javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
      2. javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
      2 frames
    5. com.atlassw.tools
      CheckConfigurationConfigureDialog.createDialogArea
      1. com.atlassw.tools.eclipse.checkstyle.util.XMLUtil.parseWithSAX(XMLUtil.java:372)
      2. com.atlassw.tools.eclipse.checkstyle.util.XMLUtil.parseWithSAX(XMLUtil.java:352)
      3. com.atlassw.tools.eclipse.checkstyle.config.ConfigurationReader.read(ConfigurationReader.java:105)
      4. com.atlassw.tools.eclipse.checkstyle.config.CheckConfigurationWorkingCopy.getModules(CheckConfigurationWorkingCopy.java:281)
      5. com.atlassw.tools.eclipse.checkstyle.config.gui.CheckConfigurationConfigureDialog.initialize(CheckConfigurationConfigureDialog.java:469)
      6. com.atlassw.tools.eclipse.checkstyle.config.gui.CheckConfigurationConfigureDialog.createDialogArea(CheckConfigurationConfigureDialog.java:217)
      6 frames
    6. JFace
      TitleAreaDialog.createContents
      1. org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:147)
      1 frame