Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mcmod.info #3

Merged
merged 1 commit into from Jun 30, 2015
Merged

Update mcmod.info #3

merged 1 commit into from Jun 30, 2015

Conversation

QORTEC
Copy link
Contributor

@QORTEC QORTEC commented Jun 30, 2015

Fixed JSON Syntax

The following error occurred due to a missing comma:

[07:08:44] [Server thread/DEBUG] [FML/]: Examining file ThaumicRevelations-1.7.10-v0.1.0.0a.jar for potential mods
[07:08:44] [Server thread/TRACE] [FML/]: Located mcmod.info file in file ThaumicRevelations-1.7.10-v0.1.0.0a.jar
[07:08:44] [Server thread/ERROR] [FML/]: The mcmod.info file in ThaumicRevelations-1.7.10-v0.1.0.0a.jar cannot be parsed as valid JSON. It will be ignored
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated object at line 16 column 4
    at com.google.gson.internal.Streams.parse(Streams.java:56) ~[Streams.class:?]
    at com.google.gson.JsonParser.parse(JsonParser.java:84) ~[JsonParser.class:?]
    at com.google.gson.JsonParser.parse(JsonParser.java:59) ~[JsonParser.class:?]
    at cpw.mods.fml.common.MetadataCollection.from(MetadataCollection.java:55) [MetadataCollection.class:?]
    at cpw.mods.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:53) [JarDiscoverer.class:?]
    at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) [ContainerType.class:?]
    at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71) [ModCandidate.class:?]
    at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:131) [ModDiscoverer.class:?]
    at cpw.mods.fml.common.Loader.identifyMods(Loader.java:362) [Loader.class:?]
    at cpw.mods.fml.common.Loader.loadMods(Loader.java:487) [Loader.class:?]
    at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87) [FMLServerHandler.class:?]
    at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:314) [FMLCommonHandler.class:?]
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:117) [lt.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:387) [MinecraftServer.class:?]
    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) [li.class:?]
Caused by: com.google.gson.stream.MalformedJsonException: Unterminated object at line 16 column 4
    at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505) ~[JsonReader.class:?]
    at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:480) ~[JsonReader.class:?]
    at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:403) ~[JsonReader.class:?]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:666) ~[TypeAdapters$25.class:?]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:659) ~[TypeAdapters$25.class:?]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:642) ~[TypeAdapters$25.class:?]
    at com.google.gson.internal.Streams.parse(Streams.java:44) ~[Streams.class:?]
    ... 14 more
[07:08:44] [Server thread/DEBUG] [FML/]: Identified a mod of type Lcpw/mods/fml/common/Mod; (mortvana.trevelations.common.TRevelations) - loading

Error is gone after JSON syntax is corrected:

[12:14:08] [Client thread/DEBUG] [FML/]: Examining file ThaumicRevelations-1.7.10-v0.1.0.0a.jar for potential mods
[12:14:08] [Client thread/TRACE] [FML/]: Located mcmod.info file in file ThaumicRevelations-1.7.10-v0.1.0.0a.jar
[12:14:08] [Client thread/DEBUG] [FML/]: Identified a mod of type Lcpw/mods/fml/common/Mod; (mortvana.trevelations.common.TRevelations) - loading

Fixed JSON Syntax
@SisterJacq
Copy link
Owner

I'll pull this patch, but keep in mind TR is being merged into my main mod, Project Flux Gear as a module, for planned interoperability (Flux Induced Myuvil Rotary Multitool - Tinker Staff mode, oh yeah!).

@SisterJacq SisterJacq closed this Jun 30, 2015
@SisterJacq SisterJacq reopened this Jun 30, 2015
SisterJacq added a commit that referenced this pull request Jun 30, 2015
@SisterJacq SisterJacq merged commit c6448db into SisterJacq:master Jun 30, 2015
@SisterJacq
Copy link
Owner

Accidentally closed it xD

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

Successfully merging this pull request may close these issues.

None yet

2 participants