java.lang.ClassNotFoundException: com.atlassian.jira.portal.VersionOptionalValuesGenerator


First off, sorry for just publishing a headline without the body. I simply hit the wrong button.

I have just started looking at upgrading to JIRA 7.0.5 and how the changes affect our internal report plugins. With some minor changes all plugins work fine except the ones that use the Version selector (com.atlassian.jira.portal.VersionOptionalValuesGenerator). Building the plugin works but when running JIRA with the plugin it fails when I try to run the report. The version selector shows "Could not find any values for field 'Version'.". Yes, I have created versions.

The following is printed in the log:

[INFO] [talledLocalContainer] 2016-01-06 08:15:03,686 http-nio-2990-exec-9 WARN admin 495x35x1 1ayij9c 0:0:0:0:0:0:0:1 /secure/ConfigureReport!default.jspa [c.atlassian.configurable.ValuesGeneratorObjectConfigurationProperty] Could not create class: com.atlassian.jira.portal.VersionOptionalValuesGenerator [INFO] [talledLocalContainer] java.lang.ClassNotFoundException: com.atlassian.jira.portal.VersionOptionalValuesGenerator not found by [173] [INFO] [talledLocalContainer]   at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation( [INFO] [talledLocalContainer]   at org.apache.felix.framework.BundleWiringImpl.access$400( [INFO] [talledLocalContainer]   at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass( [INFO] [talledLocalContainer]   at java.lang.ClassLoader.loadClass( [INFO] [talledLocalContainer]   at org.apache.felix.framework.Felix.loadBundleClass( [INFO] [talledLocalContainer]   at org.apache.felix.framework.BundleImpl.loadClass( [INFO] [talledLocalContainer]   at com.atlassian.plugin.osgi.util.BundleClassLoaderAccessor$BundleClassLoader.findClass( [INFO] [talledLocalContainer]   at java.lang.ClassLoader.loadClass( [INFO] [talledLocalContainer]   at java.lang.ClassLoader.loadClass( [INFO] [talledLocalContainer]   at com.atlassian.configurable.ValuesGeneratorObjectConfigurationProperty.<init>( [INFO] [talledLocalContainer]   at com.atlassian.configurable.XMLObjectConfigurationFactory.loadObjectConfigurationFromElement( [INFO] [talledLocalContainer]   at com.atlassian.jira.plugin.AbstractConfigurableModuleDescriptor.getObjectConfiguration( [INFO] [talledLocalContainer]   at com.atlassian.jira.web.action.browser.ConfigureReport.getObjectConfiguration( [INFO] [talledLocalContainer]   ... 3 filtered [INFO] [talledLocalContainer]   at java.lang.reflect.Method.invoke( [INFO] [talledLocalContainer]   at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke( [INFO] [talledLocalContainer]   at webwork.util.InjectionUtils.invoke( [INFO] [talledLocalContainer]   at webwork.util.ValueStack.findValue( [INFO] [talledLocalContainer]   at webwork.util.ValueStack.findValue( [INFO] [talledLocalContainer]   at webwork.view.taglib.WebWorkBodyTagSupport.findValue( [INFO] [talledLocalContainer]   at webwork.view.taglib.IteratorTag.doStartTag( [INFO] [talledLocalContainer]   at [INFO] [talledLocalContainer]   at org.apache.jasper.runtime.HttpJspBase.service( [INFO] [talledLocalContainer]   at javax.servlet.http.HttpServlet.service( [INFO] [talledLocalContainer]   ... 125 filtered [INFO] [talledLocalContainer]   at javax.servlet.http.HttpServlet.service( [INFO] [talledLocalContainer]   ... 74 filtered [INFO] [talledLocalContainer]   at com.atlassian.labs.httpservice.resource.ResourceFilter.doFilter( [INFO] [talledLocalContainer]   ... 127 filtered [INFO] [talledLocalContainer]   at java.util.concurrent.ThreadPoolExecutor.runWorker( [INFO] [talledLocalContainer]   at java.util.concurrent.ThreadPoolExecutor$ [INFO] [talledLocalContainer]   at org.apache.tomcat.util.threads.TaskThread$ [INFO] [talledLocalContainer]   at
Anyone who has any idea what has changed in JIRA 7.0 that can cause this?



2 answers

The description is not in detail.  Did you try to restart JIRA? It's possibly that jar is not loaded correctly.


Hello, Sorry, I published too early. I have updated the text. B.r. /Peter

Hello, i have the same problem. My version of JIRA is v7.2.6

I Created a plugin with a report module, for the report i need a version selector. But the log print me: java.lang.ClassNotFoundException: com.atlassian.jira.portal.VersionOptionalValuesGenerator

i have defined in atlassian-plugin.xml this propertie:






            <values class="com.atlassian.jira.portal.VersionOptionalValuesGenerator"/>


and in the POM file







anyone knows whats is hapend?





Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,775 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot