Page MenuHomePhabricator

[Migrated] NullReferenceException in MainForm.SetProject
Open, MediumPublicBUG REPORT

Description

Orikrin1998 (excuse my bad english, I'm french) 17:04, 31 March 2014 (UTC) wrote:

Exception:

NullReferenceException

Message:

Object reference not set to an instance of an object.

Call stack:

à AutoWikiBrowser.MainForm.SetProject(String code, ProjectEnum project, String customProject, String protocol)
à AutoWikiBrowser.MainForm.LoadPrefs(UserPrefs p)
à AutoWikiBrowser.MainForm.LoadPrefs(String path)

OS:
Microsoft Windows NT 5.0.2195.262144 Service Pack 4
Microsoft Windows NT 6.1.7601 Service Pack 1
Microsoft Windows NT 6.2.9200.0
Unix 3.13.0.37

Version:
AutoWikiBrowser (5.5.2.3), WikiFunctions (5.5.2.3), revision 9902 (2014-02-01 17:20:14)
AutoWikiBrowser (5.5.5.0), WikiFunctions (5.5.5.0), revision 10470 (2014-09-22 01:51:36)
AutoWikiBrowser (5.5.6.0), WikiFunctions (5.5.6.0), revision 10538 (2014-12-23 21:37:52)
AutoWikiBrowser (5.7.0.0), WikiFunctions (5.7.0.0), revision 11328 (2015-07-14 19:56:59)
AutoWikiBrowser (5.8.5.1), WikiFunctions (5.8.5.1), revision 11887 (2016-02-11 12:39:55)
AutoWikiBrowser (5.8.6.0), WikiFunctions (5.8.6.0), revision 12004 (2016-04-18 21:56:07)
AutoWikiBrowser (5.8.8.0), WikiFunctions (5.8.8.0), revision 12098 (2016-10-20 14:02:03)
AutoWikiBrowser (5.10.1.0), WikiFunctions (5.10.1.0), revision 12255 (2018-09-15 13:57:07)
AutoWikiBrowser (6.0.0.1), WikiFunctions (6.0.0.1), revision 12259 (2018-09-15 14:57:27)
AutoWikiBrowser (6.1.0.1), WikiFunctions (6.1.0.1), revision 12353 (2019-09-17 21:16:42)

.NET:
2.0.50727.1433
2.0.50727.5466
2.0.50727.5485
2.0.50727.8670
2.0.50727.8762
2.0.50727.9043
2.0.50727.9148
4.0.30319.42000

Site:
https://en.wikipedia.org/
https://fr.wikipedia.org/
https://lb.wikipedia.org/
https://pl.wikipedia.org/
https://disney.fandom.com/

Event Timeline

Ithinkicahn (talk) 01:23, 16 May 2014 (UTC) wrote:

I also just had this issue. The previous issues in the archives are not helpful; they just say it's rare and is being archived. This is preventing me from making any edits whatsoever, since I get it on program start.

Magioladitis (talk) 16:43, 2 October 2014 (UTC) wrote:

Jim Cartar did this happen after you upgraded? Did you do something else to catch the bug?

Jim Carter 16:52, 2 October 2014 (UTC) wrote:

@Magioladitis: I have updated to 5.5.5.0 the day it was released and today when I opened the program I got this bug. Everything was normal, I haven't done anything to catch this bug.

Magioladitis (talk) 17:37, 3 October 2014 (UTC) wrote:

Jim Cartar is this one off r do you get it often/always?

Jim Carter 10:27, 4 October 2014 (UTC) wrote:

No.. @Magioladitis I don't get this bug often. So far I have got this bug twice.

עוד מישהו Od Mishehu 19:06, 17 March 2015 (UTC) wrote:

I get this bug when my internet connection is down when I open AWB, and stays even once the connection is working again.

DePiep (talk) 17:20, 19 March 2015 (UTC) wrote:

Now in version 5.5.6.0 with me. Setup data from the message (whole dump available):

OS: Microsoft Windows NT 5.1.2600 Service Pack 3
Version: AutoWikiBrowser (5.5.6.0), WikiFunctions (5.5.6.0), revision 10538 (2014-12-23 21:37:52)
.NET: 2.0.50727.3053
Site: https://en.wikipedia.org

This message appears at ~75% of the progress bar. Earlier, at ~10% progress bar, I get this message (in a messagebox with an 'OK' button):
"Netwerk access error De type-initialisatievoor WikiFunctionsParse.Parsers heeft een uitzondering gemaakt" (Dutch; '... has created an exception'?).

I can continue and then log in in AWB. Then, when I Start a run, my AWB enters an eternal loop "Restarting in ''n'' seconds".

This happens after since I installed this version. It could be that it happened days before too (with the previous version). I remember that this happened too with version 5.5.1.0 (August 2014? July 2013; see next post), and then disappeared with its next version. I did not touch the registry or any AWB settings-files. Any ideas or questions? @Magioladitis

DePiep (talk) 18:00, 19 March 2015 (UTC) wrote:

See Archive for 5.5.1.0 (July 2013 it was). @Automatik noted they solved it

Magioladitis (talk) 13:29, 21 March 2015 (UTC) wrote:

DePiep I know. We believe that the bug is related to temporary connection problems. I already asked @Reedy to help.

DePiep (talk) 13:55, 21 March 2015 (UTC) wrote:

OK, now I know you have read this :-). Let me know if I can help.

