Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Tales of Androgyny

A game about birds, bees, flowers and trees. · By Majalis

Bug/ Java Error

A topic by Mischa created Feb 24, 2019 Views: 1,598 Replies: 9
Viewing posts 1 to 4

Hello i have some questions about this so called bug/error i seem to get before i start your game....

java.lang.IllegalArgumentException: initialCapacity is too large: 32
at com.badlogic.gdx.utils.ObjectMap.<init>(ObjectMap.java:68)
at com.badlogic.gdx.utils.ObjectMap.<init>(ObjectMap.java:59)
at com.badlogic.gdx.utils.OrderedMap.<init>(OrderedMap.java:40)
at com.badlogic.gdx.utils.Json.getFields(Json.java:174)
at com.badlogic.gdx.utils.Json.readFields(Json.java:797)
at com.badlogic.gdx.utils.Json.readValue(Json.java:944)
at com.badlogic.gdx.utils.Json.readValue(Json.java:869)
at com.majalis.encounter.EncounterReaderImpl.getScriptData(EncounterReaderImpl.java:27)
at com.majalis.encounter.EncounterReaderImpl.<init>(EncounterReaderImpl.java:17)
at com.majalis.talesofandrogyny.TalesOfAndrogyny.create(TalesOfAndrogyny.java:86)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:149)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)

Disclaimer i have the error.txt file aswell if you want it.

and yes i run a windows 64-bit operative with windows 10

if you could be so kind and contact me for further instructions about how i should proceed to get rid of the error on launch would be greatly appreciated sorry for my bad english since it's not my main language.. 

I'm also getting similar error though not at start but upon entering certain locations in second map. Never had this before  while playing earlier versions so my bet would be problem with game itself in new version. Only couple things come to mind that you can do that could help, make sure you have newest version of Java and Flash for good measure (uninstall completely deleting any leftover folders before installing new rather then update). Additionally you can fire up program such as CCleaner to clear your history including Java and registry errors which may have caused the issue.

P.S be so kind as to report that ass hasazodicu, retard has been spamming annoying surveys everywhere lately.

reported the dude that spam surveys and also i use the patron paid version of Tales Of Androgyny

Developer

Hey there - do you know what encounter was scouted before you got that error? I've seen a few people who've found this but I haven't been able to replicate it. D:

Hello, pleasure to chat with you in person I'm a fan ;-) I went and loaded my save when I first encountered the error as well as started a new game to double check both ending with same result. At the mossy expanse map I seem to keep getting multiple at times weird area spawns all having same characteristics  as below: 

Scout Lvl 1: Enchanted Forest

Scout Lvl 2: Humanoid

Scout Lvl 3: ???

Stepping into any of them causes the crash/error with what it seems similar values:

java.lang.NullPointerException
at com.majalis.encounter.EncounterReaderImpl.loadScript(EncounterReaderImpl.java:37)
at com.majalis.encounter.EncounterBuilder$Branch.textScene(EncounterBuilder.java:216)
at com.majalis.encounter.EncounterCode.getEncounter(EncounterCode.java:1253)
at com.majalis.encounter.EncounterFactory.getEncounter(EncounterFactory.java:38)
at com.majalis.screens.ScreenFactoryImpl.getEncounter(ScreenFactoryImpl.java:229)
at com.majalis.screens.ScreenFactoryImpl.getCurrentContextScreen(ScreenFactoryImpl.java:278)
at com.majalis.screens.ScreenFactoryImpl.getScreen(ScreenFactoryImpl.java:137)
at com.majalis.screens.AbstractScreen.switchScreen(AbstractScreen.java:209)
at com.majalis.screens.AbstractScreen$1.act(AbstractScreen.java:73)
at com.badlogic.gdx.scenes.scene2d.actions.SequenceAction.act(SequenceAction.java:65)
at com.badlogic.gdx.scenes.scene2d.Actor.act(Actor.java:96)
at com.badlogic.gdx.scenes.scene2d.Group.act(Group.java:46)
at com.badlogic.gdx.scenes.scene2d.Stage.act(Stage.java:221)
at com.majalis.screens.AbstractScreen.render(AbstractScreen.java:322)
at com.majalis.screens.WorldMapScreen.render(WorldMapScreen.java:1126)
at com.badlogic.gdx.Game.render(Game.java:46)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)

Third scouting info is most baffling to me as I keep my perception at least at 7 points and have lvl 3 Surveyor skill but still get the ???.

I sincerely hope my input will be of any use to you so we could help other peeps you mentioned, specially like Mischa here with trouble actually launching the game though that seems a little different animal to tackle. Would hate for anyone to miss out. Anyway keep up the good work I really appreciate it, cheers!

Developer

Hey there, that's a separate issue which is fixed in the latest build - that's because you're facing the Doppelganger and it doesn't know how to copy your class, likely because your class is Prostitute or one of the other class changes.

got it when i launch the game and the most recent encounter i had then was after the second meeting of the Dullahan

Developer

Was that the encounter you were walking towards when you got the error? Or had you come from it?

did get the error after the encounter when i saved the game and closed it down and started if up after when i was going to play the game again

and now i seem to get something similar then the reason before some bug with the battleUi looking like this 

com.badlogic.gdx.utils.GdxRuntimeException: com.badlogic.gdx.utils.SerializationException: Error reading file: ui/battleui.json
at com.badlogic.gdx.assets.AssetManager.handleTaskError(AssetManager.java:582)
at com.badlogic.gdx.assets.AssetManager.update(AssetManager.java:383)
at com.badlogic.gdx.assets.AssetManager.finishLoading(AssetManager.java:404)
at com.majalis.screens.SplashScreen.buildStage(SplashScreen.java:74)
at com.majalis.talesofandrogyny.TalesOfAndrogyny.init(TalesOfAndrogyny.java:96)
at com.majalis.talesofandrogyny.TalesOfAndrogyny.create(TalesOfAndrogyny.java:89)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:149)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
Caused by: com.badlogic.gdx.utils.SerializationException: Error reading file: ui/battleui.json
at com.badlogic.gdx.scenes.scene2d.ui.Skin.load(Skin.java:98)
at com.badlogic.gdx.assets.loaders.SkinLoader.loadSync(SkinLoader.java:75)
at com.badlogic.gdx.assets.loaders.SkinLoader.loadSync(SkinLoader.java:38)
at com.badlogic.gdx.assets.AssetLoadingTask.handleAsyncLoader(AssetLoadingTask.java:141)
at com.badlogic.gdx.assets.AssetLoadingTask.update(AssetLoadingTask.java:90)
at com.badlogic.gdx.assets.AssetManager.updateTask(AssetManager.java:507)
at com.badlogic.gdx.assets.AssetManager.update(AssetManager.java:381)
... 6 more
Caused by: com.badlogic.gdx.utils.SerializationException: Error reading file: ui/battleui.json
at com.badlogic.gdx.utils.Json.fromJson(Json.java:711)
at com.badlogic.gdx.scenes.scene2d.ui.Skin.load(Skin.java:96)
... 12 more
Caused by: java.lang.IllegalArgumentException: initialCapacity is too large: 16
at com.badlogic.gdx.utils.ObjectMap.<init>(ObjectMap.java:68)
at com.badlogic.gdx.utils.ObjectMap.<init>(ObjectMap.java:59)
at com.badlogic.gdx.utils.OrderedMap.<init>(OrderedMap.java:40)
at com.badlogic.gdx.utils.Json.getFields(Json.java:174)
at com.badlogic.gdx.utils.Json.readFields(Json.java:797)
at com.badlogic.gdx.utils.Json.readValue(Json.java:944)
at com.badlogic.gdx.scenes.scene2d.ui.Skin$1.readValue(Skin.java:428)
at com.badlogic.gdx.utils.Json.readValue(Json.java:869)
at com.badlogic.gdx.scenes.scene2d.ui.Skin$2.readNamedObjects(Skin.java:449)
at com.badlogic.gdx.scenes.scene2d.ui.Skin$2.read(Skin.java:438)
at com.badlogic.gdx.scenes.scene2d.ui.Skin$2.read(Skin.java:434)
at com.badlogic.gdx.utils.Json.readValue(Json.java:903)
at com.badlogic.gdx.scenes.scene2d.ui.Skin$1.readValue(Skin.java:428)
at com.badlogic.gdx.utils.Json.fromJson(Json.java:709)
... 13 more