org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getImportStatements' in class org.eclipse.jpt.jpa.gen.internal.ORMGenTable threw exception java.lang.NullPointerException @ main.java.vm[7,9]

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Entity from Table

    Stack Overflow | 7 months ago | Prashant Katara
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getImportStatements' in class org.eclipse.jpt.jpa.gen.internal.ORMGenTable threw exception java.lang.NullPointerException @ main.java.vm[7,9]
  2. 0

    [SAK-17623] NoClassDefFoundError : org/bouncycastle/jce/provider/BouncyCastleProviders - Sakai

    sakaiproject.org | 1 year ago
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSearchResult' in class org.sakaiproject.search.tool.SearchBeanImpl$3 threw exception class java.lang.NoClassDefFoundError : org/bouncycastle/jce/provider/BouncyCastleProvider
  3. 0

    The "hbm2java" subtask does not work when generics are set to "true" and it encounters a many-to-many mapping. -- from User.hbm.xml -- <set name="roles" lazy="true" cascade="none" table="user_role" > <key> <column name="user_id" /> </key> <many-to-many class="de.oraise.refinery.schema.Role" > <column name="role_id" /> </many-to-many> </set> -- -- from build.xml -- <target name="refinery.hbm2java"> <hibernatetool destdir="${src.java.dir}"> <configuration> <fileset dir="${src.java.dir}"> <include name="**/*.hbm.xml" /> </fileset> </configuration> <hbm2java generics="true"/> </hibernatetool> </target> -- -- Stacktrace org.hibernate.tool.hbm2x.ExporterException: Error while processing template pojo/javaclass.vm at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:85) at org.hibernate.tool.hbm2x.POJOExporter.runVelocity(POJOExporter.java:81) at org.hibernate.tool.hbm2x.POJOExporter.startPersistentClass(POJOExporter.java:52) at org.hibernate.tool.hbm2x.ConfigurationNavigator.export(ConfigurationNavigator.java:38) at org.hibernate.tool.ant.Hbm2JavaGeneratorTask.execute(Hbm2JavaGeneratorTask.java:39) at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:101) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:301) at org.apache.tools.ant.Target.performTasks(Target.java:328) at org.apache.tools.ant.Project.executeTarget(Project.java:1215) at org.apache.tools.ant.Project.executeTargets(Project.java:1063) at org.apache.tools.ant.Main.runBuild(Main.java:632) at org.apache.tools.ant.Main.startAnt(Main.java:183) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56) Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getTypeName' in class org.hib ernate.tool.hbm2x.Cfg2JavaTool threw exception class org.hibernate.tool.hbm2x.ExporterException : Could not resolve type without exception for org.hibernate.mapping.Property(users) Value: org.hibernate.mapping.Set(de.oraise.refinery.schema. Role.users) Type: null at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:213) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:365) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:166) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:213) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:258) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:204) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:152) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:269) at org.apache.velocity.Template.merge(Template.java:294) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:488) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:457) at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:77) ... 15 more

    Hibernate JIRA | 1 decade ago | Michael K├Âtter
    org.hibernate.tool.hbm2x.ExporterException: Error while processing template pojo/javaclass.vm
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I receive the following error when attempting to generate the java pojo's from a mapping file. org.hibernate.tool.hbm2x.ExporterException: Error while processing template javaclass.vm at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:85) at org.hibernate.tool.hbm2x.POJOExporter.runVelocity(POJOExporter.java:66) at org.hibernate.tool.hbm2x.POJOExporter.startPersistentClass(POJOExporter.java:45) at org.hibernate.tool.hbm2x.ConfigurationNavigator.export(ConfigurationNavigator.java:38) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$2.execute(ArtifactGeneratorWizard.java:173) at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:76) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.doFinish(ArtifactGeneratorWizard.java:150) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.access$0(ArtifactGeneratorWizard.java:127) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$1.run(ArtifactGeneratorWizard.java:95) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:105) Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getTypeName' in class org.hibernate.tool.hbm2x.Cfg2JavaTool threw exception class org.hibernate.tool.hbm2x.ExporterException : Could not resolve type without exception for org.hibernate.mapping.Property(lapseRates) Value: org.hibernate.mapping.PrimitiveArray(com.llic.ides.LapseRate.lapseRates) Type: null at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:246) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:450) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:419) at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:77) ... 9 more !SUBENTRY 1 org.hibernate.eclipse.console.HibernateConsolePlugin 4 4 2005-05-06 09:22:47.968 !MESSAGE Error while processing template javaclass.vm !STACK 0 org.hibernate.tool.hbm2x.ExporterException: Error while processing template javaclass.vm at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:85) at org.hibernate.tool.hbm2x.POJOExporter.runVelocity(POJOExporter.java:66) at org.hibernate.tool.hbm2x.POJOExporter.startPersistentClass(POJOExporter.java:45) at org.hibernate.tool.hbm2x.ConfigurationNavigator.export(ConfigurationNavigator.java:38) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$2.execute(ArtifactGeneratorWizard.java:173) at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:76) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.doFinish(ArtifactGeneratorWizard.java:150) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.access$0(ArtifactGeneratorWizard.java:127) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$1.run(ArtifactGeneratorWizard.java:95) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:105) Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getTypeName' in class org.hibernate.tool.hbm2x.Cfg2JavaTool threw exception class org.hibernate.tool.hbm2x.ExporterException : Could not resolve type without exception for org.hibernate.mapping.Property(lapseRates) Value: org.hibernate.mapping.PrimitiveArray(com.llic.ides.LapseRate.lapseRates) Type: null at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:246) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:450) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:419) at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:77) ... 9 more !SUBENTRY 2 org.hibernate.eclipse.console.HibernateConsolePlugin 4 150 2005-05-06 09:22:47.968 !MESSAGE Error while processing template javaclass.vm !STACK 0 org.hibernate.tool.hbm2x.ExporterException: Error while processing template javaclass.vm at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:85) at org.hibernate.tool.hbm2x.POJOExporter.runVelocity(POJOExporter.java:66) at org.hibernate.tool.hbm2x.POJOExporter.startPersistentClass(POJOExporter.java:45) at org.hibernate.tool.hbm2x.ConfigurationNavigator.export(ConfigurationNavigator.java:38) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$2.execute(ArtifactGeneratorWizard.java:173) at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:76) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.doFinish(ArtifactGeneratorWizard.java:150) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.access$0(ArtifactGeneratorWizard.java:127) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$1.run(ArtifactGeneratorWizard.java:95) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:105) Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getTypeName' in class org.hibernate.tool.hbm2x.Cfg2JavaTool threw exception class org.hibernate.tool.hbm2x.ExporterException : Could not resolve type without exception for org.hibernate.mapping.Property(lapseRates) Value: org.hibernate.mapping.PrimitiveArray(com.llic.ides.LapseRate.lapseRates) Type: null at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:246) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:450) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:419) at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:77) ... 9 more !SUBENTRY 2 org.hibernate.eclipse.console.HibernateConsolePlugin 4 150 2005-05-06 09:22:47.968 !MESSAGE Invocation of method 'getTypeName' in class org.hibernate.tool.hbm2x.Cfg2JavaTool threw exception class org.hibernate.tool.hbm2x.ExporterException : Could not resolve type without exception for org.hibernate.mapping.Property(lapseRates) Value: org.hibernate.mapping.PrimitiveArray(com.llic.ides.LapseRate.lapseRates) Type: null !STACK 0 org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getTypeName' in class org.hibernate.tool.hbm2x.Cfg2JavaTool threw exception class org.hibernate.tool.hbm2x.ExporterException : Could not resolve type without exception for org.hibernate.mapping.Property(lapseRates) Value: org.hibernate.mapping.PrimitiveArray(com.llic.ides.LapseRate.lapseRates) Type: null at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:246) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:450) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:419) at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:77) at org.hibernate.tool.hbm2x.POJOExporter.runVelocity(POJOExporter.java:66) at org.hibernate.tool.hbm2x.POJOExporter.startPersistentClass(POJOExporter.java:45) at org.hibernate.tool.hbm2x.ConfigurationNavigator.export(ConfigurationNavigator.java:38) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$2.execute(ArtifactGeneratorWizard.java:173) at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:76) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.doFinish(ArtifactGeneratorWizard.java:150) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.access$0(ArtifactGeneratorWizard.java:127) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$1.run(ArtifactGeneratorWizard.java:95) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:105)

    Hibernate JIRA | 1 decade ago | Todd Nine
    org.hibernate.tool.hbm2x.ExporterException: Error while processing template javaclass.vm
  6. 0

    When I try to edit an existing workflow condition of type "Permission condition", I get the following error: An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- {noformat} org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getText' in class com.atlassian.jira.web.bean.I18nBean threw exception class java.lang.NullPointerException : null at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:246) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:172) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:450) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:56) at com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.getHtml(JiraResourcedModuleDescriptor.java:97) at com.atlassian.jira.plugin.workflow.WorkflowConditionModuleDescriptor.getHtml(WorkflowConditionModuleDescriptor.java:29) at com.atlassian.jira.web.action.admin.workflow.AbstractEditWorkflowTransitionDescriptorParams.getDescriptorHtml(AbstractEditWorkflowTransitionDescriptorParams.java:204) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:61) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:52) at webwork.util.ValueStack.findValue(ValueStack.java:346) at webwork.util.ValueStack.findValue(ValueStack.java:175) at webwork.view.taglib.WebWorkBodyTagSupport.findValue(WebWorkBodyTagSupport.java:61) at webwork.view.taglib.BasicPropertyTag.doStartTag(BasicPropertyTag.java:54) at org.apache.jsp.secure.admin.views.workflow.editworkflowtransitiondescriptorparams_jsp._jspx_meth_webwork_005fproperty_005f4(editworkflowtransitiondescriptorparams_jsp.java:903) at org.apache.jsp.secure.admin.views.workflow.editworkflowtransitiondescriptorparams_jsp._jspx_meth_page_005fapplyDecorator_005f0(editworkflowtransitiondescriptorparams_jsp.java:222) at org.apache.jsp.secure.admin.views.workflow.editworkflowtransitiondescriptorparams_jsp._jspService(editworkflowtransitiondescriptorparams_jsp.java:103) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:248) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:120) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.jira.web.filters.JIRAProfilingFilter.doFilter(JIRAProfilingFilter.java:16) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.RequestCleanupFilter.doFilter(RequestCleanupFilter.java:50) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:350) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:33) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.appconsistency.db.DatabaseCompatibilityEnforcerFilter.doFilter(DatabaseCompatibilityEnforcerFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:548) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:619) {noformat} *Note that we have defined custom Permissions* which, if you look at permission-condition-edit-params.vm, may cause problems in #selectMapSelectedI18N.

    Atlassian JIRA | 9 years ago | David [Innovalog]
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getText' in class com.atlassian.jira.web.bean.I18nBean threw exception class java.lang.NullPointerException : null

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.velocity.exception.MethodInvocationException

      Invocation of method 'getImportStatements' in class org.eclipse.jpt.jpa.gen.internal.ORMGenTable threw exception java.lang.NullPointerException @ main.java.vm[7,9]

      at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute()
    2. Apache Velocity
      VelocityEngine.mergeTemplate
      1. org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:205)
      2. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
      3. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
      4. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
      5. org.apache.velocity.Template.merge(Template.java:254)
      6. org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:508)
      7. org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:473)
      7 frames
    3. org.eclipse.jpt
      GenerateEntitiesFromSchemaWizard$GenerateEntitiesJob.runInWorkspace
      1. org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generateJavaFile(PackageGenerator.java:333)
      2. org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generateClass(PackageGenerator.java:310)
      3. org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generateInternal(PackageGenerator.java:132)
      4. org.eclipse.jpt.jpa.gen.internal.PackageGenerator.doGenerate(PackageGenerator.java:106)
      5. org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generate(PackageGenerator.java:82)
      6. org.eclipse.jpt.jpa.ui.internal.wizards.gen.GenerateEntitiesFromSchemaWizard$GenerateEntitiesJob.runInWorkspace(GenerateEntitiesFromSchemaWizard.java:285)
      6 frames
    4. Core Resource Management
      InternalWorkspaceJob.run
      1. org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
      1 frame
    5. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame