Page MenuHome

[FAWE] //image not working
Open, NormalPublic

Description

The WorldEdit command //image appears to not be functioning correctly.

MechanicalDog has tried using it, but received an error message asking for the creation of a directory FastAsyncWorldEdit/textures. I created this directory. The error message goes on to ask for a jar file, so I put that in as well, at FastAsyncWorldEdit/textures/.minecraft/versions/1.13.jar.

After I did what it asked, it spit out a separate error.

I can confirm the server does have read access to that area. I tried putting the file directly into the textures directory, and also tryed a 1.13.2 jar as well, all with the same result. A "bound must be positive" warning gets spammed console over and over, and a single pumpkin is placed down in the world.


Mech says that the //image function used to work back on Create. Perhaps Hex could look at how it is configured there?

Event Timeline

TheArchiteck triaged this task as Normal priority.
Hex added a comment.Mon, Aug 12, 9:33 AM

Right, interestingly enough this appears to be involved with the X-11 Issue

[09:33:03 ERROR]: An unexpected error occurred while handling a FAWE command
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
        at java.lang.Class.forName0(Native Method) ~[?:1.8.0_65]
        at java.lang.Class.forName(Class.java:264) ~[?:1.8.0_65]
        at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103) ~[?:1.8.0_65]
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82) ~[?:1.8.0_65]
        at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1181) ~[?:1.8.0_65]
        at com.boydti.fawe.util.MainUtil.toRGB(MainUtil.java:553) ~[?:?]
        at com.boydti.fawe.util.MainUtil.readImage(MainUtil.java:539) ~[?:?]
        at com.boydti.fawe.util.MainUtil.readImage(MainUtil.java:543) ~[?:?]
        at com.sk89q.worldedit.command.GenerationCommands.image(GenerationCommands.java:135) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_65]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_65]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_65]
        at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_65]
        at com.sk89q.worldedit.util.command.parametric.ParametricCallable.call(ParametricCallable.java:264) ~[?:?]
        at com.sk89q.worldedit.util.command.SimpleDispatcher.call(SimpleDispatcher.java:137) ~[?:?]
        at com.sk89q.worldedit.extension.platform.CommandManager.lambda$handleCommandOnCurrentThread$0(CommandManager.java:422) ~[?:?]
        at com.sk89q.worldedit.extension.platform.CommandManager.handleCommandTask(CommandManager.java:444) ~[?:?]
        at com.sk89q.worldedit.extension.platform.CommandManager.handleCommandOnCurrentThread(CommandManager.java:424) ~[?:?]
        at com.sk89q.worldedit.extension.platform.CommandManager$2.run(CommandManager.java:539) ~[?:?]
        at com.boydti.fawe.object.FawePlayer.lambda$runAction$4(FawePlayer.java:314) ~[?:?]
        at com.boydti.fawe.object.task.SimpleAsyncNotifyQueue.operate(SimpleAsyncNotifyQueue.java:25) ~[?:?]
        at com.boydti.fawe.object.task.AsyncNotifyQueue$1.run(AsyncNotifyQueue.java:15) ~[?:?]
        at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.13.2.jar:git-Paper-642]
        at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) ~[patched_1.13.2.jar:git-Paper-642]
        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.13.2.jar:git-Paper-642]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_65]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_65]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_65]