DePiep (talk) 23:25, 12 April 2015 (UTC) wrote:

@Magioladitis Is it an option to manipulate the registry? Any other resetting? I'm without AWB for months now.

@Dinoguy1000 00:25, 15 May 2015 (UTC) wrote:

I just got this when attempting to load settings for use on the Yu-Gi-Oh! wiki; I was able to log in correctly, but none of the settings I tried to load worked. This is on the most recent version of AWB; I've added the version string from my error report to the above template.

AWB 5.5.7.0 too. -DePiep (talk) 19:04, 17 May 2015 (UTC)

Wikia sucks

Thank you for your detailed commentary report @Reedy ;)

I'm being serious. They modify MediaWiki and set it up in weird and wonderful ways. Then run ancient versions to boot.

It's a PITA

I feel you, Reedy; those of us who know better definitely don't enjoy being stuck with 1.19. You should see what happens when Wikia tries to upgrade, though... Bugs forever.

Josve05a updated the task description. (Show Details)
Josve05a set Security to None.
Josve05a added a subscriber: Minomelo.

When I load up AWB it it loads the green loading screen then after a few seconds comes up with a network access error. When I press ok on the error it then loads up the message pasted above.

In T128192, @Tom.Reding wrote:

When trying to load a settings file I receive this error, which prevents my rules and module code from loading.

Only seems to affect Microsoft Windows NT 6.1.7601 Service Pack 1

Is resolved? If yes, close this task.

JJMC89 removed subscribers: Halibutt, Reguyla.
JJMC89 removed a subscriber: JJMC89.

Stile happened.

description:

workaround:

Exception:NullReferenceException
Message:並未將物件參考設定為物件的執行個體。
Call stack:<pre> 於 AutoWikiBrowser.MainForm.SetProject(String code, ProjectEnum project, String customProject, String protocol)
於 AutoWikiBrowser.MainForm.LoadPrefs(UserPrefs p)
於 AutoWikiBrowser.MainForm.LoadPrefs(String path)</pre>

OS: Microsoft Windows NT 6.2.9200.0
version: AutoWikiBrowser (6.1.0.1), WikiFunctions (6.1.0.1), revision 12353 (2019-09-17 21:16:42)
net: 4.0.30319.42000
duplicate:
site: https://zh.wikipedia.org

Aklapper changed the subtype of this task from "Task" to "Bug Report".Dec 14 2022, 1:15 PM