net.minecraftforge.fml.common.LoaderException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • New crash on world starts
    via GitHub by Zygus42
    ,
  • Issue with Biome Tweaker
    via GitHub by Zygus42
    ,
  • Construct File Path using Java
    via Stack Overflow by user2385057
    ,
  • Wicket file upload example
    via by Unknown author,
  • GitHub comment 32#229225677
    via GitHub by SinnicK
    ,
  • I use atlassian.sh to perform a PDF export on Cygwin ("mostly" linux). {code}./atlassian.sh confluence --action exportPage --space "SPACE" --title "@home" --descendents --file "Export"{code} It runs for a while but will fail when it tries to download a pagename with a double quote (") in it. I see this in the Confluence log where it grabbed the page ID but the CLI fails with: {code}Client error: Error writing to file C:\Users\<directory-path-removed> Exception: The filename, directory name, or volume label syntax is incorrect{code} --debug details: {code}Using basic authentication. java.io.IOException: The filename, directory name, or volume label syntax is incorrect at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(Unknown Source) at org.swift.common.cli.CliUtils.copyToFile(CliUtils.java:270) at org.swift.common.cli.CliUtils.copyUrlToFile(CliUtils.java:232) at org.swift.common.cli.CliUtils.copyUrlToFile(CliUtils.java:183) at org.swift.confluence.cli.ConfluenceClient.exportPage(ConfluenceClient.java:6023) at org.swift.confluence.cli.ConfluenceClient.exportPage(ConfluenceClient.java:5934) at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:1131) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:470) at org.swift.common.cli.CliClient.doWork(CliClient.java:531) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:196) 23c02b8fed logged out.{code} Also, I notice that it uses backslashes as a separator instead of the Linux style forward slash. Is there something that detects the OS and changes special characters to something the OS can handle? If so, when running in Cgywin, can it be more like Linux? Or maybe a smart replace with all "special" characters, maybe to a "-"?
    via by Kevin Cagle,
  • Wicket file upload example
    via by Unknown author,
    • net.minecraftforge.fml.common.LoaderException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:186)[LoadController.class:?] at net.minecraftforge.fml.common.Loader.serverAboutToStart(Loader.java:911)[Loader.class:?] at net.minecraftforge.fml.common.FMLCommonHandler.handleServerAboutToStart(FMLCommonHandler.java:287)[FMLCommonHandler.class:?] at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:119)[bzl.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431)[MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source)[?:1.8.0_101] Caused by: java.io.IOException: The filename, directory name, or volume label syntax is incorrect at java.io.WinNTFileSystem.createFileExclusively(Native Method)[?:1.8.0_101] at java.io.File.createNewFile(Unknown Source)[?:1.8.0_101] at me.superckl.biometweaker.BiomeTweaker.generateOutputFiles(BiomeTweaker.java:238)[BiomeTweaker.class:?] at me.superckl.biometweaker.BiomeTweaker.onLoadComplete(BiomeTweaker.java:211)[BiomeTweaker.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[?:1.8.0_101] at java.lang.reflect.Method.invoke(Unknown Source)[?:1.8.0_101] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:597)[forge-1.10.2-12.18.1.2095.jar:?] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[?:1.8.0_101] at java.lang.reflect.Method.invoke(Unknown Source)[?:1.8.0_101] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275)[guava-17.0.jar:?] at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:239)[LoadController.class:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217)[LoadController.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[?:1.8.0_101] at java.lang.reflect.Method.invoke(Unknown Source)[?:1.8.0_101] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275)[guava-17.0.jar:?] at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:142)[LoadController.class:?] at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:798)[Loader.class:?] at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:324)[FMLClientHandler.class:?] at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:520)[bcx.class:?] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:351)[bcx.class:?] at net.minecraft.client.main.Main.main(SourceFile:124)[1.10.2.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[?:1.8.0_101] at java.lang.reflect.Method.invoke(Unknown Source)[?:1.8.0_101] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)[launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28)[launchwrapper-1.12.jar:?]

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    55 more bugmates