BugNET

Open source issue tracking & project management
Welcome to BugNET Register | Login |

BugNET Forums

 
  Forum  Support  Upgrading probl...  Upgradation Error - By Clicking on All Issues/Road Map/Change Log
Previous Previous
 
Next Next
New Post 3/11/2008 9:20 AM
User is offline sachintala
1 posts
No Ranking


Upgradation Error - By Clicking on All Issues/Road Map/Change Log 

Unable to cast object of type 'System.DBNull' to type 'System.String'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.String'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.String'.]
   BugNET.DataAccessLayer.BugFactory.Create(IDataReader dr) +1900
   BugNET.DataAccessLayer.GenericDataAccessLayer.GetBugsByCriteria(Int32 projectId, Int32 componentId, Int32 versionId, Int32 typeId, Int32 priorityId, Int32 statusId, String assignedToUserName, Int32 resolutionId, String keywords, Boolean excludeClosed, String reporterUserName, Int32 fixedInVersionId) +1255

[ApplicationException: An error has occured in accessing the database]
   BugNET.DataAccessLayer.GenericDataAccessLayer.GetBugsByCriteria(Int32 projectId, Int32 componentId, Int32 versionId, Int32 typeId, Int32 priorityId, Int32 statusId, String assignedToUserName, Int32 resolutionId, String keywords, Boolean excludeClosed, String reporterUserName, Int32 fixedInVersionId) +1325
   BugNET.BusinessLogicLayer.Bug.GetBugsByCriteria(Int32 projectId, Int32 componentId, Int32 versionId, Int32 typeId, Int32 priorityId, Int32 statusId, String assignedToUserName, Int32 resolutionId, String keywords, Boolean excludeClosed, String reporterUserName, Int32 fixedInVersionId) +90
   BugNET.BugNavigator.BindBugsFromQueryString() +837
   BugNET.BugNavigator.Page_Load(Object sender, EventArgs e) +300
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   BugNET.UserInterfaceLayer.BasePage.OnLoad(EventArgs e) +9
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436

 
New Post 3/20/2008 7:16 AM
User is offline admin
641 posts
bugnetproject.com
1st Level Poster




Re: Upgradation Error - By Clicking on All Issues/Road Map/Change Log 

There is a null value in bug table. This is sometimes cause by an issue in which maybe a user was deleted that had touched that issue.  It may be hard to find but the issue detail screen for that particular issue will also error narrowing it down.


Davin Dubeau
BugNET - Core Developer

 
Previous Previous
 
Next Next
  Forum  Support  Upgrading probl...  Upgradation Error - By Clicking on All Issues/Road Map/Change Log

Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.