News:

Yahoo Groups closing on Dec 14th 2019

Main Menu

Object reference not set to an instance of an object again

Started by martin_lists, December 29, 2015, 08:43:21 AM

Previous topic - Next topic

martin_lists

This is an odd one.  I'm running version 855 on two different machines (both W10).  One is updating fine every two hours, but the other suddenly started reporting "Object reference not set to an instance of an object" on 24 December and hasn't successfully updated since.   They're both watching the same group, so not sure what could suddenly have decided to change on only one of the platforms a few days ago.

Martin
NZ

Wilson Logan

#1
That's just creepy. 

So you've got two machines, running the same OS and the same version of PGO, downloading the same group, connected to the same internet connection?

And one of them is erroring? 

The usual reason for the "Object" error is that PGO cannot access the group for some reason  (firewall, internet connection, etc).

But that surely cannot be the case for you.

There ought to be more information in the Windows Event Viewer.

If you start the Event Viewer and choose Windows--> Applications there ought to be an error for PG Offline.

If you choose the PGO error event from the list you will get a pop-up window which has a Copy option.

If you could copy the data and send it to me we might get more of a clue as to what's going on.

Thanks,

Wilson.


martin_lists

Thanks, Wilson - one thing I have already in place is the traffic log that we set up a month or so ago, which is still running.  This section shows the data for the last successful connection (5.46) and the first failure (7.46).  I notice that at 7.46 the error ""User does not have READ permission for MESSAGE" appears, which is kind of weird, as I clearly still do:

3:46:21 PM Request: http://groups.yahoo.com/api/v1/groups/Siddeley/messages?start=0&count=1&sortOrder=desc&direction=-1&chrome=raw
3:46:21 PM HTTP status: OK
3:46:21 PM Response: {"ygPerms":{"resourceCapabilityList":[{"resourceType":"GROUP","capabilities":[{"name":"UPDATE"},{"name":"DELETE"},{"name":"READ"},{"name":"WELCOME_MSG"},{"name":"PENDING_COUNT"},{"name":"ACTIVITY_LOGS"}]},{"resourceType":"PHOTO","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"UPLOAD"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"COPY"},{"name":"MOVE"},{"name":"UPLOADTEMP"},{"name":"GROUPCOVER"}]},{"resourceType":"FILE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"AUTO_SEND"}]},{"resourceType":"MEMBER","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"EDIT_MODERATOR"},{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"BAN"}]},{"resourceType":"LINK","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"MOVE_LINK"}]},{"resourceType":"CALENDAR","capabilities":[{"name":"READ"}]},{"resourceType":"DATABASE","capabilities":[{"name":"READ_DATA"},{"name":"READ"},{"name":"CREATE"}]},{"resourceType":"POLL","capabilities":[{"name":"READ"},{"name":"VOTE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"DELETE"},{"name":"CLOSE"}]},{"resourceType":"MESSAGE","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PENDING_MESSAGE","capabilities":[{"name":"READ"},{"name":"UPDATE"},{"name":"DELETE"}]},{"resourceType":"ATTACHMENTS","capabilities":[{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PHOTOMATIC_ALBUMS","capabilities":[{"name":"READ"},{"name":"UPLOAD"}]},{"resourceType":"MEMBERSHIP_TYPE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"DELETE"},{"name":"UPDATE"}]},{"resourceType":"POST","capabilities":[{"name":"UPDATE"},{"name":"DELETE"},{"name":"READ"},{"name":"CREATE"}]},{"resourceType":"PIN","capabilities":[{"name":"UPDATE"},{"name":"DELETE"},{"name":"READ"},{"name":"CREATE"}]}],"modStatus":"OWNER","subStatus":"NORMAL","groupUrl":"groups.yahoo.com","intlCode":"us"},"comscore":"pageview_candidate","ygData":{"usage":62492,"totalRecords":11591,"numTopics":2781,"prevPageStart":0,"nextPageStart":2,"numRecords":1,"lastRecordId":11591,"messages":[{"messageId":1,"threadLevel":0,"subject":"Welcome! (Please read)","author":"Martin Purdy","yahooAlias":"","email":"translate@paradise.net.nz","date":981588536,"parent":0,"hasAttachments":0,"length":2061,"topicInfoStatus":0,"nextTopic":2,"prevTopic":0,"topicLastRecord":1,"numRecords":1,"lastPosted":981588536,"topicStatus":0,"topicNextRecord":0,"topicPrevRecord":0,"topicFirstRecord":0,"digestNum":0,"firstRecInfoStatus":2,"recFirstNextTopic":0,"recFirstPrevTopic":0,"recFirstTopicLastRecord":0,"recFirstNumRecords":0,"recFirstLastPosted":0,"recFirstTopicStatus":0,"recFirstTopicNextRecord":0,"recFirstTopicPrevRecord":0,"recFirstTopicFirstRecord":0,"recFirstDigestNum":0,"summary":"Welcome to the Armstrong Siddeley Cars group at Yahoo!  This group is intended to be an open forum for the discussion of all things relating to A/S and related"}],"topicRecordId":0}}
5:46:21 PM Request: http://groups.yahoo.com/api/v1/groups/Siddeley/messages?start=0&count=1&sortOrder=desc&direction=-1&chrome=raw
5:46:21 PM HTTP status: OK
5:46:21 PM Response: {"ygPerms":{"resourceCapabilityList":[{"resourceType":"GROUP","capabilities":[{"name":"UPDATE"},{"name":"DELETE"},{"name":"READ"},{"name":"WELCOME_MSG"},{"name":"PENDING_COUNT"},{"name":"ACTIVITY_LOGS"}]},{"resourceType":"PHOTO","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"UPLOAD"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"COPY"},{"name":"MOVE"},{"name":"UPLOADTEMP"},{"name":"GROUPCOVER"}]},{"resourceType":"FILE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"AUTO_SEND"}]},{"resourceType":"MEMBER","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"EDIT_MODERATOR"},{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"BAN"}]},{"resourceType":"LINK","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"MOVE_LINK"}]},{"resourceType":"CALENDAR","capabilities":[{"name":"READ"}]},{"resourceType":"DATABASE","capabilities":[{"name":"CREATE"},{"name":"READ_DATA"},{"name":"READ"}]},{"resourceType":"POLL","capabilities":[{"name":"READ"},{"name":"VOTE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"DELETE"},{"name":"CLOSE"}]},{"resourceType":"MESSAGE","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PENDING_MESSAGE","capabilities":[{"name":"READ"},{"name":"UPDATE"},{"name":"DELETE"}]},{"resourceType":"ATTACHMENTS","capabilities":[{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PHOTOMATIC_ALBUMS","capabilities":[{"name":"READ"},{"name":"UPLOAD"}]},{"resourceType":"MEMBERSHIP_TYPE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"DELETE"},{"name":"UPDATE"}]},{"resourceType":"POST","capabilities":[{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"READ"}]},{"resourceType":"PIN","capabilities":[{"name":"CREATE"},{"name":"DELETE"},{"name":"UPDATE"},{"name":"READ"}]}],"modStatus":"OWNER","subStatus":"NORMAL","groupUrl":"groups.yahoo.com","intlCode":"us"},"comscore":"pageview_candidate","ygData":{"usage":62492,"totalRecords":11591,"numTopics":2781,"prevPageStart":0,"nextPageStart":2,"numRecords":1,"lastRecordId":11591,"messages":[{"messageId":1,"threadLevel":0,"subject":"Welcome! (Please read)","author":"Martin Purdy","yahooAlias":"","email":"translate@paradise.net.nz","date":981588536,"parent":0,"hasAttachments":0,"length":2061,"topicInfoStatus":0,"nextTopic":2,"prevTopic":0,"topicLastRecord":1,"numRecords":1,"lastPosted":981588536,"topicStatus":0,"topicNextRecord":0,"topicPrevRecord":0,"topicFirstRecord":0,"digestNum":0,"firstRecInfoStatus":2,"recFirstNextTopic":0,"recFirstPrevTopic":0,"recFirstTopicLastRecord":0,"recFirstNumRecords":0,"recFirstLastPosted":0,"recFirstTopicStatus":0,"recFirstTopicNextRecord":0,"recFirstTopicPrevRecord":0,"recFirstTopicFirstRecord":0,"recFirstDigestNum":0,"summary":"Welcome to the Armstrong Siddeley Cars group at Yahoo!  This group is intended to be an open forum for the discussion of all things relating to A/S and related"}],"topicRecordId":0}}
7:46:21 PM Request: http://groups.yahoo.com/api/v1/groups/Siddeley/messages?start=0&count=1&sortOrder=desc&direction=-1&chrome=raw
7:46:21 PM HTTP status: TemporaryRedirect
7:46:21 PM Response: {"ygPerms":{"resourceCapabilityList":[{"resourceType":"GROUP","capabilities":[{"name":"READ"},{"name":"JOIN"}]},{"resourceType":"PHOTO","capabilities":[]},{"resourceType":"FILE","capabilities":[]},{"resourceType":"MEMBER","capabilities":[]},{"resourceType":"LINK","capabilities":[]},{"resourceType":"CALENDAR","capabilities":[]},{"resourceType":"DATABASE","capabilities":[]},{"resourceType":"POLL","capabilities":[]},{"resourceType":"MESSAGE","capabilities":[]},{"resourceType":"PENDING_MESSAGE","capabilities":[]},{"resourceType":"ATTACHMENTS","capabilities":[]},{"resourceType":"PHOTOMATIC_ALBUMS","capabilities":[]},{"resourceType":"MEMBERSHIP_TYPE","capabilities":[]},{"resourceType":"POST","capabilities":[]},{"resourceType":"PIN","capabilities":[]}],"groupUrl":"groups.yahoo.com","intlCode":"us"},"ygError":{"hostname":"gapi15.grp.bf1.yahoo.com","httpStatus":307,"errorMessage":"User does not have READ permission for MESSAGE. Me...","errorCode":1101,"sid":"SID:YHOO:groups.yahoo.com:59db9675066922a32542bc4eadc6257a:0"}}
9:46:21 PM Request: http://groups.yahoo.com/api/v1/groups/Siddeley/messages?start=0&count=1&sortOrder=desc&direction=-1&chrome=raw
9:46:21 PM HTTP status: TemporaryRedirect
9:46:21 PM Response: {"ygPerms":{"resourceCapabilityList":[{"resourceType":"GROUP","capabilities":[{"name":"READ"},{"name":"JOIN"}]},{"resourceType":"PHOTO","capabilities":[]},{"resourceType":"FILE","capabilities":[]},{"resourceType":"MEMBER","capabilities":[]},{"resourceType":"LINK","capabilities":[]},{"resourceType":"CALENDAR","capabilities":[]},{"resourceType":"DATABASE","capabilities":[]},{"resourceType":"POLL","capabilities":[]},{"resourceType":"MESSAGE","capabilities":[]},{"resourceType":"PENDING_MESSAGE","capabilities":[]},{"resourceType":"ATTACHMENTS","capabilities":[]},{"resourceType":"PHOTOMATIC_ALBUMS","capabilities":[]},{"resourceType":"MEMBERSHIP_TYPE","capabilities":[]},{"resourceType":"POST","capabilities":[]},{"resourceType":"PIN","capabilities":[]}],"groupUrl":"groups.yahoo.com","intlCode":"us"},"ygError":{"hostname":"gapi3.grp.bf1.yahoo.com","httpStatus":307,"errorMessage":"User does not have READ permission for MESSAGE. Me...","errorCode":1101,"sid":"SID:YHOO:groups.yahoo.com:5f749c20554d9c4966ffbbf8565cc29a:0"}}
11:46:21 PM Request: http://groups.yahoo.com/api/v1/groups/Siddeley/messages?start=0&count=1&sortOrder=desc&direction=-1&chrome=raw
11:46:21 PM HTTP status: TemporaryRedirect
11:46:21 PM Response: {"ygPerms":{"resourceCapabilityList":[{"resourceType":"GROUP","capabilities":[{"name":"READ"},{"name":"JOIN"}]},{"resourceType":"PHOTO","capabilities":[]},{"resourceType":"FILE","capabilities":[]},{"resourceType":"MEMBER","capabilities":[]},{"resourceType":"LINK","capabilities":[]},{"resourceType":"CALENDAR","capabilities":[]},{"resourceType":"DATABASE","capabilities":[]},{"resourceType":"POLL","capabilities":[]},{"resourceType":"MESSAGE","capabilities":[]},{"resourceType":"PENDING_MESSAGE","capabilities":[]},{"resourceType":"ATTACHMENTS","capabilities":[]},{"resourceType":"PHOTOMATIC_ALBUMS","capabilities":[]},{"resourceType":"MEMBERSHIP_TYPE","capabilities":[]},{"resourceType":"POST","capabilities":[]},{"resourceType":"PIN","capabilities":[]}],"groupUrl":"groups.yahoo.com","intlCode":"us"},"ygError":{"hostname":"gapi3.grp.bf1.yahoo.com","httpStatus":307,"errorMessage":"User does not have READ permission for MESSAGE. Me...","errorCode":1101,"sid":"SID:YHOO:groups.yahoo.com:d1ba1f3836f799806cb2e7db5f51bc2b:0"}}

Wilson Logan

OK have a look at the last successful message:

5:46:21 PM Request: http://groups.yahoo.com/api/v1/groups/Siddeley/messages?start=0&count=1&sortOrder=desc&direction=-1&chrome=raw
5:46:21 PM HTTP status: OK

and then the first failed message:

7:46:21 PM Request: http://groups.yahoo.com/api/v1/groups/Siddeley/messages?start=0&count=1&sortOrder=desc&direction=-1&chrome=raw
7:46:21 PM HTTP status: TemporaryRedirect


We have had an issue with the Files sections of some groups being unavailable due to redirects.

We fixed this in an as yet unreleased version (r859).

What it doesn't explain is how the other machine is still able to get messages when this one can't.







Wilson Logan

What happens when you try to login to your group using a browser?

martin_lists

Browser access is perfectly fine on this machine using the same login, and msgs are still being delivered by e-mail.  Odd!

Neither machine has been rebooted in a while so I may try that on my machine shortly, in case it makes any difference ...


martin_lists

A "go figure" moment - rebooting and refreshing and the message download worked this time!  I notice that attachment downloads are failing, though - that has happened in recent days too:

10:07:44 AM [Siddeley] Logging in with account
translateltd
10:08:06 AM [Siddeley] Downloaded and adding messages '11593' through '11606'.
10:08:19 AM File failed to download https://xa.yimg.com/kq/groups/2795069/or/298594300/name/IMG_1484.JPG to C:\Users\Martin\AppData\Local\PG Offline 4\Attachments\\IMG_1484.JPG. The remote server returned an error: (500) Internal Server Error.
10:08:19 AM One or more files failed to download for message number 11602
10:08:19 AM [Siddeley] Logging in with account
translateltd
10:08:19 AM Downloading completed.

Martin
NZ

Wilson Logan

Hi Martin,

I tried and got much the same thing. Then I deleted the message and tried again and got one too few attachments but not the same one as last time...

21:12:05 Getting list of user groups
21:12:05 User - evildrome_boozerama
21:12:57 Receiving messages for group Siddeley
21:12:57 [Siddeley] Logging in with account
evildrome_boozerama
21:13:19 [Siddeley] Downloaded and adding messages '11500' through '11600'.
21:13:40 File failed to download https://xa.yimg.com/kq/groups/2795069/or/1675887488/name/Cambridge.jpg to C:\Users\evildrome\AppData\Local\PG Offline 4\Attachments\Siddeley\Cambridge.jpg. The remote server returned an error: (500) Internal Server Error.
21:13:40 One or more files failed to download for message number 11522
21:16:16 [Siddeley] Downloaded and adding messages '11601' through '11606'.
21:16:21 Downloading completed.
21:18:36 Receiving messages for group Siddeley
21:18:36 [Siddeley] Logging in with account
evildrome_boozerama
21:18:40 [Siddeley] Downloaded and adding messages '11522' through '11522'.
21:18:57 File failed to download https://xa.yimg.com/kq/groups/2795069/or/204718056/name/Bedford.jpg to C:\Users\evildrome\AppData\Local\PG Offline 4\Attachments\Siddeley\Bedford-11522.jpg. The remote server returned an error: (500) Internal Server Error.
21:18:57 One or more files failed to download for message number 11522
21:19:08 Downloading completed.


So right now I'm not sure whats happening...

Cheers,

Wilson.



SMF spam blocked by CleanTalk