BryceMartin / cbloader

Automatically exported from code.google.com/p/cbloader
0 stars 0 forks source link

Crash/Freeze on Class View; "Specified argument was out of the range of valid values" #94

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Disclaimer: The following is how I recreate the problem, both ways with both 
outcomes. I assume most people don't have this issue, else

Using: Character Builder + October 2010 update, and then CBLoader with 
automatic update. Windows 7 x64, 8 GB RAM, plenty of CPU to spare.

I had this exact issue before after no real change to CBLoader or my computer 
that I'm aware of that might possibly affect things. I then cleaned out 
CBLoader and the base Character Builder, and reinstalled everything. At first 
it was working okay, but after a reboot (and CBLoader updating itself) the 
issue came back up.

To have CBLoader freeze (no error message)
1. Launch CBLoader
2. Select "Create New"
3. Click any class.
It will then "Not Responding," requiring a three-finger salute.

To have CBLoader crash (error message present)
1. Launch CBLoader
2. Select any already created character.
3. Go to the build tab, class, and select the character's class.
It will then pause for a short time (2-7 seconds) and then show a small popup 
saying "Specified argument was out of the range of valid values." (See 
screenshot) for only a small, small fraction of a second; not even time enough 
to pop up fully. (Had to use a screen recorder to read it, as seen in the 
attached screenshot). After a second or two a far, far larger popup appears--so 
large it spills off the screen, so I honestly can't tell how large it is. (See 
screenshot; again captured by a screen recorder, so sorry in advance about the 
quality)

As friends have this same Character Builder/CBLoader setup and aren't facing 
this issue, I'm not sure what's going wrong. As I'm the group's "tech guy" I 
don't have really anyone to turn to there.

Any help would be greatly appreciated.

Original issue reported on code.google.com by nexter...@gmail.com on 19 Oct 2011 at 1:05

Attachments:

GoogleCodeExporter commented 8 years ago
I removed Java from my machine, and updated to the current update, 29. I then 
removed the Character Builder from my machine. I re-installed the Character 
Builder, and then CBloader. I still have the issue-even before a reset-and now 
selecting any selection item (power, class, shop item, etc) creates either a 
freeze or the error. 

After I reset my computer, I noticed the following (it might have been there 
before the reset, I'm not sure): Most characters are showing up as the generic 
monster image, and post-official update classes (such as Blackguards) when 
viewed have no class-specific items selected, such as powers, with no options 
to select from.

Original comment by nexter...@gmail.com on 22 Oct 2011 at 3:24

GoogleCodeExporter commented 8 years ago
I also receive this error, and have created a post on EnemyOfFun's forum about 
it.  No solution found yet, but the error is being cause by something in the 
class .parts found in the WoTC zip.  This isnt due to anything from 3rd party 
or homebrew.  CBLoader and CBInstaller both end up crashing.  I cleaned out 
everything, uninstalled CB and CBL, reinstalled them, and error persists.  What 
I have noticed that ~might~ be the cause is that .Net 3.5 uninstalled itself 
from my machine.  I am unable to reinstall .Net 3.5 because .Net 4.0 is 
installed, and 3.5 doesnt want to share the same PC as 4.0 D:

Original comment by LuciusXR...@gmail.com on 8 Nov 2011 at 9:54

GoogleCodeExporter commented 8 years ago
I know this isn't overly helpful, but I managed to "fix" the problem with a 
complete OS re-install.

Original comment by nexter...@gmail.com on 9 Nov 2011 at 2:43

GoogleCodeExporter commented 8 years ago
I would prefer to not have to use that 'fix,' but at least there is a solution. 
 Just one question: After your OS re-install, what version of .Net Framework 
got installed? If you have 3.5 and not 4.0, then its probably a .Net issue.  If 
you have 4.0 after the reinstall, then I'm still clueless as to how and why 
this error started.

Original comment by LuciusXR...@gmail.com on 9 Nov 2011 at 8:50

GoogleCodeExporter commented 8 years ago
As it happens, I have v2.0.50727, v3.0, and v3.5, but no instance of 4.x.

So you seem to have something there, Lucius.

Do you need 4.0 on your machine for some application? If not, you could try 
taking it off there ( 
http://cid-27e6a35d1a492af7.skydrive.live.com/self.aspx/Blog_Tools/dotnetfx_clea
nup_tool.zip ) and putting 3.5 back on. ( 
http://www.microsoft.com/download/en/details.aspx?id=21 )

Keep me posted if you try that and it does or doesn't work; I'm a bit curious 
at this point.

Original comment by nexter...@gmail.com on 9 Nov 2011 at 10:10

GoogleCodeExporter commented 8 years ago
I apparently have 2.0SP2, 3.0SP2, 3.5SP1, and 4.0 installed atm.  What I find 
odd is that I cannot find any instance of 3.5 in my registry or program files.  
The only .Net I can find any trace of is 4.0.  Going to look into this more... 
I would prefer not to remove any .Nets if I can, but I would rather that than a 
full OS restore.

Original comment by LuciusXR...@gmail.com on 10 Nov 2011 at 12:34

GoogleCodeExporter commented 8 years ago
It seems Windows 7 comes pre-loaded with .Net 3.5 SP1.  It was never "removed" 
or "deactivated" on my machine.  I still ran the cleanup, which removed .Net 
4.0.  Gonna try CB and see if its fixed.  Not to sure this is gonna solve it 
though, since 3.5 was always there.

Original comment by LuciusXR...@gmail.com on 10 Nov 2011 at 3:13

GoogleCodeExporter commented 8 years ago
Holy ****!!! IT DIDNT CRASH!  I'm dumbfounded by this.  Something in .Net 4 may 
actually have been the problem.  Gonna confirm it by reinstalling .Net 4.  But 
yes: Removing .Net 4 does fix the problem.  Not only can I select all those 
glorious classes that were causing crashes, but I can also pull up character 
sheets AND load up my old characters that were crashing upon loading.  I'll 
post once more in a bit after I confirm if 4.0 is OK, and it was just a clean 
up was needed, or if 4.0 is the worst DNS ever.

Original comment by LuciusXR...@gmail.com on 10 Nov 2011 at 3:23

GoogleCodeExporter commented 8 years ago
SO after reinstalling .Net 4, CB crashes again and no longer loads up my 
characters. As awkward  as it seems, 4.0 is a problem and cannot be installed 
if you intend to continue using CBLoader.  Dunno why, but thats how it is.  It 
was a pleasure playing Geek Squad with you Nexterren.  Hopefully there is a way 
to allow us to use .Net 4 with CBL on the developer's side.

Original comment by LuciusXR...@gmail.com on 10 Nov 2011 at 3:39

GoogleCodeExporter commented 8 years ago
Celebrated too soon.  Looks like there may also be a 3rd party or homebrew part 
causing problems too.  Consider the case re-opened.  

Original comment by LuciusXR...@gmail.com on 10 Nov 2011 at 3:52

GoogleCodeExporter commented 8 years ago
Ignore my last post.  Seems to have been a one-time-"wtf just happened?" 
Running fine now with all parts added.  

Original comment by LuciusXR...@gmail.com on 10 Nov 2011 at 3:59

GoogleCodeExporter commented 8 years ago
Well it was a great pleasure Geek Squading with you, Lucius, although I fear we 
missed out on the amazingly dorky outfits. What a shame!

So it is .Net 4 framework? Hm.

Still think we should consider this issue left open, so the team might figure 
out and fix the issue, so people can update to 4 if they need to. 

Just my two copper coins.

Original comment by nexter...@gmail.com on 10 Nov 2011 at 4:42

GoogleCodeExporter commented 8 years ago
It might be more than .Net... but it also seems like 4.0 is ninja installing 
itself too.  I get CB to run properly most of the time now, but it still 
crashes on me every once in a while.  Still looking into it, but at the moment 
it seems that removing .Net will for the most part resolve it.

Original comment by LuciusXR...@gmail.com on 10 Nov 2011 at 4:45

GoogleCodeExporter commented 8 years ago
As unfortunate as this is, for whatever reason, my CB is crashing on me again.  
I have yet to determine why this is, but i might end up just reinstalling CB 
from scratch again and hope for the best.

Original comment by LuciusXR...@gmail.com on 10 Nov 2011 at 5:09

GoogleCodeExporter commented 8 years ago
Sorting through .parts: Conclusion: The error is probably caused by a homebrew 
one oddly enough.  With just WoTC.index and the .parts from 3rd party, 
everything runs fine.  Gonna go slow with the HB ones and see if i cant get 
this case solved.

Original comment by LuciusXR...@gmail.com on 10 Nov 2011 at 8:46

GoogleCodeExporter commented 8 years ago
So far so good.  Im about a third of the way through HomeBrew and have yet to 
crash.  

Original comment by LuciusXR...@gmail.com on 10 Nov 2011 at 11:34

GoogleCodeExporter commented 8 years ago
The problem might be due to adding too many things into character builder.  
Still havent confirmed it though.

Original comment by LuciusXR...@gmail.com on 10 Nov 2011 at 11:44

GoogleCodeExporter commented 8 years ago
I cant get a reliable solution for this.  I can get CB to work fine for a few 
runs, but then it begins crashing again, requiring a complete 
uninstall/reinstall, registry cleaning, and then it only works out half the 
time...
Starting to think it might not be .Net, or .Net might overwrite something 
critical to CB.

Original comment by LuciusXR...@gmail.com on 22 Nov 2011 at 3:52

GoogleCodeExporter commented 8 years ago
Only some of the class features are causing my Executioner to crash now.  When 
attempting to view "Red Scales", "Id Moss", or the 2nd lv15 poison(cant 
remember what it is... its not the one that adds 8 dmg or the one that causes 
the weakened status) CB crashes.  Other than that, it seems to run fine... For 
my Executioner at lease...

Original comment by LuciusXR...@gmail.com on 28 Nov 2011 at 10:14

GoogleCodeExporter commented 8 years ago
This is nolonger a CBLoader problem.  I ran CB (not CBL) and attempted to 
create an assassin, resulting in the above error message.  As I reinstall CB 
almost daily now, I am running out of ideas of what else I can do to fix it.  
Going to re-DL the installers for CB and try again,,,

Original comment by LuciusXR...@gmail.com on 29 Nov 2011 at 10:44

GoogleCodeExporter commented 8 years ago
Disabled .Net 3.5 -> restart required -> Enabled .Net 3.5 -> CB works fine.  
Might have been a registry problem, might have been .Net 4 (uninstalled prior 
to the repair of 3.5), whatever it was, I would recommend trying this if anyone 
else runs into this error.  As always, I'm keeping my eyes on this just in case 
teh error returns again

Original comment by LuciusXR...@gmail.com on 30 Nov 2011 at 12:13

GoogleCodeExporter commented 8 years ago
The above fix only fixes CB for a short time.  It will crash again.... 

Original comment by LuciusXR...@gmail.com on 2 Dec 2011 at 10:14

GoogleCodeExporter commented 8 years ago
For the executioner, it looks like ranged poisons cause the crash (among other 
things)

Original comment by LuciusXR...@gmail.com on 2 Dec 2011 at 10:52

GoogleCodeExporter commented 8 years ago
This bug is like the Terminator.

All in all, have we figured *anything* out about it?

Original comment by nexter...@gmail.com on 2 Dec 2011 at 11:04

GoogleCodeExporter commented 8 years ago
I think so.  I have reason to believe that when windows installs .Net 4 it 
deletes/overwrites/breaks something critical for .net 3.5.  So having any trace 
of .Net 4 breaks CB.  At least for me... but it would explain why a reinstall 
of 3.5 fixed things.  I told windows not to pre-load or ever install .Net 4 
anymore, and have yet to see this error since. (even though since is only like 
2 days...) Might have finally gotten a perma-fix.

Original comment by LuciusXR...@gmail.com on 6 Dec 2011 at 3:40

GoogleCodeExporter commented 8 years ago
Ok, so after removing .Net 4, telling windows to never try to install it ever 
again, uninstalling .Net 3.5, reinstalling .Net 3.5: I havent seen the error in 
2 weeks.  I think i finally got a fix.  Still not sure why, but something about 
.Net 4 overwrites or damages .Net 3.5.

Original comment by LuciusXR...@gmail.com on 11 Dec 2011 at 6:47

GoogleCodeExporter commented 8 years ago
Ok, so after removing .Net 4, telling windows to never try to install it ever 
again, uninstalling .Net 3.5, reinstalling .Net 3.5: I havent seen the error in 
2 weeks.  I think i finally got a fix.  Still not sure why, but something about 
.Net 4 overwrites or damages .Net 3.5.

Original comment by LuciusXR...@gmail.com on 11 Dec 2011 at 6:47