org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getReferencedColumn' in class org.eclipse.jpt.jpa.gen.internal.AssociationRole threw exception java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 @ join.vm[56,33]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.

,

Thrown if trying to access an index which is out of bounds on objects like String, Array, or Vector. Any negative integer less than or equal to -1 and positive integer greater than or equal to the size of the object is an index which would be out of bounds

Solutions on the web

via eclipse.org by Unknown author, 1 year ago
Invocation of method 'getReferencedColumn' in class org.eclipse.jpt.jpa.gen.internal.AssociationRole threw exception java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 @ join.vm[56,33]
via eclipse.org by Unknown author, 1 year ago
Invocation of method 'getReferencedColumn' in class org.eclipse.jpt.jpa.gen.internal.AssociationRole threw exception java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 @ join.vm[56,33]
via Atlassian JIRA by Andreas Knecht, 1 year ago
Invocation of method 'computeStartFor' in class com.pyxis.greenhopper.jira.boards.VersionBoard threw exception class java.lang.NoSuchMethodError : com.atlassian.jira.issue.search.SearchProvider.searchAndSort(Lcom/atlassian/jira/issue/search
via Atlassian JIRA by Andreas Knecht, 1 year ago
Invocation of method 'computeStartFor' in class com.pyxis.greenhopper.jira.boards.VersionBoard threw exception class java.lang.NoSuchMethodError : com.atlassian.jira.issue.search.SearchProvider.searchAndSort(Lcom/atlassian/jira/issue/search
via atlassian.net by Unknown author, 10 months ago
Invocation of method 'getUserListForRole' in class com.iamhuy.jira.plugin.customfields.UserPickerProjectRole threw exception class java.lang.NullPointerException : null
via JIRA by conro, 1 year ago
Invocation of method 'getCannedScripts' in class com.onresolve.jira.groovy.CannedScriptRunner threw exception class java.lang.ClassNotFoundException : com.onresolve.jira.groovy.canned.workflow.postfunctions (/Users/XZ/src/main/resources/com/onresolve/jira/groovy/canned/workflow/postfunctions) does not appear to be a valid package
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getReferencedColumn' in class org.eclipse.jpt.jpa.gen.internal.AssociationRole threw exception java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 @ join.vm[56,33]
at java.util.ArrayList.rangeCheck(ArrayList.java:604)
at java.util.ArrayList.get(ArrayList.java:382)
at org.eclipse.jpt.jpa.gen.internal.AssociationRole.getReferencedColumn(AssociationRole.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:607)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.Parse.render(Parse.java:224)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.Parse.render(Parse.java:224)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.Template.merge(Template.java:254)
at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:508)
at org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generateJavaFile(PackageGenerator.java:320)
at org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generateClass(PackageGenerator.java:296)
at org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generateInternal(PackageGenerator.java:126)
at org.eclipse.jpt.jpa.gen.internal.PackageGenerator.doGenerate(PackageGenerator.java:100)
at org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generate(PackageGenerator.java:76)
at org.eclipse.jpt.jpa.ui.internal.wizards.gen.GenerateEntitiesFromSchemaWizard$GenerateEntitiesJob.runInWorkspace(GenerateEntitiesFromSchemaWizard.java:267)

Users with the same issue

Once, 2 days ago
2 times, 1 week ago
Once, 1 week ago
Once, 2 weeks ago
3 times, 3 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.