Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Pages: [1] 2

Author Topic: Fatal: Expected a ':' after a key at [something]  (Read 22829 times)

phyrex

  • Admiral
  • *****
  • Posts: 751
    • View Profile
Fatal: Expected a ':' after a key at [something]
« on: March 22, 2013, 07:37:44 PM »

its the second time i get this error. i was helped the first time and now i forgot how i did it (i should have kept a link or something.

so basicly i got
Fatal: Expected a ':' after a key at 1849 [character 1850 line 1]

and i completly forgot how to fix it. i have yet to really become apt at reading the starfarer.log too, so im still not rly sure whats going on
Logged

Uthilian

  • Ensign
  • *
  • Posts: 49
    • View Profile
Re: Fatal: Expected a ':' after a key at [something]
« Reply #1 on: March 22, 2013, 08:53:52 PM »

the last file loaded is missing ":" either you put in a different symbol ie ; or nothing at all at some point in the file when it should of had ":"
Logged

phyrex

  • Admiral
  • *****
  • Posts: 751
    • View Profile
Re: Fatal: Expected a ':' after a key at [something]
« Reply #2 on: March 22, 2013, 08:59:35 PM »

the last file loaded is missing ":" either you put in a different symbol ie ; or nothing at all at some point in the file when it should of had ":"

well that much i guessed, but how do i know which file ? it dosent really say it on the log
Logged

Uthilian

  • Ensign
  • *
  • Posts: 49
    • View Profile
Re: Fatal: Expected a ':' after a key at [something]
« Reply #3 on: March 22, 2013, 09:07:09 PM »

copy more of the log from further up
Logged

phyrex

  • Admiral
  • *****
  • Posts: 751
    • View Profile
Re: Fatal: Expected a ':' after a key at [something]
« Reply #4 on: March 22, 2013, 09:10:25 PM »

Spoiler
3559 [Thread-6] WARN  com.fs.starfarer.loading.L  - Weapon spec [peacemaker] not found!
java.lang.RuntimeException: Weapon spec [peacemaker] not found!
   at com.fs.starfarer.loading.O0oO.Ô00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.super(Unknown Source)
   at com.fs.starfarer.loading.specs.HullVariantSpec.<init>(Unknown Source)
   at com.fs.starfarer.loading.L.Ò00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.ô00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.Ò00000(Unknown Source)
   at com.fs.starfarer.loading.H.super(Unknown Source)
   at com.fs.A.A.new(Unknown Source)
   at com.fs.starfarer.combat.D.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:619)
3560 [Thread-6] INFO  com.fs.starfarer.loading.L  - Loading variant [C:\maxime\starsector\starsector-core\..\saves\missions\randombattle1\mission_randombattle1_ship_2.variant]
3560 [Thread-6] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [C:\maxime\starsector\starsector-core\..\saves\missions\randombattle1\mission_randombattle1_ship_2.variant]
3560 [Thread-9] INFO  com.fs.starfarer.loading.scripts.ScriptStore  - Compiling script [data.scripts.world.BaseSpawnPoint]
3560 [Thread-6] INFO  com.fs.starfarer.loading.L  - Loading variant [C:\maxime\starsector\starsector-core\..\saves\missions\randombattle1\mission_randombattle1_ship_3.variant]
3560 [Thread-6] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [C:\maxime\starsector\starsector-core\..\saves\missions\randombattle1\mission_randombattle1_ship_3.variant]
3561 [Thread-6] WARN  com.fs.starfarer.loading.L  - Weapon spec [thule_meteor_launcher] not found!
java.lang.RuntimeException: Weapon spec [thule_meteor_launcher] not found!
   at com.fs.starfarer.loading.O0oO.Ô00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.super(Unknown Source)
   at com.fs.starfarer.loading.specs.HullVariantSpec.<init>(Unknown Source)
   at com.fs.starfarer.loading.L.Ò00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.ô00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.Ò00000(Unknown Source)
   at com.fs.starfarer.loading.H.super(Unknown Source)
   at com.fs.A.A.new(Unknown Source)
   at com.fs.starfarer.combat.D.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:619)
3561 [Thread-6] INFO  com.fs.starfarer.loading.L  - Loading variant [C:\maxime\starsector\starsector-core\..\saves\missions\randombattle1\mission_randombattle1_ship_4.variant]
3561 [Thread-6] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [C:\maxime\starsector\starsector-core\..\saves\missions\randombattle1\mission_randombattle1_ship_4.variant]
3562 [Thread-6] WARN  com.fs.starfarer.loading.L  - Weapon spec [thule_light_hvpc] not found!
java.lang.RuntimeException: Weapon spec [thule_light_hvpc] not found!
   at com.fs.starfarer.loading.O0oO.Ô00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.super(Unknown Source)
   at com.fs.starfarer.loading.specs.HullVariantSpec.<init>(Unknown Source)
   at com.fs.starfarer.loading.L.Ò00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.ô00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.Ò00000(Unknown Source)
   at com.fs.starfarer.loading.H.super(Unknown Source)
   at com.fs.A.A.new(Unknown Source)
   at com.fs.starfarer.combat.D.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:619)
3562 [Thread-6] INFO  com.fs.starfarer.loading.L  - Loading variant [C:\maxime\starsector\starsector-core\..\saves\missions\randombattle1\mission_randombattle1_ship_5.variant]
3562 [Thread-6] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [C:\maxime\starsector\starsector-core\..\saves\missions\randombattle1\mission_randombattle1_ship_5.variant]
3562 [Thread-6] INFO  com.fs.starfarer.loading.L  - Loading variant [C:\maxime\starsector\starsector-core\..\saves\missions\randombattle1\mission_randombattle1_ship_7.variant]
3562 [Thread-6] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [C:\maxime\starsector\starsector-core\..\saves\missions\randombattle1\mission_randombattle1_ship_7.variant]
3563 [Thread-6] INFO  com.fs.starfarer.loading.L  - Loading variant [C:\maxime\starsector\starsector-core\..\saves\missions\randombattle1\mission_randombattle1_ship_8.variant]
3563 [Thread-6] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [C:\maxime\starsector\starsector-core\..\saves\missions\randombattle1\mission_randombattle1_ship_8.variant]
3563 [Thread-6] INFO  com.fs.starfarer.loading.L  - Loading variant [C:\maxime\starsector\starsector-core\..\saves\missions\randombattle1\mission_randombattle1_ship_9.variant]
3563 [Thread-6] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [C:\maxime\starsector\starsector-core\..\saves\missions\randombattle1\mission_randombattle1_ship_9.variant]
3564 [Thread-6] INFO  com.fs.starfarer.loading.SpecStore  - Loading planet data
3564 [Thread-6] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [ABSOLUTE_AND_CWD: null (data/config/planets.json)]
3567 [Thread-6] INFO  com.fs.starfarer.loading.SpecStore  - Loading sound sets
3567 [Thread-6] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [ABSOLUTE_AND_CWD: null (data/config/sounds.json)]
3571 [Thread-6] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\maxime\starsector\starsector-core\..\mods\Utopian Empire 0.1 (data/config/sounds.json)]
3608 [Thread-9] INFO  com.fs.starfarer.loading.scripts.ScriptStore  - Class [data.scripts.world.SectorGen] already loaded (perhaps from jar file, or due to a reference from another class), skipping compilation.
3774 [Thread-9] INFO  com.fs.starfarer.loading.scripts.ScriptStore  - Class [data.missions.turningthetables.MissionDefinition] already loaded (perhaps from jar file, or due to a reference from another class), skipping compilation.
3835 [Thread-9] INFO  com.fs.starfarer.loading.scripts.ScriptStore  - Class [data.missions.forthegreaterlud.MissionDefinition] already loaded (perhaps from jar file, or due to a reference from another class), skipping compilation.
3900 [Thread-9] INFO  com.fs.starfarer.loading.scripts.ScriptStore  - Class [data.missions.thewolfpack.MissionDefinition] already loaded (perhaps from jar file, or due to a reference from another class), skipping compilation.
3983 [Thread-9] INFO  com.fs.starfarer.loading.scripts.ScriptStore  - Class [data.missions.ambush.MissionDefinition] already loaded (perhaps from jar file, or due to a reference from another class), skipping compilation.
4014 [Thread-6] ERROR com.fs.starfarer.combat.D  - org.json.JSONException: Expected a ':' after a key at 1849 [character 1850 line 1]
org.json.JSONException: Expected a ':' after a key at 1849 [character 1850 line 1]
   at org.json.JSONTokener.syntaxError(JSONTokener.java:423)
   at org.json.JSONObject.<init>(JSONObject.java:208)
   at org.json.JSONObject.<init>(JSONObject.java:311)
   at com.fs.starfarer.loading.LoadingUtils.void(Unknown Source)
   at com.fs.starfarer.loading.LoadingUtils.super(Unknown Source)
   at com.fs.starfarer.loading.LoadingUtils.super(Unknown Source)
   at com.fs.starfarer.loading.LoadingUtils.Ò00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.String(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.Ò00000(Unknown Source)
   at com.fs.starfarer.loading.H.super(Unknown Source)
   at com.fs.A.A.new(Unknown Source)
   at com.fs.starfarer.combat.D.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:619)
4052 [Thread-9] INFO  com.fs.starfarer.loading.scripts.ScriptStore  - Class [data.missions.hornetsnest.MissionDefinition] already loaded (perhaps from jar file, or due to a reference from another class), skipping compilation.
[close]

im not really good at searching in the log since im still lacking some knowledge and experience.
i try my hardest but i cant see in that log whats wrong
Logged

Uthilian

  • Ensign
  • *
  • Posts: 49
    • View Profile
Re: Fatal: Expected a ':' after a key at [something]
« Reply #5 on: March 22, 2013, 09:42:41 PM »

Utopian Empire 0.1/data/config/sounds.json
I would say that is it
Logged

phyrex

  • Admiral
  • *****
  • Posts: 751
    • View Profile
Re: Fatal: Expected a ':' after a key at [something]
« Reply #6 on: March 22, 2013, 09:43:58 PM »

Utopian Empire 0.1/data/config/sounds.json
I would say that is it

i will double check it.
edit : double checked, everything seems normal :S

Spoiler
{
    "fusion_bolter_firing":[
      {"file":"sounds/fx/beams/fusion_bolter_firing.ogg","pitch":1,"volume":0.5},
   ],
     "fusion_cannon_firing":[
      {"file":"sounds/fx/beams/fusion_cannon_firing.ogg","pitch":1,"volume":0.5},
   ],
     "fusion_impaler_firing":[
      {"file":"sounds/fx/beams/fusion_impaler_firing.ogg","pitch":1,"volume":0.5},
   ],
     "micro_drone_firing":[
      {"file":"sounds/fx/beams/micro_drone_firing.ogg","pitch":1,"volume":0.5},
   ],
     "drone_firing":[
      {"file":"sounds/fx/beams/drone_firing.ogg","pitch":1,"volume":0.5},
   ],
     "heavy_drone_firing":[
      {"file":"sounds/fx/beams/heavy_drone_firing.ogg","pitch":1,"volume":0.5},
   ],
     "fusion_cycler_firing":[
      {"file":"sounds/fx/beams/fusion_cycler_firing.ogg","pitch":1,"volume":0.25},
   ],
     "fusion_mortar_firing":[
      {"file":"sounds/fx/beams/fusion_mortar_firing.ogg","pitch":1,"volume":0.5},
   ],
     "fusion_lance_charging":[
      {"file":"sounds/fx/beams/fusion_lance_charging.ogg","pitch":1,"volume":0.5},
   ],
     "fusion_lance_firing":[
      {"file":"sounds/fx/beams/fusion_lance_firing.ogg","pitch":1,"volume":0.5},
   ],
     "deuterium_injector_activate":[
      {"file":"sounds/fx/systems/deuterium_injector_activate.ogg","pitch":1,"volume":0.5},
   ],
     "deuterium_injector_deactivate":[
      {"file":"sounds/fx/systems/deuterium_injector_deactivate.ogg","pitch":1,"volume":0.5},
   ],
     "deuterium_injector_loop":[
      {"file":"sounds/fx/systems/deuterium_injector_loop.ogg","pitch":1,"volume":0.5},
   ],
     "magnetic_field_recycler_activate":[
      {"file":"sounds/fx/systems/magnetic_field_recycler_activate.ogg","pitch":1,"volume":0.5},
   ],
     "magnetic_field_recycler_deactivate":[
      {"file":"sounds/fx/systems/magnetic_field_recycler_deactivate.ogg","pitch":1,"volume":0.5},
   ],
     "magnetic_field_recycler_loop":[
      {"file":"sounds/fx/systems/magnetic_field_recycler_loop.ogg","pitch":1,"volume":0.5},
   ],
     ''vectoring_array_activate":[
      {"file":"sounds/fx/systems/vectoring_array_activate.ogg","pitch":1,"volume":0.5},
   ],
     "vectoring_array_loop":[
      {"file":"sounds/fx/systems/vecotring_array_loop.ogg","pitch":1,"volume":0.5},
   ],
     "vortex_drive_activate":[
      {"file":"sounds/fx/systems/vortex_drive_activate.ogg","pitch":1,"volume":0.5},
   ],

}
[close]
« Last Edit: March 22, 2013, 09:50:25 PM by phyrex »
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: Fatal: Expected a ':' after a key at [something]
« Reply #7 on: March 22, 2013, 10:02:41 PM »

