Acessibilidade   |   Aumentar Fonte   |   Contraste   |  



Server Error in '/' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

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:


[NullReferenceException: Object reference not set to an instance of an object.]
   NHibernate.Linq.Visitors.WhereJoinDetector.VisitMemberExpression(MemberExpression expression) +61
   NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) +61
   Remotion.Linq.Clauses.Expressions.PartialEvaluationExceptionExpression.VisitChildren(ExpressionTreeVisitor visitor) +60
   NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) +61
   Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitMethodCallExpression(MethodCallExpression expression) +73
   NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) +61
   Remotion.Linq.Clauses.Expressions.PartialEvaluationExceptionExpression.VisitChildren(ExpressionTreeVisitor visitor) +60
   NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) +61
   Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression) +85
   NHibernate.Linq.Visitors.WhereJoinDetector.VisitBinaryExpression(BinaryExpression expression) +55
   NHibernate.Linq.Visitors.WhereJoinDetector.VisitExpression(Expression expression) +61
   Remotion.Linq.Clauses.WhereClause.TransformExpressions(Func`2 transformation) +56
   NHibernate.Linq.Visitors.WhereJoinDetector.Transform(WhereClause whereClause) +117
   Remotion.Linq.QueryModelVisitorBase.VisitBodyClauses(ObservableCollection`1 bodyClauses, QueryModel queryModel) +261
   Remotion.Linq.QueryModelVisitorBase.VisitQueryModel(QueryModel queryModel) +82
   NHibernate.Linq.Visitors.QueryModelVisitor.GenerateHqlQuery(QueryModel queryModel, VisitorParameters parameters, Boolean root) +231
   NHibernate.Linq.NhLinqExpression.Translate(ISessionFactoryImplementor sessionFactory, Boolean filter) +242
   NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory.CreateQueryTranslators(IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 filters, ISessionFactoryImplementor factory) +58
   NHibernate.Engine.Query.QueryPlanCache.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow, IDictionary`2 enabledFilters) +416
   NHibernate.Impl.AbstractSessionImpl.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow) +158
   NHibernate.Impl.AbstractSessionImpl.CreateQuery(IQueryExpression queryExpression) +139
   NHibernate.Linq.DefaultQueryProvider.PrepareQuery(Expression expression, IQuery& query, NhLinqExpression& nhQuery) +124
   NHibernate.Linq.DefaultQueryProvider.Execute(Expression expression) +37
   NHibernate.Linq.DefaultQueryProvider.Execute(Expression expression) +25
   Sino.Siave.Controllers.BaseController.CarregarPermissoes(Boolean sobrescrever) +639
   Sino.Siave.Controllers.BaseController.OnActionExecuting(ActionExecutingContext filterContext) +2523
   Sino.Siave.Controllers.DocumentosController.OnActionExecuting(ActionExecutingContext filterContext) +26
   System.Web.Mvc.Async.AsyncControllerActionInvoker.InvokeActionMethodFilterAsynchronously(IActionFilter filter, ActionExecutingContext preContext, Func`1 nextInChain) +99
   System.Web.Mvc.Async.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__31(AsyncCallback asyncCallback, Object asyncState) +272
   System.Web.Mvc.Async.WrappedAsyncResult`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +169
   System.Web.Mvc.Async.AsyncControllerActionInvoker.BeginInvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters, AsyncCallback callback, Object state) +291
   System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__1e(AsyncCallback asyncCallback, Object asyncState) +753
   System.Web.Mvc.Async.WrappedAsyncResult`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +170
   System.Web.Mvc.Async.AsyncControllerActionInvoker.BeginInvokeAction(ControllerContext controllerContext, String actionName, AsyncCallback callback, Object state) +418
   System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__17(AsyncCallback asyncCallback, Object asyncState) +49
   System.Web.Mvc.Async.WrappedAsyncResult`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +170
   System.Web.Mvc.Controller.BeginExecuteCore(AsyncCallback callback, Object state) +540
   System.Web.Mvc.Async.WrappedAsyncResult`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +170
   System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state) +464
   System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__2(AsyncCallback asyncCallback, Object asyncState) +129
   System.Web.Mvc.Async.WrappedAsyncResult`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +170
   System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +342
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +965
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +172
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +158


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.9236.0

Esse site armazena dados (como cookies), o que permite que determinadas funcionalidades (como análises e personalização) funcionem apropriadamente. Clique aqui e saiba mais!