fara / bicsw

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

Eliminar Proyecto - BUG - Hibernate #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
cuando elimino un proyecto con cosas adentro me tira un error de hibernate.
Pego el Error:

Hibernate operation: Could not execute query; uncategorized DataException
for SQL []; ErrorCode [<no error code>]; No row with the given identifier
exists: 29, of class: Bic.Domain.Atributo 
Descripción: Excepción no controlada al ejecutar la solicitud Web actual.
Revise el seguimiento de la pila para obtener más información acerca del
error y dónde se originó en el código. 

Detalles de la excepción: Bic.Framework.Exception.ServiceException:
Hibernate operation: Could not execute query; uncategorized DataException
for SQL []; ErrorCode [<no error code>]; No row with the given identifier
exists: 29, of class: Bic.Domain.Atributo

Error de código fuente: 

Línea 29:          {
Línea 30:              LOG.Error(ex.Message);
Línea 31:              throw new ServiceException(ex.Message);
Línea 32:          }
Línea 33:      }

Archivo de origen: C:\bic\Bic.Framework\Aspects\ExceptionAdvice.cs   
Línea: 31 

Seguimiento de la pila: 

[ServiceException: Hibernate operation: Could not execute query;
uncategorized DataException for SQL []; ErrorCode [<no error code>]; No row
with the given identifier exists: 29, of class: Bic.Domain.Atributo]
   Bic.Framework.Aspects.ExceptionAdvice.Invoke(IMethodInvocation
invocation) in C:\bic\Bic.Framework\Aspects\ExceptionAdvice.cs:31
   Spring.Aop.Framework.AbstractMethodInvocation.Proceed()
   Bic.Framework.Aspects.LoggingAdvice.Invoke(IMethodInvocation invocation)
in C:\bic\Bic.Framework\Aspects\LoggingAdvice.cs:40
   Spring.Aop.Framework.AbstractMethodInvocation.Proceed()
   Spring.Aop.Framework.DynamicProxy.AdvisedProxy.Invoke(Object proxy,
Object target, Type targetType, MethodInfo targetMethod, Object[] args,
IList interceptors)
   CompositionAopProxy_db0c4014a425479798460f9745a58e46.Delete(Int64 id) +207
   Bic.Web.ListaProyecto.dgProyectos_ItemCommand(Object sender,
DataGridCommandEventArgs e) in C:\bic\Bic.Web\ListaProyecto.aspx.cs:89
   System.Web.UI.WebControls.DataGrid.OnItemCommand(DataGridCommandEventArgs e)
   System.Web.UI.WebControls.DataGrid.OnBubbleEvent(Object source, EventArgs e)
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
   System.Web.UI.WebControls.DataGridItem.OnBubbleEvent(Object source,
EventArgs e)
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
   System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e)

System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePo
stBackEvent(String
eventArgument)
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument)
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   System.Web.UI.Page.ProcessRequestMain()

Original issue reported on code.google.com by fernando...@gmail.com on 19 Oct 2007 at 3:37

GoogleCodeExporter commented 9 years ago

Original comment by farame...@gmail.com on 20 Oct 2007 at 9:06