You have two apostrophes before vectoring_array_activate instead of a quotation mark.
Logged

phyrex

  • Admiral
  • *****
  • Posts: 751
    • View Profile
Re: Fatal: Expected a ':' after a key at [something]
« Reply #8 on: March 22, 2013, 10:21:27 PM »

You have two apostrophes before vectoring_array_activate instead of a quotation mark.

thanks, fixed.
those are easy to get mixed up.

now to fix the next bug i encounter (this one will be harder because its with code form someone elses mod that they agree to lend me.)

Spoiler
10968 [Thread-6] ERROR com.fs.starfarer.combat.D  - java.lang.RuntimeException: Error compiling [data.shipsystems.scripts.VectoringArrayStats]
java.lang.RuntimeException: Error compiling [data.shipsystems.scripts.VectoringArrayStats]
   at com.fs.starfarer.loading.scripts.ScriptStore$1.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: Parsing compilation unit "com.fs.starfarer.loading.oOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO$1@43487e"
   at org.codehaus.janino.JavaSourceIClassLoader.findIClass(JavaSourceIClassLoader.java:180)
   at org.codehaus.janino.IClassLoader.loadIClass(IClassLoader.java:158)
   at org.codehaus.janino.JavaSourceClassLoader.generateBytecodes(JavaSourceClassLoader.java:199)
   at org.codehaus.janino.JavaSourceClassLoader.findClass(JavaSourceClassLoader.java:164)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   ... 2 more
Caused by: org.codehaus.commons.compiler.CompileException: File data/shipsystems/scripts/VectoringArrayStats.java, Line 8, Column 7: Imported class "data.scripts.plugins.CombatUtils" could not be loaded
   at org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:9403)
   at org.codehaus.janino.UnitCompiler.import2(UnitCompiler.java:256)
   at org.codehaus.janino.UnitCompiler.access$0(UnitCompiler.java:240)
   at org.codehaus.janino.UnitCompiler$1.visitSingleTypeImportDeclaration(UnitCompiler.java:230)
   at org.codehaus.janino.Java$CompilationUnit$SingleTypeImportDeclaration.accept(Java.java:170)
   at org.codehaus.janino.UnitCompiler.<init>(UnitCompiler.java:228)
   at org.codehaus.janino.JavaSourceIClassLoader.findIClass(JavaSourceIClassLoader.java:154)
[close]

i guess meddling with code you dont understand isint a good idea
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: Fatal: Expected a ':' after a key at [something]
« Reply #9 on: March 22, 2013, 10:28:54 PM »

You have two apostrophes before vectoring_array_activate instead of a quotation mark.

thanks, fixed.
those are easy to get mixed up.

now to fix the next bug i encounter (this one will be harder because its with code form someone elses mod that they agree to lend me.)

Spoiler
10968 [Thread-6] ERROR com.fs.starfarer.combat.D  - java.lang.RuntimeException: Error compiling [data.shipsystems.scripts.VectoringArrayStats]
java.lang.RuntimeException: Error compiling [data.shipsystems.scripts.VectoringArrayStats]
   at com.fs.starfarer.loading.scripts.ScriptStore$1.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: Parsing compilation unit "com.fs.starfarer.loading.oOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO$1@43487e"
   at org.codehaus.janino.JavaSourceIClassLoader.findIClass(JavaSourceIClassLoader.java:180)
   at org.codehaus.janino.IClassLoader.loadIClass(IClassLoader.java:158)
   at org.codehaus.janino.JavaSourceClassLoader.generateBytecodes(JavaSourceClassLoader.java:199)
   at org.codehaus.janino.JavaSourceClassLoader.findClass(JavaSourceClassLoader.java:164)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   ... 2 more
