Gainedge / BetterExplorer

A Better Explorer is a filemanager replacement that adds several handy features for productive file management.
https://gainedge.org/better-explorer
Other
196 stars 52 forks source link

Crash on Startup #52

Closed xan2622 closed 12 years ago

xan2622 commented 12 years ago

Author : captivater Link : http://bexplorer.codeplex.com/workitem/17981


UPON STARTING APPLICATION, THE FOLLOWING ERROR OCCURS:

Unhandled Exception has occured in a component in your application.

Value cannot be null. Parameter name: pUnk

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

\ Exception Text ** System.ArgumentNullException: Value cannot be null. Parameter name: pUnk at System.Runtime.InteropServices.Marshal.GetObjectForIUnknown(IntPtr pUnk) at Microsoft.WindowsAPICodePack.Controls.WindowsForms.ExplorerBrowser.b__6() at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

\ Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.261 (RTMGDR.030319-2600)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

BetterExplorer Assembly Version: 2.0.0.861 Win32 Version: 2.0.0.861

CodeBase: file:///C:/Program%20Files%20(x86)/Better%20Explorer/BetterExplorer.exe

PresentationFramework Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.233

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll

WindowsBase Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.233 built by: RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll

System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.261 built by: RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

PresentationCore Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.233 built by: RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll

System.Xaml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.233 built by: RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

Fluent Assembly Version: 2.1.0.0 Win32 Version: 2.1

CodeBase: file:///C:/Program%20Files%20(x86)/Better%20Explorer/Fluent.DLL

System.Runtime.Remoting Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll

System.ComponentModel.Composition Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.Composition/v4.0_4.0.0.0__b77a5c561934e089/System.ComponentModel.Composition.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.276 built by: RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

Microsoft.WindowsAPICodePack.Shell Assembly Version: 1.1.0.0 Win32 Version: 1.1.0.0

CodeBase: file:///C:/Program%20Files%20(x86)/Better%20Explorer/Microsoft.WindowsAPICodePack.Shell.DLL

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.235 built by: RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

Microsoft.WindowsAPICodePack Assembly Version: 1.1.0.0 Win32 Version: 1.1.0.0

CodeBase: file:///C:/Program%20Files%20(x86)/Better%20Explorer/Microsoft.WindowsAPICodePack.DLL

WindowsFormsIntegration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll

Odyssey Assembly Version: 1.4.22.14656 Win32 Version: 1.4.22.35

CodeBase: file:///C:/Program%20Files%20(x86)/Better%20Explorer/Odyssey.DLL

UIControls Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0

CodeBase: file:///C:/Program%20Files%20(x86)/Better%20Explorer/UIControls.DLL

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.233 built by: RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

PresentationFramework.Aero Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll

Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

UIAutomationProvider Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll

NLog Assembly Version: 2.0.0.0 Win32 Version: 2.0.0.0

CodeBase: file:///C:/Program%20Files%20(x86)/Better%20Explorer/NLog.DLL

System.ServiceModel Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.233 built by: RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll

System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.237 (RTMGDR.030319-2300)

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

System.Runtime.Serialization Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

\ JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

GREAT IDEA GUYS, I WILL BE FOLLOWING THIS PROJECT AS IT PROGRESSES TOWARDS OPERATIONAL STATUS.

xan2622 commented 12 years ago

jacobrh94 wrote May 4 at 4:12 AM

I have come across this error every once in a while too. Are you using the 2.0.0.861 alpha release?

xan2622 commented 12 years ago

jacobrh94 wrote May 9 at 7:05 AM

Okay, you still have not replied to my comment... Try using the latest test build if you have not done so.

Otherwise, I'm not sure how I can help

xan2622 commented 12 years ago

DimitarCC wrote May 9 at 8:05 AM

Also please attach the log.txt located at installation dir. Otherwise we cant figure out your problem!

xan2622 commented 12 years ago

captivater wrote May 14 at 3:24 AM

Log.txt attached. Apologies for the delay in response time, the update was not emailed to the associated account

xan2622 commented 12 years ago

captivater wrote May 14 at 8:01 AM

Downloaded build 90219. Copied files to installation path and tried again but still the same crash. Attached is the updated log.txt.

xan2622 commented 12 years ago

jacobrh94 wrote May 14 at 10:13 AM

Okay... Your issue is rather odd...

