Page MenuHomePhabricator

Huggle Crash Report [Null pointer exception]: The variable you referenced (edit->User) had null value.
Closed, ResolvedPublic

Description

Huggle crashed after logging in to hrwiki. Only action undertaken is clicking Login.
P.S. svi -> May

System log

pon svi 22 02:08:55 2017: WARNING: hrwiki is not supported by scoring extension
pon svi 22 02:08:54 2017: Connecting to recent changes stream on hrwiki using provider: Wiki
pon svi 22 02:08:23 2017: Loaded in 8488ms
pon svi 22 02:08:23 2017: Extensions: 6
pon svi 22 02:08:23 2017: Successfully loaded: C:\Program Files\Huggle\extensions\huggle_thanks.dll
pon svi 22 02:08:23 2017: Successfully loaded: C:\Program Files\Huggle\extensions\huggle_sh.dll
pon svi 22 02:08:22 2017: Successfully loaded: C:\Program Files\Huggle\extensions\huggle_scoring.dll
pon svi 22 02:08:21 2017: Successfully loaded: C:\Program Files\Huggle\extensions\huggle_nuke.dll
pon svi 22 02:08:21 2017: Successfully loaded: C:\Program Files\Huggle\extensions\huggle_md.dll
pon svi 22 02:08:21 2017: Successfully loaded: C:\Program Files\Huggle\extensions\huggle_en.dll
pon svi 22 02:08:18 2017: Loading plugins in C:\Program Files\Huggle\extensions and C:\Users\Ivan\AppData\Local\Wikimedia\Huggle\extensions\
pon svi 22 02:08:18 2017: Home: C:/Users/Ivan/AppData/Local/Wikimedia/Huggle
pon svi 22 02:08:16 2017: Loading configuration
pon svi 22 02:08:15 2017: Huggle 3 QT-LX, version 3.1.22 build: 2938 3.1.22

Exception details

Error code: 1
Reason: Null pointer exception. The variable you referenced (edit->User) had null value.
Source: void __thiscall Huggle::QueryPool::PreProcessEdit(class Huggle::WikiEdit *)@C:\Users\petr.bena\Documents\huggle3-qt-lx\huggle\querypool.cpp:89
Stack trace:
10 unknown symbol 0x0
9 unknown symbol 0x0
8 unknown symbol 0x0
7 unknown symbol 0x0
6 unknown symbol 0x0
5 unknown symbol 0x0
4 unknown symbol 0x0
3 unknown symbol 0x0
2 unknown symbol 0x0
1 unknown symbol 0x0
0 unknown symbol 0x0

Event Timeline

Josve05a renamed this task from Huggle Crash Report to Huggle Crash Report [Null pointer exception]: The variable you referenced (edit->User) had null value..May 22 2017, 1:20 AM
Josve05a added a project: Essential-Work.

Does it happen every time you login to hrwiki?

It used to work normally; I had saved my login credentials, and when I clicked Login, it worked fine. Until one day this error occurred. It happens every time I try to log on to hrwiki from Huggle.

Petrb triaged this task as Medium priority.Jul 11 2017, 9:26 PM

Does it crash also when you start in safe mode? You can use parameter --safe in order to start it in safe mode.

I tried logging in on Windows 10 with last beta version 3.2.0 and it works with no problem, I will try to upload compiled version somewhere, so that you can try it out.

I have managed to fix the problem by retyping my credentials, and logging in. From then onwards it worked! Perhaps some sort of a problem with how credentials are being saved? Thank you all for helping!

I don't know how to reproduce this bug though, can you? If not I guess it's fixed now.

I suggest we mark this as either stalled or close it given we can't reproduce the bug (and the user has managed to work around it anyway)

Krenair changed the task status from Open to Stalled.Aug 11 2017, 8:27 PM
Petrb claimed this task.