SHARE
TWEET

Instant error when running a server

montlikadani Jan 11th, 2019 (edited) 104 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. main ERROR Cannot access RandomAccessFile java.io.IOException: Could not create directory C:\Users\user\Desktop\server\logs java.io.IOException: Could not create directory C:\Users\user\Desktop\server\logs
  2.         at org.apache.logging.log4j.core.util.FileUtils.mkdir(FileUtils.java:119)
  3.         at org.apache.logging.log4j.core.util.FileUtils.makeParentDirs(FileUtils.java:136)
  4.         at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager$RollingRandomAccessFileManagerFactory.createManager(RollingRandomAccessFileManager.java:179)
  5.         at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager$RollingRandomAccessFileManagerFactory.createManager(RollingRandomAccessFileManager.java:156)
  6.         at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:112)
  7.         at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:114)
  8.         at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager.getRollingRandomAccessFileManager(RollingRandomAccessFileManager.java:87)
  9.         at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender$Builder.build(RollingRandomAccessFileAppender.java:115)
  10.         at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender$Builder.build(RollingRandomAccessFileAppender.java:52)
  11.         at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:122)
  12.         at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:952)
  13.         at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:892)
  14.         at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:884)
  15.         at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:508)
  16.         at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:232)
  17.         at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:244)
  18.         at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:545)
  19.         at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:617)
  20.         at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:634)
  21.         at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:229)
  22.         at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152)
  23.         at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
  24.         at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
  25.         at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:551)
  26.         at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:537)
  27.         at net.minecraft.server.v1_13_R2.MinecraftServer.<clinit>(MinecraftServer.java:70)
  28.         at org.bukkit.craftbukkit.Main.main(Main.java:202)
  29.  
  30. 2019-01-11 18:43:30,596 main ERROR Unable to inject fields into builder class for plugin type class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender, element RollingRandomAccessFile. java.lang.IllegalStateException: ManagerFactory [org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager$RollingRandomAccessFileManagerFactory@1e6f74c] unable to create manager for [logs/latest.log] with data [org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager$FactoryData@1d05255]
  31.         at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:114)
  32.         at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:114)
  33.         at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager.getRollingRandomAccessFileManager(RollingRandomAccessFileManager.java:87)
  34.         at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender$Builder.build(RollingRandomAccessFileAppender.java:115)
  35.         at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender$Builder.build(RollingRandomAccessFileAppender.java:52)
  36.         at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:122)
  37.         at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:952)
  38.         at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:892)
  39.         at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:884)
  40.         at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:508)
  41.         at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:232)
  42.         at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:244)
  43.         at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:545)
  44.         at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:617)
  45.         at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:634)
  46.         at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:229)
  47.         at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152)
  48.         at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
  49.         at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
  50.         at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:551)
  51.         at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:537)
  52.         at net.minecraft.server.v1_13_R2.MinecraftServer.<clinit>(MinecraftServer.java:70)
  53.         at org.bukkit.craftbukkit.Main.main(Main.java:202)
  54.  
  55. 2019-01-11 18:43:30,616 main ERROR Unable to invoke factory method in class class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender for element RollingRandomAccessFile. java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender
  56.         at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.findFactoryMethod(PluginBuilder.java:224)
  57.         at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:130)
  58.         at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:952)
  59.         at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:892)
  60.         at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:884)
  61.         at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:508)
  62.         at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:232)
  63.         at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:244)
  64.         at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:545)
  65.         at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:617)
  66.         at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:634)
  67.         at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:229)
  68.         at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152)
  69.         at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
  70.         at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
  71.         at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:551)
  72.         at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:537)
  73.         at net.minecraft.server.v1_13_R2.MinecraftServer.<clinit>(MinecraftServer.java:70)
  74.         at org.bukkit.craftbukkit.Main.main(Main.java:202)
  75.  
  76. 2019-01-11 18:43:30,625 main ERROR Null object returned for RollingRandomAccessFile in Appenders.
  77. 2019-01-11 18:43:30,636 main ERROR Unable to locate appender "File" for logger config "root"
  78. Loaded 0 recipes
  79. [18:43:32 INFO]: Loaded 0 recipes
  80. [18:43:33 INFO]: Starting minecraft server version 1.13.2
  81. [18:43:33 WARN]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
  82. [18:43:33 INFO]: Loading properties
  83. [18:43:33 WARN]: resource-pack-hash is deprecated and found along side resource-pack-sha1. resource-pack-hash will be ignored.
  84. [18:43:33 WARN]: Failed to save server.properties
  85. java.io.IOException: The refusal is denied
  86.         at java.io.FileOutputStream.writeBytes(Native Method) ~[?:1.8.0_191]
  87.         at java.io.FileOutputStream.write(Unknown Source) ~[?:1.8.0_191]
  88.         at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source) ~[?:1.8.0_191]
  89.         at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source) ~[?:1.8.0_191]
  90.         at sun.nio.cs.StreamEncoder.implFlush(Unknown Source) ~[?:1.8.0_191]
  91.         at sun.nio.cs.StreamEncoder.flush(Unknown Source) ~[?:1.8.0_191]
  92.         at java.io.OutputStreamWriter.flush(Unknown Source) ~[?:1.8.0_191]
  93.         at java.io.BufferedWriter.flush(Unknown Source) ~[?:1.8.0_191]
  94.         at java.util.Properties.store0(Unknown Source) ~[?:1.8.0_191]
  95.         at java.util.Properties.store(Unknown Source) ~[?:1.8.0_191]
  96.         at net.minecraft.server.v1_13_R2.PropertyManager.savePropertiesFile(PropertyManager.java:81) [spigot-latest.jar:git-Spigot-19c3c5a-5932f8a]
  97.         at net.minecraft.server.v1_13_R2.DedicatedServer.c_(DedicatedServer.java:499) [spigot-latest.jar:git-Spigot-19c3c5a-5932f8a]
  98.         at net.minecraft.server.v1_13_R2.DedicatedServer.setIdleTimeout(DedicatedServer.java:567) [spigot-latest.jar:git-Spigot-19c3c5a-5932f8a]
  99.         at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:168) [spigot-latest.jar:git-Spigot-19c3c5a-5932f8a]
  100.         at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:698) [spigot-latest.jar:git-Spigot-19c3c5a-5932f8a]
  101.         at java.lang.Thread.run(Unknown Source) [?:1.8.0_191]
  102. [18:43:33 INFO]: Generating new properties file
  103. [18:43:33 WARN]: Failed to save server.properties
  104. java.io.IOException: The refusal is denied
  105.         at java.io.FileOutputStream.writeBytes(Native Method) ~[?:1.8.0_191]
  106.         at java.io.FileOutputStream.write(Unknown Source) ~[?:1.8.0_191]
  107.         at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source) ~[?:1.8.0_191]
  108.         at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source) ~[?:1.8.0_191]
  109.         at sun.nio.cs.StreamEncoder.implFlush(Unknown Source) ~[?:1.8.0_191]
  110.         at sun.nio.cs.StreamEncoder.flush(Unknown Source) ~[?:1.8.0_191]
  111.         at java.io.OutputStreamWriter.flush(Unknown Source) ~[?:1.8.0_191]
  112.         at java.io.BufferedWriter.flush(Unknown Source) ~[?:1.8.0_191]
  113.         at java.util.Properties.store0(Unknown Source) ~[?:1.8.0_191]
  114.         at java.util.Properties.store(Unknown Source) ~[?:1.8.0_191]
  115.         at net.minecraft.server.v1_13_R2.PropertyManager.savePropertiesFile(PropertyManager.java:81) [spigot-latest.jar:git-Spigot-19c3c5a-5932f8a]
  116.         at net.minecraft.server.v1_13_R2.PropertyManager.a(PropertyManager.java:67) [spigot-latest.jar:git-Spigot-19c3c5a-5932f8a]
  117.         at net.minecraft.server.v1_13_R2.PropertyManager.savePropertiesFile(PropertyManager.java:84) [spigot-latest.jar:git-Spigot-19c3c5a-5932f8a]
  118.         at net.minecraft.server.v1_13_R2.DedicatedServer.c_(DedicatedServer.java:499) [spigot-latest.jar:git-Spigot-19c3c5a-5932f8a]
  119.         at net.minecraft.server.v1_13_R2.DedicatedServer.setIdleTimeout(DedicatedServer.java:567) [spigot-latest.jar:git-Spigot-19c3c5a-5932f8a]
  120.         at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:168) [spigot-latest.jar:git-Spigot-19c3c5a-5932f8a]
  121.         at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:698) [spigot-latest.jar:git-Spigot-19c3c5a-5932f8a]
  122.         at java.lang.Thread.run(Unknown Source) [?:1.8.0_191]
  123. [18:43:33 INFO]: Generating new properties file
  124. [18:43:33 WARN]: Failed to save server.properties
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top