Caused by: org.codehaus.commons.compiler.CompileException: File data/shipsystems/scripts/VectoringArrayStats.java, Line 8, Column 7: Imported class "data.scripts.plugins.CombatUtils" could not be loaded
   at org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:9403)
   at org.codehaus.janino.UnitCompiler.import2(UnitCompiler.java:256)
   at org.codehaus.janino.UnitCompiler.access$0(UnitCompiler.java:240)
   at org.codehaus.janino.UnitCompiler$1.visitSingleTypeImportDeclaration(UnitCompiler.java:230)
   at org.codehaus.janino.Java$CompilationUnit$SingleTypeImportDeclaration.accept(Java.java:170)
   at org.codehaus.janino.UnitCompiler.<init>(UnitCompiler.java:228)
   at org.codehaus.janino.JavaSourceIClassLoader.findIClass(JavaSourceIClassLoader.java:154)
[close]

i guess meddling with code you dont understand isint a good idea

And thus I learned there were still people using my old CombatUtils plugin... :)

You're missing the CombatUtils plugin, which you can find here (it's the second block of code). However, that plugin is extremely out of date; you might want to consider using its successor LazyLib instead. The methods used in that version of CombatUtils are included in LazyLib's CombatUtils and MathUtils classes.
Logged

phyrex

  • Admiral
  • *****
  • Posts: 751
    • View Profile
Re: Fatal: Expected a ':' after a key at [something]
« Reply #10 on: March 22, 2013, 10:33:27 PM »

You have two apostrophes before vectoring_array_activate instead of a quotation mark.

thanks, fixed.
those are easy to get mixed up.

now to fix the next bug i encounter (this one will be harder because its with code form someone elses mod that they agree to lend me.)

Spoiler
10968 [Thread-6] ERROR com.fs.starfarer.combat.D  - java.lang.RuntimeException: Error compiling [data.shipsystems.scripts.VectoringArrayStats]
java.lang.RuntimeException: Error compiling [data.shipsystems.scripts.VectoringArrayStats]
   at com.fs.starfarer.loading.scripts.ScriptStore$1.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: Parsing compilation unit "com.fs.starfarer.loading.oOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO$1@43487e"
   at org.codehaus.janino.JavaSourceIClassLoader.findIClass(JavaSourceIClassLoader.java:180)
   at org.codehaus.janino.IClassLoader.loadIClass(IClassLoader.java:158)
   at org.codehaus.janino.JavaSourceClassLoader.generateBytecodes(JavaSourceClassLoader.java:199)
   at org.codehaus.janino.JavaSourceClassLoader.findClass(JavaSourceClassLoader.java:164)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   ... 2 more
Caused by: org.codehaus.commons.compiler.CompileException: File data/shipsystems/scripts/VectoringArrayStats.java, Line 8, Column 7: Imported class "data.scripts.plugins.CombatUtils" could not be loaded
   at org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:9403)
   at org.codehaus.janino.UnitCompiler.import2(UnitCompiler.java:256)
   at org.codehaus.janino.UnitCompiler.access$0(UnitCompiler.java:240)
   at org.codehaus.janino.UnitCompiler$1.visitSingleTypeImportDeclaration(UnitCompiler.java:230)
   at org.codehaus.janino.Java$CompilationUnit$SingleTypeImportDeclaration.accept(Java.java:170)
   at org.codehaus.janino.UnitCompiler.<init>(UnitCompiler.java:228)
   at org.codehaus.janino.JavaSourceIClassLoader.findIClass(JavaSourceIClassLoader.java:154)
[close]

i guess meddling with code you dont understand isint a good idea

And thus I learned there were still people using my old CombatUtils plugin... :)

You're missing the CombatUtils plugin, which you can find here (it's the second block of code). However, that plugin is extremely out of date; you might want to consider using its successor LazyLib instead. The methods used in that version of CombatUtils are included in LazyLib's CombatUtils and MathUtils classes.

i was reluctant to say it but cycerin accepted to lend me his burst jet mechanics provided i gave credits where its due and only used it once (to not make it too common).
the code for that thing is way beyond my understanding. and, even tho i knew lazylib, i took it for granted because i got it included with uumoz corvus, and i always deactivate all mods when i do testing :P

edit : O_o scheisse, its still doing it. alright, whats the hiccup now

