Skip to content
This repository has been archived by the owner on Mar 2, 2018. It is now read-only.

WailaNBT: Console spam with error #21

Closed
AnonymousPuppy opened this issue Oct 11, 2014 · 7 comments
Closed

WailaNBT: Console spam with error #21

AnonymousPuppy opened this issue Oct 11, 2014 · 7 comments
Labels

Comments

@AnonymousPuppy
Copy link

Using Forge version .1217, WailaNBT version 1.4, on a custom modpack with the following files:

http://puu.sh/c7FNu/0db7c916f4.png

I inconsistently keep getting console spam, I've tried to pinpoint it, but I've got no luck. It is inconsistent in that it sometimes appears and other times does not, which is why I can't exactly pinpoint to 1 file.

Here is what it says: http://pastebin.com/L39YR6Sd

Please look into this whenever you can, thanks.

@ghost ghost added the bug label Oct 13, 2014
@AnonymousPuppy
Copy link
Author

Anybody?

@syf097
Copy link
Contributor

syf097 commented Oct 17, 2014

maybe there is something wrong with your walia.uninstall this mod and try again.if there is nothing wrong with your walia,please report your crash report.

@AnonymousPuppy
Copy link
Author

I have already tried removing this mod, and when done so, the console spam stops. It's apparently from this mod, otherwise I wouldn't be posting here. There is no "crash report", it's an issue of console spam. It also makes my log files very large and makes it difficult to see anything else but this error. Hopefully the mod author knows what is wrong, and can shed some light on this :)

@AnonymousPuppy
Copy link
Author

Any idea when a fix will be out?

@martindiv
Copy link

For what it's worth...
The problem is in src/main/java/me/exz/wailanbt/configuration/config.java. Specifically the loadConfig() function.

This function starts up a javascript engine and throws a bunch of javascript at it on the fly by looping over the item registry. There are, at least, two problems here:

1.. The item name is passed to trim() but more normalization is necessary. For instance, items with apostrophes in their names will generate an error from the scripting engine.
2.. The statements sent to the engine are not properly terminated with a semi-colon.

@AnonymousPuppy
Copy link
Author

@martindiv Do you think you could fix it? A fix from the mod author doesn't look promising, and this issue has been persistent for over a month. Could you fork it, fix the issue, and have a new build? I'd really appreciate it, thanks

@exzhawk
Copy link
Owner

exzhawk commented Nov 21, 2014

Sorry for late response. I'm currently working on a new mod which will be the successor of WailaNBT with major code rewrite and more features. Chance of updating this project, WailaNBT, will be very little. However, due to busy work IRL, I realized new mod may not be released soon. So a workaround for current issue is available at https://drone.io/github.com/exzhawk/wailanbt/files . Please report if this issue reappear. Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants