Welcome! Log In Create A New Profile

Advanced

UNCAUGHT EXCEPTION - HOW TO FIX

Posted by ineedalifetoday 
UNCAUGHT EXCEPTION - HOW TO FIX
May 04, 2010 06:51PM
Below are a list of Uncaught Exceptions - And how to fix them

If your error matches an image, please do not report these .. we know about them ..

I am using a variety of different PeerBlock versions in the images. If part of your error says " File .\listproc.cpp " then look for the image with " File .\listproc.cpp " and follow the instructions below that image. Note: the Line: number (where shown) may vary by version.

You can also find the "Type" of your error message in the list below and click on the matching link to find a specific solution in this topic or (where that does not exist) a search link for matching topics.

-------------------------------------------------------------------------------------------------------------
Type: (none)
Line: 1180
[forums.peerblock.com]
-------------------------------------------------------------------------------------------------------------
Type: class p2p::p2p_error
[forums.peerblock.com]
-------------------------------------------------------------------------------------------------------------
Type: class path_error
[forums.peerblock.com]
-------------------------------------------------------------------------------------------------------------
Type: class sqlite3x::database_error
[forums.peerblock.com]
-------------------------------------------------------------------------------------------------------------
Type: class std::runtime_error

Message: unable to parse configuration
[forums.peerblock.com]

Message: bad locale name
[forums.peerblock.com]
-------------------------------------------------------------------------------------------------------------
Type: class utf8_error
[forums.peerblock.com]
-------------------------------------------------------------------------------------------------------------
Type: class zip_error
[forums.peerblock.com]
-------------------------------------------------------------------------------------------------------------
Type: class win32_error
Title: Unable to load packet filtering driver
Function: StartService
Error code: 5
Message: Access is denied.
[forums.peerblock.com]
-------------------------------------------------------------------------------------------------------------
Type: class win32_error

This Type is also associated with many other Function names.

A search for the Type [forums.peerblock.com] will find topics dealing with nearly all of them (about 4 pages of results, newest first).

The following is a list of Function names. For better targeted (but possibly less complete) results, search for the name or a part of the Message text. Many topics returned will contain the exact explanation/fix; the rest will often have advice or some suggestion(s) but, unfortunately, little or no indication as to what - if anything - worked.

1. Function: CreateFile

        Error code: 32
        Message: The process cannot access the file
                                because it is being used by another process.

2. Function: CreateService

        Error code: 1072
        Message: The specified service has been marked for deletion.

3. Function: DeviceIoControl

        Error Code: 6
        Message: The handle is invalid.

        Error Code: 1450
        Message: Insufficient system resources exist to complete the requested service.

4. Function: FwpmTransactionBegin0

        Error code: 2150760466
        Message: The call timed out while waiting to acquire the transaction lock

5. Function: MoveFileEx

        Error Code: 5
        Message: Access is denied.

        Error Code: 1392
        Message: The file or directory is corrupted and unreadable

6. Function: OpenService

        Error code: 1060
        Message: The specified device does not exist as an installed device

7. Function: SearchPath

        Error code: 2
        Message: The system cannot find the file specified.

8. Function: StartService

        Error code: 2
        Message: The system cannot find the file specified.

        Error code: 23
        Message: Data error (cyclic redundancy check)

        Error code: 31
        Message: A device connected to the system is not working.

        Error code: 193
        Message: Unknown

        Error code: 1058
        Message: The service cannot be started, either because it is disabled
                                or because it has no enabled devices associated with it.

        Error code: 1059
        Messagge: Circular Service Dependancy

        Error code: 1068
        Message: The dependency service or group failed to start.

        Error code: 1275
        Message: The driver has been blocked from loading

        Error code: 1314
        Message: A required priviledge is not held by the client

        Error code: 2001
        Message: The specified driver is invalid
-------------------------------------------------------------------------------------------------------------



Edited 49 time(s). Last edit at 02/01/2014 05:02AM by fxm.
UNCAUGHT EXCEPTION - HOW TO FIX
September 22, 2010 10:05PM
-------------------------------------------------------------------------------------------------------------
class path_error
-------------------------------------------------------------------------------------------------------------




and




This error can mean multiple things.

- You could have duplicate lists.

OR

- Anti-virus/Anti-malware software is scanning the lists while PeerBlock is trying to use them.
Try adding PeerBlock to your exemption list inside your anti-virus/anti-malware software.

---

If it's a duplicate lists, follow the instructions below.
This can be fixed by doing ONE of the following options.

Option One
1. Look through your lists and make sure you do not have the same URL's


Option Two

** Warning this is intended to convert all know list URL's into iblocklist URL's **
Example:
" bluetack.co.uk/config/ads-trackers-and-bad-pr0n.gz "
into
" list.iblocklist.com/lists/bluetack/ads-trackers-and-bad-pr0n "
** If you do not wish to do this, please do Option One **

BEFORE running Option Two (Using PeerGuardian as it shows all the lists's URL's )



-----------------------------------------------------------------------


AFTER running Option Two ( Using PeerBlock )




1. Make sure PeerBlock is closed
2. Go to your PeerBlock install folder (C:\Program Files\PeerBlock)
3. Open your "peerblock.conf" (This can be done by Right clicking it -> Open -> And selecting Notepad)
4. Look at the image below and change the highlighted number to a number between 135 and 267



5. Click File -> Save
6. Close out of the file
7. Restart PeerBlock and you will receive a message like this



8. Click Yes.
9. You're Done



Edited 5 time(s). Last edit at 07/22/2012 11:36PM by ineedalifetoday.
Re: UNCAUGHT EXCEPTION - HOW TO FIX
September 22, 2010 10:06PM
-------------------------------------------------------------------------------------------------------------
class std::runtime_error
Message: unable to parse configuration
-------------------------------------------------------------------------------------------------------------



This error means that your " peerblock.conf " is corrupted
There is currently no way to fix than other than to Update to the latest PeerBlock 1.0+ Beta.
The current Beta version of PeerBlock is set to create a back-up your your config, and if the main config is corrupted, PeerBlock will load the back-up, preventing this error from happening.



Edited 1 time(s). Last edit at 09/06/2013 05:09PM by fxm.
Re: UNCAUGHT EXCEPTION - HOW TO FIX
January 28, 2011 12:41PM
-------------------------------------------------------------------------------------------------------------
class p2p::p2p_error
Message: invalid p2b stream
-------------------------------------------------------------------------------------------------------------


This Message: has three sub-types ['name count expected', 'name expected', 'range expected']. They all mean that your "cache.p2b" file is corrupted.

1. Make sure PeerBlock is closed.
2. Delete the file "cache.p2b" in your PeerBlock install folder ( "C:\Program Files\PeerBlock" is the default location); do NOT delete anything else.
3. Done.
4. Restart PeerBlock

-------------------------------------------------------------------------------------------------------------
class p2p::p2p_error
Message: unable to open file
-------------------------------------------------------------------------------------------------------------


This Message: doesn't have a confirmed fix yet. Sorry sad smiley



Edited 7 time(s). Last edit at 11/22/2013 06:44AM by fxm.
Re: UNCAUGHT EXCEPTION - HOW TO FIX
January 28, 2011 12:41PM
-------------------------------------------------------------------------------------------------------------
class utf-8 error
-------------------------------------------------------------------------------------------------------------



This Message: (utf-8 not convertable to utf-16) means that your "cache.p2b" could be corrupted.

1. Make sure PeerBlock is closed.
2. Delete "cache.p2b" located in your PeerBlock install folder. ( C:\Program Files\PeerBlock ).
3. Done.
4. Restart PeerBlock

If this does not work, just create a thread



Edited 2 time(s). Last edit at 11/21/2013 11:34AM by fxm.
Re: UNCAUGHT EXCEPTION - HOW TO FIX
August 14, 2013 10:54PM
-------------------------------------------------------------------------------------------------------------
Line 1180
-------------------------------------------------------------------------------------------------------------



Reports of this error message usually come in bunches when a list is corrupted/broken.

** For example, the last time it was the "General Corporate Ranges" list created by "TBG" -- 15 Aug 2013 **

Note: the following steps will be quite tedious, especially if you have many lists. Attempting to download the list(s) in question may make the problem go away without having to do anything else, so try that first. The problem list(s) may be fixed before you can complete this procedure, so you might just try waiting a while before continuing.

A. Determine whether a current list is failing.

1. Close PeerBlock
2. Goto "C:\Program Files\PeerBlock\list" and delete all lists except permallow/permblock
3. Start PeerBlock
4. If the error still exists then it's one of the current lists.

B. Determine which list it is [this may be tedious and annoying]

1. Delete the lists again except permallow/permblock
2. Disconnect from the internet [so no list downloads are possible]
3. Start PeerBlock
4. Go into the list manager, disable everything except permallow/permblock
5. Reconnect to the internet
6. Enable one list and update it
7. Repeat step 6 until the error occurs [if it does]

When/If you hit a broken list, PLEASE report the name of the list in the Support forum here, or on our IRC channel via [webchat.freenode.net] or at iblocklist.com [or wherever the list originated].



Edited 9 time(s). Last edit at 04/02/2014 02:28PM by fxm.
Re: UNCAUGHT EXCEPTION - HOW TO FIX
August 14, 2013 10:55PM
-------------------------------------------------------------------------------------------------------------
class sqlite3x::database_error
-------------------------------------------------------------------------------------------------------------



and



and



and



Whether this exception Type/class occurs with a Message shown above or with a similar one that isn't listed here, it means that your "history.db" (the file that stores all your blocks/allows history) has become corrupted.

--
Possible causes:
Harddrive/CPU under heavy load. (This happened to one of the users while doing video editing or something)
Anti-virus software real time protection (You can put PeerBlock.exe and the PeerBlock directory ("C:\Program Files\PeerBlock") on the exception list)
History.db file growing to some outrageous size (19 GB for example (This happened to one of the users))
The drive is actually malfunctioning
--

This can be fixed by doing the following:

A. For PeerBlock 1.1 or newer.

1. Make sure PeerBlock is closed.
2. Go to your PeerBlock install folder ( C:\Program Files\PeerBlock )
3. Delete the "history.db"
4. Run PeerBlock.
5. Go to the Settings Tab.
6. History Group
7. Pick ANY options
8. Set "History Size" to a reasonable value. I recommend anything between 50-100.

Please look at the image below, I have highlighted in red what to change.



8. Click Save
9. You're Done.

B. For PeerBlock 1.0 or older (which you should NOT be using)

1. Make sure PeerBlock is closed.
2. Go to your PeerBlock install folder ( C:\Program Files\PeerBlock )
3. Delete the "history.db"
4. Run PeerBlock
5. Go to the Settings Tab
6. History Group

First drop-down list

Pick one of the following ( I recommend " Log None " as it stops the issue permanently )

-Log None
-Log Allowed
-Log Blocked
-Log Allowed & Blocked

Second drop-down list

Pick one of the following
-Remove
-Archive & Remove

7. Click Save
8. You're Done



Edited 8 time(s). Last edit at 11/18/2013 08:51AM by fxm.
fxm
Re: UNCAUGHT EXCEPTION - HOW TO FIX
December 07, 2013 08:34AM
This class comes in two flavors: one with two different [not particularly informative] Message: fields, the other with one generic [and even less informative] Message: field.

-------------------------------------------------------------------------------------------------------------
class zip_error
Message: SzArchiveOpen
-------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------
class zip_error
Message: SzExtract
-------------------------------------------------------------------------------------------------------------

Aside from the fact that each Message: is evidently complaining about a problem trying to open a packed list just downloaded, the only help presently available is this search link
[forums.peerblock.com]
which will take you to prior discussions of these two issues.

-------------------------------------------------------------------------------------------------------------
class zip_error
Message: unable to open file
-------------------------------------------------------------------------------------------------------------



This Message: doesn't have a confirmed fix yet; in fact, there hasn't even been any discussion to locate with a search. Sorry sad smiley



Edited 5 time(s). Last edit at 12/07/2013 11:58AM by fxm.
Sorry, you can't reply to this topic. It has been closed.

Online Users

Guests: 34
Record Number of Guests: 215 on November 08, 2012