desht / dhutils Goto Github PK
View Code? Open in Web Editor NEWCollection of common utility classes for Bukkit plugins
Collection of common utility classes for Bukkit plugins
Trying to use Cuboid's fill() or any function using LogUtils:
[Minesweeper Reloaded] Task #27 for Minesweeper Reloaded v0.0.3 generated an exception
java.lang.NullPointerException
at io.github.nnubes256.minesweeperreloaded.dhutils.LogUtils.finer(LogUtils.java:59)
at io.github.nnubes256.minesweeperreloaded.dhutils.cuboid.Cuboid.fill(Cuboid.java:599)
at io.github.nnubes256.minesweeperreloaded.DelayedArenaRemoveTask.arenaRemoveWorker(DelayedArenaRemoveTask.java:36)
at io.github.nnubes256.minesweeperreloaded.DelayedArenaRemoveTask.run(DelayedArenaRemoveTask.java:25)
at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53)
at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:522)
at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226)
at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
The only thing that fails is the Logger. Is there a way to not trigger it?
The MassBlockUpdate utility works 99% except on the rare occasion that corrupted chunks are involved. I've been successfully using this utility for quite a long time now to clear large plots of land but the server always crashes if the area contains corrupted chunks. Basically I'm wondering if it's possible to prevent these crashes considering that I am able to modify the land using WorldEdit (or other standard block setting methods) without any issues. Here's a log from one of the crashes: http://pastie.org/8570242
Hello,
Is there any way that you tend to upgrade this utils lib to 1.12.2 or 1.13? I really would like to have chesscraft on my server, but upgrading isn't really possible due to this lib is also out of date, and I can't upgrade this code myself. (not that much knowledge about the used api)
http://ci.herocraftonline.com/plugin/repository/everything is gone actually, so I can't build the library:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] DH Utils .......................................... SUCCESS [7.166s]
[INFO] DH Utils NMS Abstraction API ...................... SUCCESS [51.282s]
[INFO] DH Utils NMS pre-refactor ......................... SUCCESS [1:04.001s]
[INFO] DH Utils NMS v1.4.5 ............................... SUCCESS [59.846s]
[INFO] DH Utils NMS v1.4.6 ............................... SUCCESS [58.786s]
[INFO] DH Utils NMS v1.4-R1 .............................. SUCCESS [57.602s]
[INFO] DH Utils NMS v1.5-R1 .............................. SUCCESS [1:00.669s]
[INFO] DH Utils NMS v1.5-R2 .............................. SUCCESS [1:25.132s]
[INFO] DH Utils NMS v1.5-R3 .............................. SUCCESS [1:02.875s]
[INFO] DH Utils NMS v1.6-R1 .............................. SUCCESS [1:05.058s]
[INFO] DH Utils NMS v1.6-R2 .............................. SUCCESS [1:38.679s]
[INFO] DH Utils Library .................................. FAILURE [1:27.959s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12:39.298s
[INFO] Finished at: Fri Aug 23 12:39:17 CEST 2013
[INFO] Final Memory: 24M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project dhutils-lib: Could not resolve dependencies for project me.desht:dhutils-lib:jar:2.7.0-SNAPSHOT: Could not find artifact net.milkbowl.vault:Vault:jar:1.2.27 in sk89q-maven (http://maven.sk89q.com/repo) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :dhutils-lib
I think you're searching Vault in sk98q build repo, don't you?
EDIT: Finally, I managed to make it work by compiling by my own the GitHub version of Vault, renaming it to "Vault", modifying the pom.xml for make it get the library through my compilation instead of the ghost repo and finally tried to compile. Half Vault's travis page fault, half myself ๐.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] DH Utils .......................................... SUCCESS [3.408s]
[INFO] DH Utils NMS Abstraction API ...................... SUCCESS [21.774s]
[INFO] DH Utils NMS pre-refactor ......................... SUCCESS [0.515s]
[INFO] DH Utils NMS v1.4.5 ............................... SUCCESS [0.431s]
[INFO] DH Utils NMS v1.4.6 ............................... SUCCESS [0.432s]
[INFO] DH Utils NMS v1.4-R1 .............................. SUCCESS [0.410s]
[INFO] DH Utils NMS v1.5-R1 .............................. SUCCESS [0.759s]
[INFO] DH Utils NMS v1.5-R2 .............................. SUCCESS [0.718s]
[INFO] DH Utils NMS v1.5-R3 .............................. SUCCESS [0.655s]
[INFO] DH Utils NMS v1.6-R1 .............................. SUCCESS [0.663s]
[INFO] DH Utils NMS v1.6-R2 .............................. SUCCESS [31.210s]
[INFO] DH Utils NMS v1.6-R3 .............................. SUCCESS [36.524s]
[INFO] DH Utils NMS v1.7-R1 .............................. SUCCESS [44.188s]
[INFO] DH Utils Library .................................. FAILURE [8.925s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:30.877s
[INFO] Finished at: Sat Dec 28 21:30:21 CET 2013
[INFO] Final Memory: 31M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar (attach-javadocs) on project dhutils-lib: MavenReportException: Error while creating archive:
[ERROR] Exit code: 1 - javadoc: warning - No source files for package me.desht.dhutils
[ERROR] javadoc: warning - No source files for package me.desht.dhutils.block
[ERROR] javadoc: warning - No source files for package me.desht.dhutils.commands
[ERROR] javadoc: warning - No source files for package me.desht.dhutils.cost
[ERROR] javadoc: warning - No source files for package me.desht.dhutils.cuboid
[ERROR] javadoc: warning - No source files for package me.desht.dhutils.midi
[ERROR] javadoc: warning - No source files for package me.desht.dhutils.nms
[ERROR] javadoc: warning - No source files for package me.desht.dhutils.repo
[ERROR] javadoc: warning - No source files for package me.desht.dhutils.responsehandler
[ERROR] javadoc: warning - No source files for package me.desht.dhutils
[ERROR] javadoc: warning - No source files for package me.desht.dhutils.block
[ERROR] javadoc: warning - No source files for package me.desht.dhutils.commands
[ERROR] javadoc: warning - No source files for package me.desht.dhutils.cost
[ERROR] javadoc: warning - No source files for package me.desht.dhutils.cuboid
[ERROR] javadoc: warning - No source files for package me.desht.dhutils.midi
[ERROR] javadoc: warning - No source files for package me.desht.dhutils.nms
[ERROR] javadoc: warning - No source files for package me.desht.dhutils.repo
[ERROR] javadoc: warning - No source files for package me.desht.dhutils.responsehandler
[ERROR] javadoc: error - No public or protected classes found to document.
[ERROR]
[ERROR] Command line was: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javadoc @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in '/Users/ignaciocps/Desktop/Audiciones mu?sica/ColorConquest/dhutils/Lib/target/apidocs' dir.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :dhutils-lib
EDIT: Nevermind, it's just a Maven-side issue, related to folder's special charcters. Closing. Also closing #1 as it's fixed(the Jenkins server went up again ๐).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.