Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Pages: 1 [2]

Author Topic: Bizarre loading error.  (Read 8831 times)

Harmful Mechanic

  • Admiral
  • *****
  • Posts: 1340
  • On break.
    • View Profile
Re: Bizarre loading error.
« Reply #15 on: June 07, 2019, 01:32:42 PM »

Well, that's embarrassing. But at least now I know what to fix!
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24114
    • View Profile
Re: Bizarre loading error.
« Reply #16 on: June 07, 2019, 01:36:13 PM »

Haha, to be fair the actual final error message/stack trace was in no way helpful. I need to remember this as a possible reason for "things are weird"; this has come up before. I wonder: is the error I pasted in your log? Looks like it's not, right? If that error getting logged is a dev-only thing for some reason, that's particularly evil.
Logged

Harmful Mechanic

  • Admiral
  • *****
  • Posts: 1340
  • On break.
    • View Profile
Re: Bizarre loading error.
« Reply #17 on: June 07, 2019, 01:41:28 PM »

It's not in my log at all, that I can see.

I could have sworn I had it set to target JDK 7 - at least this gives me some idea of how to bash at it properly.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24114
    • View Profile
Re: Bizarre loading error.
« Reply #18 on: June 07, 2019, 01:43:26 PM »

Weird...
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4682
    • View Profile
    • GitHub profile
Re: Bizarre loading error.
« Reply #19 on: June 07, 2019, 06:46:24 PM »

Alex, I expect you've already done this, but if you haven't: could UnsupportedClassVersionError in ScriptClassLoader cause a CTD with a message identifying the offending class (and if possible, the mod) and the solution of changing the compile target?
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24114
    • View Profile
Re: Bizarre loading error.
« Reply #20 on: June 07, 2019, 07:15:42 PM »

Yeah, let me do that - didn't actually get to it yet, today was a busy day.

Took a quick look - ah, it was catching Exception instead of Throwable, which explains why the script-loading thread croaked silently instead of passing the exception on to the main thread. Fixed it up; now crashes with this message:

9583 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.RuntimeException: Error loading [data.scripts.MagellanModPlugin]

Compiled for the wrong version of Java, change the compile target to Java 7
java.lang.RuntimeException: Error loading [data.scripts.MagellanModPlugin]

Compiled for the wrong version of Java, change the compile target to Java 7
   at com.fs.starfarer.loading.scripts.ScriptStore$3.run(ScriptStore.java:409)
   at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.UnsupportedClassVersionError: data/scripts/MagellanModPlugin : Unsupported major.minor version 52.0
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
   at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:412)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
   at com.fs.starfarer.loading.scripts.ScriptStore$3.run(ScriptStore.java:395)
   ... 1 more


Good call, thank you for the reminder.
Logged

TheEndstoneGolem

  • Lieutenant
  • **
  • Posts: 53
    • View Profile
Re: Bizarre loading error.
« Reply #21 on: February 23, 2020, 05:12:19 AM »

Hey guys,

Long time since I've touched Starsector but I'm back!
Just loaded up a modlist and I've found that BRDY, Imperium and Tiandong all throw up a similar error to the one described in this thread!
I've checked them all individually and they all throw up the error by themselves and with or without other mods enabled.
I've done as you suggested Alex, reinstalled the game as well as reinstalling the mods themselves.

Seems to be an issue with the mods themselves :(.
Glad to be back!!
Logged
Using an Astral with 6 Khopesh wings coz I'm that basic B)

Harmful Mechanic

  • Admiral
  • *****
  • Posts: 1340
  • On break.
    • View Profile
Re: Bizarre loading error.
« Reply #22 on: February 23, 2020, 05:22:14 AM »

All three of those mods work correctly on my machine. It's something you're doing.

I did fix the original mod I was working on, as well.
Logged

arice

  • Ensign
  • *
  • Posts: 1
    • View Profile
Re: Bizarre loading error.
« Reply #23 on: January 10, 2021, 02:46:14 PM »

i am having this load issue now but in reading through the thread i don't know how y'all fixed it. what steps can i take to remedy this error?

never mind i fixed it. i got smooth brain
« Last Edit: January 10, 2021, 03:37:36 PM by arice »
Logged

IonDragonX

  • Admiral
  • *****
  • Posts: 816
    • View Profile
Re: Bizarre loading error.
« Reply #24 on: January 10, 2021, 04:30:58 PM »

Just loaded up a modlist and I've found that BRDY, Imperium and Tiandong all throw up a similar error to the one described in this thread!
Seems to be an issue with the mods themselves :(
Blackrock needs all three support Libs
http://fractalsoftworks.com/forum/index.php?topic=4018.0

[0.9.1a] GraphicsLib by Dark.Revenant http://fractalsoftworks.com/forum/index.php?topic=10982.0
[0.9.1a] LazyLib by LazyWizard http://fractalsoftworks.com/forum/index.php?topic=5444.0
[0.9.1a] MagicLib by Tartiflette http://fractalsoftworks.com/forum/index.php?topic=13718.0

You do have those & enabled them, right?
Logged

SirHartley

  • Global Moderator
  • Admiral
  • *****
  • Posts: 840
    • View Profile
Re: Bizarre loading error.
« Reply #25 on: January 11, 2021, 09:35:15 AM »

could y'all stop necroing a thread from february 2020? thanks.
Logged
Pages: 1 [2]