Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Error when try to see 'All issues'

web-app

We had to rebuild our intranet server, I had to reinstall Gemini all was OK

Using Gemini 2.2.7

I can login and add issue

But when i am pressing the 'All issues' for the project or 'Issues' at the top when the project open I am getting this error:

Server Error in '/Gemini' Application.

No row with the given identifier exists: 6, of class: CounterSoft.Gemini.Commons.ComponentEN

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: NHibernate.UnresolvableObjectException: No row with the given identifier exists: 6, of class: CounterSoft.Gemini.Commons.ComponentEN

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:

[UnresolvableObjectException: No row with the given identifier exists: 6, of class: CounterSoft.Gemini.Commons.ComponentEN]
   NHibernate.UnresolvableObjectException.ThrowIfNull(Object o, Object id, Type clazz) +55
   NHibernate.Impl.SessionImpl.InternalLoad(Type clazz, Object id, Boolean eager, Boolean isNullable) +72
   NHibernate.Type.EntityType.ResolveIdentifier(Object id, ISessionImplementor session) +37
   NHibernate.Type.EntityType.ResolveIdentifier(Object id, ISessionImplementor session, Object owner) +55
   NHibernate.Impl.SessionImpl.InitializeEntity(Object obj) +188
   NHibernate.Loader.Loader.InitializeEntitiesAndCollections(IList hydratedObjects, Object resultSetId, ISessionImplementor session) +226
   NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +692
   NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +67
   NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) +51
   NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor session, QueryParameters queryParameters) +18
   NHibernate.Loader.Loader.List(ISessionImplementor session, QueryParameters queryParameters, ISet querySpaces, IType[] resultTypes) +81
   NHibernate.Impl.SessionImpl.Find(CriteriaImpl criteria, IList results) +326
   NHibernate.Impl.SessionImpl.Find(CriteriaImpl criteria) +39
   NHibernate.Impl.CriteriaImpl.List() +15
   CounterSoft.Gemini.DataProvider.xc0186e148e957052.x3ea65f25dee0cd51(IssuesFilterEN x24b748b5be295dcb, Boolean xd395797a128c659a, Int32 x397f472db7f522d1) +185
   CounterSoft.Gemini.Business.x95da312ae9372c2e.x3ea65f25dee0cd51(IssuesFilterEN x24b748b5be295dcb) +3510
   CounterSoft.Gemini.Business.x95da312ae9372c2e.GetPagedFilteredIssues2(IssuesFilterEN ifeFilter, Int32 iStartPage, Int32 iPageSize, Int32& iTotalIssues, Int32& iStartIndex, Int32& iEndIndex) +97
   CounterSoft.Gemini.Business.x95da312ae9372c2e.xa91f976c95cc24f6(IssuesFilterEN x24b748b5be295dcb, Int32 x6085dd2d6dae9673, Int32 x870a8f396af517a1, Int32& x42a948eff01be1b6, Int32& x8c5725b36c3fef30, Int32& x93a2c901eb10cf80) +21
   CounterSoft.Gemini.IssuesWeb.BindData() +791
   CounterSoft.Gemini.IssuesWeb.Page_Load(Object sender, EventArgs e) +979
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   CounterSoft.Gemini.Business.BasePage.OnLoad(EventArgs e) +4
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

 

 

 

talbengal
· 1
talbengal
Replies (6)
helpful
0
not helpful

It seems like you have some issues with component id of 6. This component does not exist in the component table.

I am not sure why is this, but can it be that the SQL database needs recovering?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

What is the component id 6?

Is it a field missing from what table?


talbengal
· 1
talbengal
helpful
0
not helpful

No, it is a value in the issue components table.

Have a look at the contents of the table and see you have rows with the component id of 6.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Yes in the table issuecomponent there are 1208 rows with Componentid of 6:

 

select * from issuecomponent where componentid=6

(1208 row(s) affected)

 


talbengal
· 1
talbengal
helpful
0
not helpful

Exactly, and there are no such component in the components table.

That is the issue. You will have to change these issue to another, existing component.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Thanks thats work OK;

update issuecomponent set componentid=7 where componentid=6;

 


talbengal
· 1
talbengal