Exception in thread "Major Update Worker" when starting singleplayer

Having issues? Ask here!
Forum rules
- Search for existing answers before creating a new topic
- Topic titles must be descriptive and searchable
- Duplicate questions will be redirected to the existing answer(s) and locked.
User avatar
JohnyWhite
Noob
Posts: 10
Joined: Thu Oct 05, 2023 4:00 pm
Has thanked: 2 times
Been thanked: 1 time

Exception in thread "Major Update Worker" when starting singleplayer

Post by JohnyWhite »

I downloaded the new version of singleplayer. When I tried logging in, the game froze for about ten seconds and returned me to the main screen with "Your account has not logged out from its last session. Try again in a few minutes."

These are the last few lines that the command line had:

Code: Select all

[18:04:02]: [Server] Starting networking...
Still waiting for the server to start...
[18:04:02]: [Server] 2009scape flags GameSettings [name=2009scape, debug=false, devMode=false, gui=false, worldId=1]
[18:04:02]: [Server] 2009scape started in 5282 milliseconds.
Successfully loaded plugin BasicInputQOL, version 1.0
Successfully loaded plugin EscClose, version 1.0
Successfully loaded plugin LoginTimer, version 1.2
Successfully loaded plugin MiniMenuQOL, version 1.0
Successfully loaded plugin RememberMyLogin, version 1.0
Successfully loaded plugin XPDropPlugin, version 1.2
openSocket(localhost:43595)
openSocket(localhost:43595)
Exception in thread "Major Update Worker" java.lang.NoSuchMethodError: 'java.util.List java.util.stream.Stream.toList()'
        at content.global.skill.gather.woodcutting.WoodcuttingListener.animateWoodcutting(WoodcuttingListener.kt:205)
        at content.global.skill.gather.woodcutting.WoodcuttingListener.handleWoodcutting(WoodcuttingListener.kt:74)
        at content.global.skill.gather.woodcutting.WoodcuttingListener.access$handleWoodcutting(WoodcuttingListener.kt:39)
        at content.global.skill.gather.woodcutting.WoodcuttingListener$defineListeners$2.invoke(WoodcuttingListener.kt:55)
        at content.global.skill.gather.woodcutting.WoodcuttingListener$defineListeners$2.invoke(WoodcuttingListener.kt:55)
        at core.game.interaction.ScriptProcessor.executeScript(ScriptProcessor.kt:188)
        at core.game.interaction.ScriptProcessor.processInteractScript(ScriptProcessor.kt:176)
        at core.game.interaction.ScriptProcessor.preMovement(ScriptProcessor.kt:54)
        at core.game.node.entity.Entity.tick(Entity.java:214)
        at core.game.node.entity.player.Player.tick(Player.java:439)
        at core.game.bots.AIPlayer.tick(AIPlayer.java:292)
        at core.game.world.update.UpdateSequence.start(UpdateSequence.kt:42)
        at core.worker.MajorUpdateWorker.handleTickActions(MajorUpdateWorker.kt:106)
        at core.worker.MajorUpdateWorker.handleTickActions$default(MajorUpdateWorker.kt:92)
        at core.worker.MajorUpdateWorker.worker$lambda$1(MajorUpdateWorker.kt:41)
        at java.base/java.lang.Thread.run(Unknown Source)
Successfully loaded plugin BasicInputQOL, version 1.0
Successfully loaded plugin EscClose, version 1.0
Successfully loaded plugin LoginTimer, version 1.2
Successfully loaded plugin MiniMenuQOL, version 1.0
Successfully loaded plugin RememberMyLogin, version 1.0
Successfully loaded plugin XPDropPlugin, version 1.2
openSocket(localhost:43595)
[18:04:42]: [PlayerSaveParser] Couldn't find save file for johnywhite, or save is corrupted.
[18:04:42]: [SystemLogger] [  MS] johnywhite -(WLD)> 1
[18:04:42]: [SystemLogger] [  MS] johnywhite -> RQ CONTACT INFO
[18:04:42]: [SystemLogger] [  MS] johnywhite <- SND CONTACT INFO
openSocket(localhost:43595)
[18:05:22]: [DisconnectionQueue] Queueing johnywhite for disconnection.
When this happened the first time, I thought this was a problem on my end, because I just overwriten the old version with new files, but then I put the new version files into completely different folder and I was still getting the same message.

I downloaded the file multiple times, tried placing it in defferent folders and even different drives and I restarted my PC multiple times. The error is still there. Also bear in mind that previous version worked flawlessly.
User avatar
Red Bracket
Retired Staff
Posts: 321
Joined: Thu Aug 11, 2022 7:18 am
Location: Varrock West Bank
Has thanked: 307 times
Been thanked: 76 times
Contact:

Re: Exception in thread "Major Update Worker" when starting singleplayer

Post by Red Bracket »

Are you using an unmodified launch.bat file? It seems almost like the wrong version of Java is being used, but it's possible the singleplayer update broke (I haven't investigated this myself)
User avatar
JohnyWhite
Noob
Posts: 10
Joined: Thu Oct 05, 2023 4:00 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Exception in thread "Major Update Worker" when starting singleplayer

Post by JohnyWhite »

Completely clean install. No saved characters and no edits to any configs or other files. I played the old version earlier today, quit, downloaded new one and this is what happened.
User avatar
Ceikry
Site Admin
Posts: 587
Joined: Wed Aug 10, 2022 11:48 pm
Location: Draynor Village
Has thanked: 82 times
Been thanked: 105 times

Re: Exception in thread "Major Update Worker" when starting singleplayer

Post by Ceikry »

You can't investigate it bracket, the build happens on my machine lmao.

Anyway, pretty sure I know what happened here. I recently installed Java 17 to try it out and I think that switched my default java.
Nerds
User avatar
ryannathans
Staff
Posts: 501
Joined: Thu Aug 11, 2022 12:25 am
Location: ɐᴉlɐɹʇsn∀
Has thanked: 40 times
Been thanked: 96 times

Re: Exception in thread "Major Update Worker" when starting singleplayer

Post by ryannathans »

Ceikry wrote: Thu Oct 05, 2023 4:30 pm You can't investigate it bracket, the build happens on my machine lmao.

Anyway, pretty sure I know what happened here. I recently installed Java 17 to try it out and I think that switched my default java.
Sorry can't you read? The instructions clearly say to use java 11
User avatar
JohnyWhite
Noob
Posts: 10
Joined: Thu Oct 05, 2023 4:00 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Exception in thread "Major Update Worker" when starting singleplayer

Post by JohnyWhite »

So I just have to wait for a fix?

I tried the newest (6 hours at the time of posting) build and it still does the same thing as it did yesterday.
Also, when I try to run the game for the first time after extracting, this is what happens:

Code: Select all

Still waiting for the server to start...
[13:56:52]: [SystemLogger] [STARTUP] We still have 1803 legacy plugins being loaded.
[13:56:52]: [ShopParser] Parsed 243 shops.
[13:56:52]: [DropTableParser] Parsed 2112 drop tables.
[13:56:53]: [NPCSpawner] Spawned 11048 NPCs
[13:56:53]: [DoorConfigLoader] Parsed 516 door configs.
[13:56:53]: [GroundSpawnLoader] Initialized 601 ground items.
[13:56:53]: [MusicConfigLoader] Parsed 393 music configs.
[13:56:53]: [RangedConfigLoader] Parsed 221 ammo configs...
[13:56:53]: [RangedConfigLoader] Parsed 172 ranged weapon configs...
[13:56:53]: [CustomVarbitParser] Parsed 2 custom varbit definitions.
[13:56:53]: [AllotmentSeedDropTable] Initialized Allotment Seed Drop Table from data\configs\shared_tables\ASDT.xml\
[13:56:53]: [CELEMinorTable] Loaded up Chaos Elemental drop table from data\configs\shared_tables\CELEDT.xml\
[13:56:53]: [GemDropTable] Initialized Gem Drop Table from data\configs\shared_tables\GDT.xml\
[13:56:53]: [HerbDropTable] Initialized Herb Drop Table from data\configs\shared_tables\HDT.xml\
[13:56:53]: [RareDropTable] Initialized Rare Drop Table from data\configs\shared_tables\RDT.xml\
[13:56:53]: [RareSeedDropTable] Initialized Rare Seed Drop Table from data\configs\shared_tables\RSDT.xml\
[13:56:53]: [UncommonSeedDropTable] Initialized Uncommon Seed Drop Table from data\configs\shared_tables\USDT.xml\
[13:56:53]: [PenguinHNSEvent] Penguin HNS initialized.
[13:56:53]: [ShootingStarPlugin] Shooting Stars initialized.
[13:56:53]: [SystemLogger] [STARTUP] Parsing Global Kill Counts
Still waiting for the server to start...
Still waiting for the server to start...
Still waiting for the server to start...
Still waiting for the server to start...
Still waiting for the server to start...
Still waiting for the server to start...
Still waiting for the server to start...
Still waiting for the server to start...
Still waiting for the server to start...
Still waiting for the server to start...
Still waiting for the server to start...
Still waiting for the server to start...
Still waiting for the server to start...
And this goes on and on and on, no matter how long I wait. If close the command prompt and run the bat file again, the game starts but the message in my first post appears and I can't log in.

I Have the game in D:\singlescape, so there are no spaces in the path.

Here is the entire log before trying to log in, in case it might help.

Code: Select all

Still waiting for the server to start...
[14:03:45]: [Server] Using config file: worldprops\default.conf
[14:03:45]: [ServerConfigParser] It seems we are in a Java 11 environment.
[14:03:45]: [GameWorld] Prompting 2009scape Game World...
[14:03:45]: [Cache] Initializing cache...
[14:03:45]: [NPCConfigParser] Unhandled key for npc config: respawn_degitlay
[14:03:45]: [NPCConfigParser] Parsed 4272 NPC configurations
[14:03:45]: [ItemConfigParser] Parsed 11973 item configs.
[14:03:45]: [ObjectConfigParser] Parsed 13872 object configs.
[14:03:45]: [XteaParser] Parsed 1410 region keys.
[14:03:45]: [InterfaceConfigParser] Parsed 122 interface configs.
Still waiting for the server to start...
[14:03:46]: [ClassScanner] Configured zone: ChampionChallengeListenerMapArea
[14:03:46]: [ClassScanner] Configured zone: DrillDemonListenersMapArea
[14:03:46]: [ClassScanner] Configured zone: EvilBobListenersMapArea
[14:03:46]: [ClassScanner] Configured zone: FreakListenersMapArea
[14:03:47]: [ClassScanner] Configured zone: FarmingPatchZoneMapArea
[14:03:47]: [ClassScanner] Configured zone: BlastFurnaceMapArea
[14:03:47]: [ClassScanner] Configured zone: FishingTrawlerSessionMapArea
[14:03:47]: [ClassScanner] Configured zone: VinesweeperMapArea
[14:03:47]: [ClassScanner] Configured zone: SecretWayLocationMapArea
[14:03:47]: [ClassScanner] Configured zone: FaladorAchievementDiaryMapArea
[14:03:47]: [ClassScanner] Configured zone: FremennikAchievementDiaryMapArea
[14:03:47]: [ClassScanner] Configured zone: SeersVillageAchivementDiaryMapArea
[14:03:47]: [ClassScanner] Configured zone: SeersCourthouseZoneMapArea
[14:03:47]: [ClassScanner] Configured zone: KaramjaAchievementDiaryMapArea
[14:03:47]: [ClassScanner] Configured zone: TormentedDemonAreaMapArea
[14:03:47]: [ClassScanner] Configured zone: LumbridgeAchivementDiaryMapArea
[14:03:47]: [ClassScanner] Configured zone: VarrockAchivementDiaryMapArea
[14:03:47]: [ClassScanner] Configured zone: DSCutsceneTriggerMapArea
[14:03:47]: [ClassScanner] Configured zone: MorytaniaAreaMapArea
[14:03:47]: [ClassScanner] Configured zone: CorpAreaControllerMapArea
[14:03:47]: [ClassScanner] Configured zone: CastleWarsGameAreaMapArea
[14:03:47]: [ClassScanner] Configured zone: CastleWarsRespawnAreaMapArea
[14:03:47]: [ClassScanner] Configured zone: CastleWarsWaitingAreaMapArea
[14:03:47]: [SystemLogger] [STARTUP] Loaded 363 content interfaces.
[14:03:47]: [TimerRegistry] Registering timer StarBonus
[14:03:47]: [TimerRegistry] Registering timer Compost
[14:03:47]: [TimerRegistry] Registering timer CropGrowth
[14:03:47]: [TimerRegistry] Registering timer SeedlingGrowth
[14:03:47]: [TimerRegistry] Registering timer SpellCharge
[14:03:47]: [TimerRegistry] Registering timer IncubatorTimer
[14:03:47]: [TimerRegistry] Registering timer BFTempEntranceTimer
[14:03:47]: [TimerRegistry] Registering timer CannonTimer
[14:03:47]: [TimerRegistry] Registering timer DWThreatTimer
[14:03:47]: [TimerRegistry] Registering timer AntiMacro
[14:03:47]: [TimerRegistry] Registering timer Disease
[14:03:47]: [TimerRegistry] Registering timer Frozen
[14:03:47]: [TimerRegistry] Registering timer FrozenImmunity
[14:03:47]: [TimerRegistry] Registering timer HealOverTime
[14:03:47]: [TimerRegistry] Registering timer Miasmic
[14:03:47]: [TimerRegistry] Registering timer MiasmicImmunity
[14:03:47]: [TimerRegistry] Registering timer Poison
[14:03:47]: [TimerRegistry] Registering timer PoisonImmunity
[14:03:47]: [TimerRegistry] Registering timer SkillRestore
[14:03:47]: [TimerRegistry] Registering timer Skulled
[14:03:47]: [TimerRegistry] Registering timer Teleblock
[14:03:47]: [TimerRegistry] Registering timer HolidayRandoms
[14:03:47]: [TimerRegistry] Registering timer ResetHolidayAppearance
[14:03:47]: [SystemLogger] [STARTUP] Parsing server store...
[14:03:47]: [SystemLogger] [STARTUP] Initialized 0 store files.
Still waiting for the server to start...
[14:03:48]: [SystemLogger] [STARTUP] We still have 1803 legacy plugins being loaded.
[14:03:48]: [ShopParser] Parsed 243 shops.
[14:03:48]: [DropTableParser] Parsed 2112 drop tables.
[14:03:49]: [NPCSpawner] Spawned 11048 NPCs
[14:03:49]: [DoorConfigLoader] Parsed 516 door configs.
[14:03:49]: [GroundSpawnLoader] Initialized 601 ground items.
[14:03:49]: [MusicConfigLoader] Parsed 393 music configs.
[14:03:49]: [RangedConfigLoader] Parsed 221 ammo configs...
[14:03:49]: [RangedConfigLoader] Parsed 172 ranged weapon configs...
[14:03:49]: [CustomVarbitParser] Parsed 2 custom varbit definitions.
[14:03:49]: [AllotmentSeedDropTable] Initialized Allotment Seed Drop Table from data\configs\shared_tables\ASDT.xml\
[14:03:49]: [CELEMinorTable] Loaded up Chaos Elemental drop table from data\configs\shared_tables\CELEDT.xml\
[14:03:49]: [GemDropTable] Initialized Gem Drop Table from data\configs\shared_tables\GDT.xml\
[14:03:49]: [HerbDropTable] Initialized Herb Drop Table from data\configs\shared_tables\HDT.xml\
[14:03:49]: [RareDropTable] Initialized Rare Drop Table from data\configs\shared_tables\RDT.xml\
[14:03:49]: [RareSeedDropTable] Initialized Rare Seed Drop Table from data\configs\shared_tables\RSDT.xml\
[14:03:49]: [UncommonSeedDropTable] Initialized Uncommon Seed Drop Table from data\configs\shared_tables\USDT.xml\
[14:03:49]: [PenguinHNSEvent] Penguin HNS initialized.
[14:03:49]: [ShootingStarPlugin] Shooting Stars initialized.
[14:03:49]: [SystemLogger] [STARTUP] Parsing Global Kill Counts
[14:03:49]: [SystemLogger] [  GE] Initializing GE Update Worker
[14:03:49]: [Companion] [SHOPS] Using JSON path: data\configs\shops.json
[14:03:49]: [Companion] [SHOPS] Parsed 243 shops.
[14:03:50]: [Server] Starting networking...
[14:03:50]: [Server] 2009scape flags GameSettings [name=2009scape, debug=false, devMode=false, gui=false, worldId=1]
[14:03:50]: [Server] 2009scape started in 4812 milliseconds.
Successfully loaded plugin BasicInputQOL, version 1.0
Successfully loaded plugin EscClose, version 1.0
Successfully loaded plugin LoginTimer, version 1.2
Successfully loaded plugin MiniMenuQOL, version 1.0
Successfully loaded plugin RememberMyLogin, version 1.0
Successfully loaded plugin XPDropPlugin, version 1.2
openSocket(localhost:43595)
openSocket(localhost:43595)
Successfully loaded plugin BasicInputQOL, version 1.0
Successfully loaded plugin EscClose, version 1.0
Successfully loaded plugin LoginTimer, version 1.2
Successfully loaded plugin MiniMenuQOL, version 1.0
Successfully loaded plugin RememberMyLogin, version 1.0
Successfully loaded plugin XPDropPlugin, version 1.2
Exception in thread "Major Update Worker" java.lang.NoSuchMethodError: 'java.util.List java.util.stream.Stream.toList()'
        at content.global.skill.gather.woodcutting.WoodcuttingListener.animateWoodcutting(WoodcuttingListener.kt:205)
        at content.global.skill.gather.woodcutting.WoodcuttingListener.handleWoodcutting(WoodcuttingListener.kt:74)
        at content.global.skill.gather.woodcutting.WoodcuttingListener.access$handleWoodcutting(WoodcuttingListener.kt:39)
        at content.global.skill.gather.woodcutting.WoodcuttingListener$defineListeners$2.invoke(WoodcuttingListener.kt:55)
        at content.global.skill.gather.woodcutting.WoodcuttingListener$defineListeners$2.invoke(WoodcuttingListener.kt:55)
        at core.game.interaction.ScriptProcessor.executeScript(ScriptProcessor.kt:188)
        at core.game.interaction.ScriptProcessor.processInteractScript(ScriptProcessor.kt:176)
        at core.game.interaction.ScriptProcessor.preMovement(ScriptProcessor.kt:54)
        at core.game.node.entity.Entity.tick(Entity.java:214)
        at core.game.node.entity.player.Player.tick(Player.java:439)
        at core.game.bots.AIPlayer.tick(AIPlayer.java:292)
        at core.game.world.update.UpdateSequence.start(UpdateSequence.kt:42)
        at core.worker.MajorUpdateWorker.handleTickActions(MajorUpdateWorker.kt:106)
        at core.worker.MajorUpdateWorker.handleTickActions$default(MajorUpdateWorker.kt:92)
        at core.worker.MajorUpdateWorker.worker$lambda$1(MajorUpdateWorker.kt:41)
        at java.base/java.lang.Thread.run(Unknown Source)
