java.lang.IllegalArgumentException: can't parse argument number: Accept=

apache.org | 9 months 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

    [LOG4J2-1298] NumberFormatException when using log4j-jul - ASF JIRA

    apache.org | 9 months ago
    java.lang.IllegalArgumentException: can't parse argument number: Accept=
  2. 0

    Broken Forestry Module

    GitHub | 8 months ago | boistordu
    org.apache.logging.log4j.core.appender.AppenderLoggingException: An exception occurred processing Appender ServerGuiConsole
  3. 0

    Cxf reuse already generated jaxb classes

    Stack Overflow | 3 years ago
    java.lang.IllegalArgumentException: can't parse argument number ''{0}''
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception while logging warning in AbstractJavadocCheck

    GitHub | 3 years ago | baratali
    java.lang.IllegalArgumentException: can't parse argument number: @link EntityEntry
  6. 0

    Exceptions from MessageFormat aren't caught

    GitHub | 2 years ago | unok-kun
    java.lang.IllegalArgumentException: can't parse argument number:

  1. Handemelindo 1 times, last 6 months ago
7 unregistered visitors
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.NumberFormatException

    For input string: "Accept= "

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    MessageFormat.format
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    2. java.lang.Integer.parseInt(Integer.java:580)
    3. java.lang.Integer.parseInt(Integer.java:615)
    4. java.text.MessageFormat.makeFormat(MessageFormat.java:1427)
    5. java.text.MessageFormat.applyPattern(MessageFormat.java:479)
    6. java.text.MessageFormat.<init>(MessageFormat.java:362)
    7. java.text.MessageFormat.format(MessageFormat.java:840)
    7 frames
  3. Apache Log4j API
    MessageFormatMessage.getFormattedMessage
    1. org.apache.logging.log4j.message.MessageFormatMessage.formatMessage(MessageFormatMessage.java:94)
    2. org.apache.logging.log4j.message.MessageFormatMessage.getFormattedMessage(MessageFormatMessage.java:66)
    2 frames
  4. Apache Log4j Core
    Logger.logMessage
    1. org.apache.logging.log4j.core.pattern.MessagePatternConverter.format(MessagePatternConverter.java:68)
    2. org.apache.logging.log4j.core.pattern.PatternFormatter.format(PatternFormatter.java:36)
    3. org.apache.logging.log4j.core.layout.PatternLayout$PatternSerializer.toSerializable(PatternLayout.java:292)
    4. org.apache.logging.log4j.core.layout.PatternLayout.toSerializable(PatternLayout.java:206)
    5. org.apache.logging.log4j.core.layout.PatternLayout.toSerializable(PatternLayout.java:56)
    6. org.apache.logging.log4j.core.layout.AbstractStringLayout.toByteArray(AbstractStringLayout.java:148)
    7. org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.append(AbstractOutputStreamAppender.java:112)
    8. org.apache.logging.log4j.core.appender.RollingFileAppender.append(RollingFileAppender.java:88)
    9. org.apache.logging.log4j.core.config.AppenderControl.tryCallAppender(AppenderControl.java:152)
    10. org.apache.logging.log4j.core.config.AppenderControl.callAppender0(AppenderControl.java:125)
    11. org.apache.logging.log4j.core.config.AppenderControl.callAppenderPreventRecursion(AppenderControl.java:116)
    12. org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:84)
    13. org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:390)
    14. org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:378)
    15. org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:362)
    16. org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:352)
    17. org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.log(AwaitCompletionReliabilityStrategy.java:63)
    18. org.apache.logging.log4j.core.Logger.logMessage(Logger.java:147)
    18 frames
  5. Apache Log4j API
    AbstractLogger.logIfEnabled
    1. org.apache.logging.log4j.spi.ExtendedLoggerWrapper.logMessage(ExtendedLoggerWrapper.java:135)
    2. org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:933)
    2 frames
  6. org.apache.logging
    ApiLogger.log
    1. org.apache.logging.log4j.jul.ApiLogger.log(ApiLogger.java:61)
    1 frame
  7. com.xyz.api
    LoggingTest.realTest
    1. com.xyz.api.server.dao.LoggingTest.realTest(LoggingTest.java:74)
    1 frame
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  9. JUnit
    JUnitCore.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    13. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    14. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    14 frames
  10. IntelliJ junit4 module
    JUnit4IdeaTestRunner.startRunnerWithArgs
    1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
    1 frame
  11. IDEA
    JUnitStarter.main
    1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
    2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
    2 frames
  12. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  13. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame