I am getting java.lang.NullPointerException com.atlassian.jira.web.filters.JiraFirstFilter.wrap when starting JIRA with 500 error and in the logs it says com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: Could not find a field-type definition with name "h2"
Configuration I have
java version "1.8.0_65"
ATLAS Version: 6.2.2 ATLAS Home: /usr/share/atlassian-plugin-sdk-6.2.2
ATLAS Scripts: /usr/share/atlassian-plugin-sdk-6.2.2/bin
ATLAS Maven Home: /usr/share/atlassian-plugin-sdk-6.2.2/apache-maven-3.2.1 AMPS Version: 6.2.1
This problem is not letting me start JIRA in dev env.
Command I am using to start JIRA
atlas-run-standalone --container tomcat7x --product jira --version 7.1.0-OD-03-049 --data-version 7.1.0-OD-03-049 --bundled-plugins com.atlassian.bundles:json-schema-validator-atlassian-bundle:1.0.4,com.atlassian.upm:atlassian-universal-plugin-manager-plugin:2.20.1-D20150924T170115,com.atlassian.jwt:jwt-plugin:1.5.4,com.atlassian.plugins:atlassian-connect-plugin:1.1.66 --jvmargs -Datlassian.upm.on.demand=true
I have the same error after upgrading to sdk 6.2.2 and see this:
[INFO] determining latest stable product version... [INFO] using latest stable product version: 6.4.3
Simply using an older version of the sdk fixes the problem.
Version 6.2.2 does not honor the --version argument and seems to decide on its own to fetch version 6.4.3
That error usually happens when there's an incompatible version of JAVA in use. In this case, you look like you are running the right versions, but you do need to check the process - when it's starting and failing, can you use a "ps -ef" to show that it's definitely running /usr/lib/jvm/java1.8/bin/java and not a left over 1.7? (Just because your command line would naturally run java 1.8 correctly, does not mean the SDK will...)
Thanks Nic, I tried ps ax | grep java 2145 ? Sl 4:51 /opt/atlassian/jira/jre//bin/java -Djava.util.logging.config.file=/opt/atlassian/jira/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -XX:MaxPermSize=384m -Xms384m -Xmx768m -Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory -XX:+PrintGCDateStamps -XX:-OmitStackTraceInFastThrow -Djava.endorsed.dirs=/opt/atlassian/jira/endorsed -classpath /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar -Dcatalina.base=/opt/atlassian/jira -Dcatalina.home=/opt/atlassian/jira -Djava.io.tmpdir=/opt/atlassian/jira/temp org.apache.catalina.startup.Bootstrap start 22744 pts/3 S+ 0:00 grep --color=auto java but I could not find any other java running.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....
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!
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