User avatar
Ceikry
Site Admin
Posts: 587
Joined: Wed Aug 10, 2022 11:48 pm
Location: Draynor Village
Has thanked: 82 times
Been thanked: 105 times

Re: Exception in thread "Major Update Worker" when starting singleplayer

Post by Ceikry »

Correct, I have to manually fix this issue and haven't had time because I work a full time job and this is a hobby. It'll probably be fixed sometime today.
Nerds
User avatar
ryannathans
Staff
Posts: 501
Joined: Thu Aug 11, 2022 12:25 am
Location: ɐᴉlɐɹʇsn∀
Has thanked: 40 times
Been thanked: 96 times

Re: Exception in thread "Major Update Worker" when starting singleplayer

Post by ryannathans »

Should be fixed now
User avatar
JohnyWhite
Noob
Posts: 10
Joined: Thu Oct 05, 2023 4:00 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Exception in thread "Major Update Worker" when starting singleplayer

Post by JohnyWhite »

ryannathans wrote: Fri Oct 06, 2023 1:03 pm Should be fixed now
It's still not working. Throwing the same command line messages as it did before. Again, clean install.
Aren't there some leftover files in AppData or some other location that I'm forgeting to delete?
User avatar
Ceikry
Site Admin
Posts: 587
Joined: Wed Aug 10, 2022 11:48 pm
Location: Draynor Village
Has thanked: 82 times
Been thanked: 105 times

Re: Exception in thread "Major Update Worker" when starting singleplayer

Post by Ceikry »

if it's still not working, it's now likely that something is wrong on your end, rather than with the build. What java version are you using? double and triple check.
Nerds
Locked