java.lang.IllegalArgumentException

Failed to instantiate class "org.jboss.logmanager.handlers.PeriodicRotatingFileHandler" for handler "FILE"

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web2591

  • via Unknown by Unknown author,
  • via GitHub by vnugent
    ,
  • Stack trace

    • java.lang.IllegalArgumentException: Failed to instantiate class "org.jboss.logmanager.handlers.PeriodicRotatingFileHandler" for handler "FILE" at org.jboss.logmanager.config.AbstractPropertyConfiguration$ConstructAction.validate(AbstractPropertyConfiguration.java:119) at org.jboss.logmanager.config.LogContextConfigurationImpl.doPrepare(LogContextConfigurationImpl.java:338) at org.jboss.logmanager.config.LogContextConfigurationImpl.prepare(LogContextConfigurationImpl.java:291) at org.jboss.logmanager.config.LogContextConfigurationImpl.commit(LogContextConfigurationImpl.java:300) at org.jboss.logmanager.PropertyConfigurator.configure(PropertyConfigurator.java:542) at org.jboss.logmanager.PropertyConfigurator.configure(PropertyConfigurator.java:97) at org.jboss.logmanager.LogManager.readConfiguration(LogManager.java:300) at org.jboss.logmanager.LogManager.readConfiguration(LogManager.java:262) at java.util.logging.LogManager$2.run(LogManager.java:320) at java.util.logging.LogManager$2.run(LogManager.java:318) at java.security.AccessController.doPrivileged(Native Method) at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:318) at java.util.logging.LogManager.getLogManager(LogManager.java:300) at java.util.logging.Logger.<init>(Logger.java:265) at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:1468) at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:1466) at java.util.logging.LogManager$1.run(LogManager.java:204) at java.security.AccessController.doPrivileged(Native Method) at java.util.logging.LogManager.<clinit>(LogManager.java:181) at org.jboss.modules.Main.main(Main.java:443) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at org.jboss.logmanager.config.AbstractPropertyConfiguration$ConstructAction.validate(AbstractPropertyConfiguration.java:117) ... 19 more Caused by: java.io.FileNotFoundException: /opt/jboss/wildfly/standalone/log/server.log (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:221) at org.jboss.logmanager.handlers.FileHandler.setFile(FileHandler.java:154) at org.jboss.logmanager.handlers.PeriodicRotatingFileHandler.setFile(PeriodicRotatingFileHandler.java:105) at org.jboss.logmanager.handlers.FileHandler.setFileName(FileHandler.java:192) at org.jboss.logmanager.handlers.FileHandler.<init>(FileHandler.java:122) at org.jboss.logmanager.handlers.PeriodicRotatingFileHandler.<init>(PeriodicRotatingFileHandler.java:73) ... 24 more

    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

    MoYaproMoYapro
    4 times, last one
    Unknown visitor
    Unknown visitorOnce,
    filipebatistafilipebatista
    21 times, last one
    linxiaolonglinxiaolong
    3 times, last one
    kidkid
    Once,
    155 more bugmates