java.lang.IllegalArgumentException: Invalid string literal : >"org.springsource.restbucks"<

SpringSource Issue Tracker | Martin Lippert | 4 years ago
  1. 0

    There are a lot of exceptions being thrown by the content assist for package names for annotation arguments. They appear when I type characters in and delete them again while the content assist is open and active. {noformat} java.lang.IllegalArgumentException: Invalid string literal : >"org.springsource.restbucks"< at org.eclipse.jdt.core.dom.StringLiteral.setEscapedValue(StringLiteral.java:183) at org.eclipse.jdt.core.dom.StringLiteral.setLiteralValue(StringLiteral.java:326) at org.springframework.ide.eclipse.quickfix.jdt.proposals.PackageNameCompletionProposal.getRewrite(PackageNameCompletionProposal.java:109) at org.eclipse.jdt.ui.text.java.correction.ASTRewriteCorrectionProposal.addEdits(ASTRewriteCorrectionProposal.java:113) at org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.createTextChange(CUCorrectionProposal.java:234) at org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.createChange(CUCorrectionProposal.java:244) at org.eclipse.jdt.ui.text.java.correction.ChangeCorrectionProposal.getChange(ChangeCorrectionProposal.java:372) at org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.getTextChange(CUCorrectionProposal.java:254) at org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.getAdditionalProposalInfo(CUCorrectionProposal.java:141) at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {noformat} {noformat} java.lang.IllegalArgumentException at org.eclipse.jdt.core.dom.rewrite.ASTRewrite.replace(ASTRewrite.java:409) at org.springframework.ide.eclipse.quickfix.jdt.proposals.PackageNameCompletionProposal.getRewrite(PackageNameCompletionProposal.java:113) at org.eclipse.jdt.ui.text.java.correction.ASTRewriteCorrectionProposal.addEdits(ASTRewriteCorrectionProposal.java:113) at org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.createTextChange(CUCorrectionProposal.java:234) at org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.createChange(CUCorrectionProposal.java:244) at org.eclipse.jdt.ui.text.java.correction.ChangeCorrectionProposal.getChange(ChangeCorrectionProposal.java:372) at org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.getTextChange(CUCorrectionProposal.java:254) at org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.getAdditionalProposalInfo(CUCorrectionProposal.java:141) at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {noformat}

    SpringSource Issue Tracker | 4 years ago | Martin Lippert (c)
    java.lang.IllegalArgumentException: Invalid string literal : >"org.springsource.restbucks"<
  2. 0

    There are a lot of exceptions being thrown by the content assist for package names for annotation arguments. They appear when I type characters in and delete them again while the content assist is open and active. {noformat} java.lang.IllegalArgumentException: Invalid string literal : >"org.springsource.restbucks"< at org.eclipse.jdt.core.dom.StringLiteral.setEscapedValue(StringLiteral.java:183) at org.eclipse.jdt.core.dom.StringLiteral.setLiteralValue(StringLiteral.java:326) at org.springframework.ide.eclipse.quickfix.jdt.proposals.PackageNameCompletionProposal.getRewrite(PackageNameCompletionProposal.java:109) at org.eclipse.jdt.ui.text.java.correction.ASTRewriteCorrectionProposal.addEdits(ASTRewriteCorrectionProposal.java:113) at org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.createTextChange(CUCorrectionProposal.java:234) at org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.createChange(CUCorrectionProposal.java:244) at org.eclipse.jdt.ui.text.java.correction.ChangeCorrectionProposal.getChange(ChangeCorrectionProposal.java:372) at org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.getTextChange(CUCorrectionProposal.java:254) at org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.getAdditionalProposalInfo(CUCorrectionProposal.java:141) at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {noformat} {noformat} java.lang.IllegalArgumentException at org.eclipse.jdt.core.dom.rewrite.ASTRewrite.replace(ASTRewrite.java:409) at org.springframework.ide.eclipse.quickfix.jdt.proposals.PackageNameCompletionProposal.getRewrite(PackageNameCompletionProposal.java:113) at org.eclipse.jdt.ui.text.java.correction.ASTRewriteCorrectionProposal.addEdits(ASTRewriteCorrectionProposal.java:113) at org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.createTextChange(CUCorrectionProposal.java:234) at org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.createChange(CUCorrectionProposal.java:244) at org.eclipse.jdt.ui.text.java.correction.ChangeCorrectionProposal.getChange(ChangeCorrectionProposal.java:372) at org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.getTextChange(CUCorrectionProposal.java:254) at org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.getAdditionalProposalInfo(CUCorrectionProposal.java:141) at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {noformat}

    SpringSource Issue Tracker | 4 years ago | Martin Lippert
    java.lang.IllegalArgumentException: Invalid string literal : >"org.springsource.restbucks"<
  3. 0

    deadlock after missingResourceException

    Eclipse Bugzilla | 1 decade ago | nikolaymetchev
    java.lang.IllegalArgumentException: Invalid string literal : >>",<
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IllegalArgumentException in StringLiteral

    Eclipse Bugzilla | 1 decade ago | daniel_megert
    java.lang.IllegalArgumentException: Invalid string literal : >rg.eclipse.b3", <
  6. 0

    IllegalArgumentException: Invalid string literal : >("i" + "ib2")<

    Eclipse Bugzilla | 1 decade ago | kelvin
    java.lang.IllegalArgumentException: Invalid string literal : >("i" + "ib2")<

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Invalid string literal : >"org.springsource.restbucks"<

      at org.eclipse.jdt.core.dom.StringLiteral.setEscapedValue()
    2. JDT Core
      StringLiteral.setLiteralValue
      1. org.eclipse.jdt.core.dom.StringLiteral.setEscapedValue(StringLiteral.java:183)
      2. org.eclipse.jdt.core.dom.StringLiteral.setLiteralValue(StringLiteral.java:326)
      2 frames
    3. org.springframework.ide
      PackageNameCompletionProposal.getRewrite
      1. org.springframework.ide.eclipse.quickfix.jdt.proposals.PackageNameCompletionProposal.getRewrite(PackageNameCompletionProposal.java:109)
      1 frame
    4. org.eclipse.jdt
      CUCorrectionProposal.getAdditionalProposalInfo
      1. org.eclipse.jdt.ui.text.java.correction.ASTRewriteCorrectionProposal.addEdits(ASTRewriteCorrectionProposal.java:113)
      2. org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.createTextChange(CUCorrectionProposal.java:234)
      3. org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.createChange(CUCorrectionProposal.java:244)
      4. org.eclipse.jdt.ui.text.java.correction.ChangeCorrectionProposal.getChange(ChangeCorrectionProposal.java:372)
      5. org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.getTextChange(CUCorrectionProposal.java:254)
      6. org.eclipse.jdt.ui.text.java.correction.CUCorrectionProposal.getAdditionalProposalInfo(CUCorrectionProposal.java:141)
      6 frames
    5. JFace Text
      AdditionalInfoController$3.run
      1. org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
      1 frame
    6. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame