christian.schab Posted March 7, 2013 Share Posted March 7, 2013 Hello everybody,we are new in using jasperserver. Currently we are testing jasperserver 5.0 on Amazon Webservices.Starting worked fine. Then we deleted all sample reports, deleted the demo users, created new user and roles, created datasources, domains, views and reports.Everythink worked fine.Then I tried to logout and login, but the login page is now completed empty. Just a blue page :-(I checked the log and found this: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commonProperties': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.expression.spel.SpelEvaluationException: EL1007E:(pos 38): Field or property 'tenantId' cannot be found on null at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:332) at org.springframework.web.context.request.AbstractRequestAttributesScope.get(AbstractRequestAttributesScope.java:43) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:328) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1093) at org.springframework.web.context.support.ContextExposingHttpServletRequest.getAttribute(ContextExposingHttpServletRequest.java:85) at org.apache.jasper.runtime.PageContextImpl.doFindAttribute(PageContextImpl.java:489) at org.apache.jasper.runtime.PageContextImpl.findAttribute(PageContextImpl.java:479) at javax.servlet.jsp.el.ScopedAttributeELResolver.getValue(ScopedAttributeELResolver.java:56) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:67) at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:72) at org.apache.el.parser.AstValue.getValue(AstValue.java:161) at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:185) at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:986) at org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspx_meth_c_005fout_005f2(main_jsp.java:9126) at org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspx_meth_c_005fif_005f3(main_jsp.java:9066) at org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspService(main_jsp.java:1533) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) ... 107 moreCaused by: org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.expression.spel.SpelEvaluationException: EL1007E:(pos 38): Field or property 'tenantId' cannot be found on null at org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.java:142) at org.springframework.beans.factory.support.AbstractBeanFactory.evaluateBeanDefinitionString(AbstractBeanFactory.java:1299) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.evaluate(BeanDefinitionValueResolver.java:210) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:182) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:378) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:161) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) ... 128 moreCaused by: org.springframework.expression.spel.SpelEvaluationException: EL1007E:(pos 38): Field or property 'tenantId' cannot be found on null at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:205) at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:72) at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:57) at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:93) at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:88) at org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.java:139) ... 136 more Could anybody give us informations how to fix this issue?Thank you a lot!Christian Link to comment Share on other sites More sharing options...
paul.cook79 Posted March 20, 2013 Share Posted March 20, 2013 I have this exact same issue using 5.0. Working fine until i deleted the standard users from the system... everything running fine but just cant get a logon screen. Link to comment Share on other sites More sharing options...
ADR707 Posted March 27, 2013 Share Posted March 27, 2013 The reason for this issue is that you have deleted the default jasper users (especially "anonymousUser"). Try and import back these users; and I guess you'll get it working. I had faced the same issue earlier. Link to comment Share on other sites More sharing options...
ADR707 Posted March 27, 2013 Share Posted March 27, 2013 The reason for this issue is that you have deleted the default jasper users (especially "anonymousUser"). Try and import back these users; and I guess you'll get it working.I had faced the same issue earlier. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now