Can you try the following?

  1. Open Windows Registry (open the Start menu and type "Regedit" and press Enter. Click "Yes" if a window appears.)
  2. On the left side of the Registry Editor, open the HKEY_CLASSES_ROOT folder. Then scroll down until you find "Folder" (without the period before it) and open it. Then open the "shell" folder, and open the "opennewwindow" folder, and finally, click on the "command" folder.
  3. On the right side, look for an entry called "DelegateExecute". What I want to know is if this entry is there, and, if so, what does it say?

Hope you reply soon.

JaykeBird

xan2622 commented 12 years ago

captivater wrote May 14 at 6:42 PM

Alrite Jayke. Apologies if this issue is unexpected and odd. Understandably, sometimes other programs change registry settings that might very well be their fault. That being said, I appreciate you taking your time to investigate a rather unusual occurrence.

When searching for the specific "opennewwindow" key in that registry tree proved fruitless. Within the ROOT_Folder_shell are three subfolders.

explore open opennewprocess

It seems a longshot for somebody so technically proficient, but could you perhaps be referring to opennewprocess?

I have attached jpgs of the different subcategories. (Only 1 file per attachment so they are contained within a .zip)

Thanks also for the prompt response.

Regards, Mike

xan2622 commented 12 years ago

jacobrh94 wrote May 15 at 4:42 PM

Actually, I was looking for "opennewwindow", and the fact that it does not exist is the cause of your problem.

The problem is happening because BetterExplorer is assuming this folder exists. I will change it to have it check to see if it exists. This fix will be in the next release.

JaykeBird

xan2622 commented 12 years ago

jacobrh94 wrote May 15 at 5:08 PM

Okay, a fix has been applied.

The next release should be out in the next couple of days, so just wait until then. :)

If any other problems occur, let us know! :)

JaykeBird

xan2622 commented 12 years ago

captivater wrote May 15 at 7:33 PM

Mr. Byrd,

Great news. Thanks. I'll continue looking forward to the next build. Although based on the expedience on which you responded to just this one bug, I wholeheartedly believe that day will come soon.

Gratitude

xan2622 commented 12 years ago

captivater wrote May 15 at 7:45 PM

Mr. Bird,

I knew there was a misplaced "y" but after searching through the issue tracker, I have realized it is in your first name. Thanks again

xan2622 commented 12 years ago

jacobrh94 wrote May 16 at 11:39 PM

Actually, my name is Jayke (well, my legal first name is Jacob) Huempfner, so you would call me Mr. Huempfner. Lol. JaykeBird is the name I use for all of my online accounts. That way, no matter what service you or anyone else uses, if the account name is JaykeBird, you know that it's me. :)

JaykeBird

xan2622 commented 12 years ago

jacobrh94 wrote May 16 at 11:40 PM

By the way, when the beta is released, please let me know if this issue still occurs!

JaykeBird

xan2622 commented 12 years ago

captivater wrote May 28 at 1:48 AM

Ha. Your recently posted release works beautifully. What a great creation. From the ribbon to the tabs to the Folder "Up" button! It's a champ. I'm implementing your program as my main program next to the Start logo. Also for my folks' machines. Thanks man.

Aside from the awesomeness, a few cosmetic choices stand out, particularly with the tab bar:

  1. The first tab is misaligned from the left of the program window.
  2. The black line running on the underside of the tabs might look better were it to match the light blue lines within explorer.

There also exists the desire to set BE as the default program to open folders double clicked on from the desktop. Personally, this is a non-issue; but for my less technically savvy parents, the discrepancy might further confuse their ability to interact with two different UIs. Can we look forward to that function in future releases? Is that even possible?

Also, drag and drop between tabs... Surely you all are already working on that.

Let me just reiterate the impressive achievement you guys have accomplished in bringing core tasks to less intuitive, tabs for the patient hopefuls, and the up button for us all. The speed in which you've responded to the initial issue is much appreciated. When my folks have been using the program for a while, I will get their opinions and report them here.

Lastly, where are you guys accepting donations?

xan2622 commented 12 years ago

jacobrh94 wrote May 28 at 6:25 AM

Greetings. You know, it really brought a smile to my face to read such a nice comment. :) It's been a lot of work for both me and Dimitar, but we are both happy about the progress we've made.

And about the differences:

  1. Open the Start menu and type "Folder Options". Open that up and then switch over to the View or Search tabs. Now, look at the General tab (the one furthest to the left). This issue is related to the tab control that is used. Dimitar might be able to look into changing it though for our case.
  2. I can't really change that line at all. I tried looking everywhere, and I don't know what caused it. It might be the tab control, actually... So again, that's something I'll have to talk to Dimitar about. ... Okay, this line is going to bother me now... Lol.
  3. I know that the default setting thing is half-implemented. The thing is that Windows Explorer is so far embedded into Windows itself that it's hard for us to really change that. Again, I'll talk to Dimitar though.
  4. The drag-and-drop between tabs already exists. Functionality was added to allow it on the breadcrumb bar as well. (Same as Windows 8.)

Thanks again for the kind words! In my opinion, it seems a bit over-glorified, but what can I say? I'm a humble guy... Lol. I'll be glad to hear their opinions when you post them.

And about the donations thing... Honestly, I do this work for free. I didn't go into this expecting money, and I don't go around trumpeting "Hey, I'm accepting donations! Remember to donate! I want money!" and what-not because I'm not some jerk that's constantly sitting there trying to make money off of stuff, especially open-source software like this. Anyway, enough ranting. I'll ask Dimitar what to do about the donations thing, because honestly, no one's asked about it before.

JaykeBird

xan2622 commented 12 years ago

xanax wrote May 28 at 9:35 AM

If there are donations, I think you should accept them Jayke.

They could give you the opportunity to buy a new LCD screen (maybe a touchscreen LCD ! I am sure we will see more of them in the future, because of Windows8) or to buy new components for your computer..

It's never bad to be rewarded

xan2622 commented 12 years ago

jacobrh94 wrote May 28 at 10:01 AM

Alright, I have talked with Dimitar.

  1. This issue has been resolved. It will be in the beta release.
  2. We tried everything we could, but we haven't found the cause.
  3. Unfortunately, this cannot be changed further, or the Control Panel will be broken.

Also, Dimitar and I both decided that we will not be open for accepting donations. It's a really flattering gesture, but it would be too hard for us to split any money (we're in different countries) and we don't want to give off the wrong impression.

Besides, xanax , I wouldn't expect enough money to really make a big purchase like that anyway.

JaykeBird

xan2622 commented 12 years ago

jacobrh94 wrote May 28 at 10:03 AM

To me, what is rewarding is seeing all the nice comments that people post about this program, and being able to fix people's problems.

That's one of the biggest rewards you can get: feeling like you've helped someone. :)

JaykeBird

xan2622 commented 12 years ago

captivater wrote May 28 at 8:39 PM

Glad to know it Jayke, everybody deserves to smile now and again.

Firstly, with your first tab switching directive. Wow! Epiphany moments are too much fun. What a weird UI decision by Microsoft.

It is upsetting to hear you all aren't accepting donations : (

As you all are well aware, not everybody can spare $10 here or there. The guy who develops a most helpful font explorer, NexusFont, posts his donors names on a web page. I donated to him around Christmas, and after checking recently, my name is still the last on the donor list : (

What has been a strange experience is BE seems to have updated itself. Drag and drop wasn't functioning. I then took a breather, and upon resuming work, the function appears to have spontaneously begun working?!? Perhaps a restart was necessary. I will continue monitoring that...

Moving on, I couldn't thank you guys enough. Granted, I've grown into a recluse now in my early 20s; I will be sharing your program with those whom I can help.

Thanks and Happy Memorial Day!

xan2622 commented 12 years ago

jacobrh94 wrote May 28 at 10:52 PM

Lol. Hey, I'm a pretty happy guy most of the time, actually... :D

And at least we were able to make the first tab align with the left edge. I'm sure that that UI decision was more based upon the thought that the tab control would be used for something like option dialogs or something like that, not for tabbed applicatons like BetterExplorer.

And I'm not doing this work for money. I'm doing this work because I want to. Money doesn't really bring the same joy to me as seeing people being happy with the things I made. Other people might welcome - and enjoy - donations, but I would feel guilty about accepting money.

And I looked back at build 86414, made on February 14, before I joined this project, and the drag-and-drop functionality was there. But sometimes BetterExplorer is weird like that... Lol.

And, well, you're welcome... :) I'm only a junior in high school, so I have a lot to look forward to in life still, but I'm glad I could be a part of this project. :)

JaykeBird

xan2622 commented 12 years ago

Closed May 31 at 3:55 PM by jacobrh94

I am assuming this issue is resolved. If not, then leave a comment here and we will re-open this issue.

JaykeBird