Spoiler
15698 [Thread-6] ERROR com.fs.starfarer.combat.D  - java.lang.RuntimeException: Error compiling [data.shipsystems.scripts.VectoringArrayStats]
java.lang.RuntimeException: Error compiling [data.shipsystems.scripts.VectoringArrayStats]
   at com.fs.starfarer.loading.scripts.ScriptStore$1.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: data.shipsystems.scripts.VectoringArrayStats
   at org.codehaus.janino.JavaSourceClassLoader.findClass(JavaSourceClassLoader.java:165)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   ... 2 more
[close]

now what -_-'
the error message is shorter but to me, it look the same
« Last Edit: March 22, 2013, 10:36:52 PM by phyrex »
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: Fatal: Expected a ':' after a key at [something]
« Reply #11 on: March 22, 2013, 10:39:23 PM »

Spoiler
15698 [Thread-6] ERROR com.fs.starfarer.combat.D  - java.lang.RuntimeException: Error compiling [data.shipsystems.scripts.VectoringArrayStats]
java.lang.RuntimeException: Error compiling [data.shipsystems.scripts.VectoringArrayStats]
   at com.fs.starfarer.loading.scripts.ScriptStore$1.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: data.shipsystems.scripts.VectoringArrayStats
   at org.codehaus.janino.JavaSourceClassLoader.findClass(JavaSourceClassLoader.java:165)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   ... 2 more
[close]

now what -_-'
the error message is shorter but to me, it look the same

Is VectoringArrayStats.java in the folder data/shipsystems/scripts/? Does the top of that java file say public class VectoringArrayStats?
Logged

phyrex

  • Admiral
  • *****
  • Posts: 751
    • View Profile
Re: Fatal: Expected a ':' after a key at [something]
« Reply #12 on: March 22, 2013, 10:45:10 PM »

Spoiler
15698 [Thread-6] ERROR com.fs.starfarer.combat.D  - java.lang.RuntimeException: Error compiling [data.shipsystems.scripts.VectoringArrayStats]
java.lang.RuntimeException: Error compiling [data.shipsystems.scripts.VectoringArrayStats]
   at com.fs.starfarer.loading.scripts.ScriptStore$1.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: data.shipsystems.scripts.VectoringArrayStats
   at org.codehaus.janino.JavaSourceClassLoader.findClass(JavaSourceClassLoader.java:165)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   ... 2 more
[close]

now what -_-'
the error message is shorter but to me, it look the same

Is VectoringArrayStats.java in the folder data/shipsystems/scripts/? Does the top of that java file say public class VectoringArrayStats?

oddly, yes

here's even the first line of the file
Spoiler
package data.shipsystems.scripts;

import com.fs.starfarer.api.combat.MutableShipStatsAPI;
import com.fs.starfarer.api.plugins.ShipSystemStatsScript;
import com.fs.starfarer.api.combat.CombatEntityAPI;
import com.fs.starfarer.api.combat.ShipAPI;
import com.fs.starfarer.api.combat.CombatEngineAPI;
import data.scripts.plugins.CombatUtils;
import java.lang.Math;

public class VectoringArrayStats implements ShipSystemStatsScript {

        public CombatEntityAPI ourShip;
        public ShipAPI ship;
        public CombatEngineAPI engine;
        CombatUtils utility = new CombatUtils();
        public Math math;
[close]

you can clearly see i got that too. and i can confirm its in the right folder.

look like i even dumbfounded a senior >_>

p.s.: jeez guys, a thousand thanks to your patience
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: Fatal: Expected a ':' after a key at [something]
« Reply #13 on: March 22, 2013, 10:57:07 PM »

Hmm, if you're willing to send me a link to the mod, I may be able to track it down for you. :)
Logged

phyrex

  • Admiral
  • *****
  • Posts: 751
    • View Profile
Re: Fatal: Expected a ':' after a key at [something]
« Reply #14 on: March 22, 2013, 11:00:48 PM »

Hmm, if you're willing to send me a link to the mod, I may be able to track it down for you. :)

http://www.mediafire.com/?ag9t10dg19g7qb1#!
please keep in mind the problematic file is the ship system vectoring array, which is just a renamed version of cycerin's black rock yard drive burst jet system

edit : oh and dont forget to tell me how you fixed it. so i can learn how to
Logged
Pages: [1] 2