Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.0.6.1] Member Bookmark search draws blank if target user has less than ~48 bookmarks #24

Closed
Akio-kun opened this issue Jul 22, 2014 · 3 comments

Comments

@Akio-kun
Copy link

This one is probably a small bug in the search on the bookmark page; image galleries with less than 1 full page of submissions load fine in the member image search. Searching for a user whose bookmarks number approximately less than the 1-page limit of 48, returns nothing. The loading data box comes up for a minute, but the returned results are just a reload of the last search page contents, with no error message or even reappearance of the previous search term which still matches the screen results (which made me overlook it the first time it happened).

(Note that I don't know the exact submission threshold, but a user with 50 BMs worked fine, and all those up to 40 didn't, so it's my operating assumption).

When searching immediately in a freshly-opened program instance, a substantial technical error pops up in a dialog and the log file.

Log: [Dumping member page to: Dump for Member 1226 Mode Bookmark.html
2014-07-22 01:11:15,290 ERROR [    1] - Application Unexpected Error: ]

Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at NijieDownloader.UI.MemberPage.<>c__DisplayClass3.<ExecuteGetMemberCommand>b__2(MemberPage y)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)  

When clicking OK, it is followed immediately by a screen-spanning program exception, which causes the program to crash fatally after clicking ok. [a few prefatory lines appearing only in the log are marked in brackets]

http://pastebin.com/W77eCkXY

@Akio-kun Akio-kun changed the title [1.0.6.1] Member Bookmark search draws blank is target user has less than ~48 bookmarks [1.0.6.1] Member Bookmark search draws blank if target user has less than ~48 bookmarks Jul 22, 2014
@Nandaka
Copy link
Owner

Nandaka commented Jul 22, 2014

can you give me the member ids, so I can check it out?

@Akio-kun
Copy link
Author

Akio-kun commented Aug 3, 2014

Seems to load correctly and display correct total number of bookmarks in 1.0.7.0

@Akio-kun Akio-kun closed this as completed Aug 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants