Hi,
i'm thinking about purchasing Stash, so i want to try out the Trial version first. I just set up a Raspberry Pi (current Raspbian), installed the Apache with MySQL and PHP, GIT and also Java with "apt-get install openjdk-7-jdk". Finally i followed all the steps for installing Stash. But when i now try to call http://homeserver:7990/setup (i want to use the Pi as a small homeserver) i get the following error message:
HTTP Status 500 - type Exception report message description The server encountered an internal error that prevented it from fulfilling this request. exception java.lang.NullPointerException org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:958) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:816) javax.servlet.http.HttpServlet.service(HttpServlet.java:621) org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:801) javax.servlet.http.HttpServlet.service(HttpServlet.java:728) com.atlassian.johnson.spring.web.filter.BypassableDelegatingFilterProxy.doFilter(BypassableDelegatingFilterProxy.java:49) com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71) com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71) com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) com.atlassian.johnson.spring.web.filter.BypassableDelegatingFilterProxy.doFilter(BypassableDelegatingFilterProxy.java:49) com.atlassian.johnson.spring.web.filter.BypassableDelegatingFilterProxy.doFilter(BypassableDelegatingFilterProxy.java:49) com.atlassian.johnson.spring.web.filter.BypassableDelegatingFilterProxy.doFilter(BypassableDelegatingFilterProxy.java:49) com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71) com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71) com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) com.atlassian.johnson.spring.web.filter.BypassableDelegatingFilterProxy.doFilter(BypassableDelegatingFilterProxy.java:49) org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213) org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171) org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389) com.atlassian.johnson.spring.web.filter.BypassableDelegatingFilterProxy.doFilter(BypassableDelegatingFilterProxy.java:49) com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71) com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71) com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) com.atlassian.johnson.spring.web.filter.BypassableDelegatingFilterProxy.doFilter(BypassableDelegatingFilterProxy.java:49) com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:67) com.atlassian.stash.internal.johnson.filters.BypassableJohnsonFilter.doFilter(BypassableJohnsonFilter.java:30) com.atlassian.johnson.spring.web.filter.BypassableDelegatingFilterProxy.doFilter(BypassableDelegatingFilterProxy.java:49) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) note The full stack trace of the root cause is available in the Apache Tomcat/7.0.40 logs. Apache Tomcat/7.0.40
I don't know what to do next. I tried to reinstall Java several times (.tar.gz installations and apt-get packages), but it fails every time i tried to call the setup-wizard.
Does anyone have an idea what's going on here?
Thanks :)
Hi,
My guess (from comments of people trying to run Stash on the Pi) is that you don't have enough memory to run Stash on the Raspberry Pi and as a result the OSGI system is only starting up partially. You need at least 512Mb and probably closer to 768Mb allocated to the JVM to run Stash.
Hi,
thanks for your answer. While closing unused pages on my iPhone i randomly went to the setup page again and it shows up without any errors... I could enter my license but after submitting the admin account settings i got an error again... I am now thinking about switching my Windows Rootserver to a Debian or Ubuntu Rootserver and then i'll try again ;)
Thanks for your help :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
2013-06-15 16:32:17,447 INFO [localhost-startStop-1] c.a.s.i.server.BuildInfoLogger Starting Stash 2.5.0 (9e87d57 built on Mon Jun 10 21:02:40 CEST 2013) 2013-06-15 16:32:17,487 INFO [localhost-startStop-1] c.a.s.i.server.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) Client VM 1.7.0_21-b11 2013-06-15 16:32:28,591 INFO [localhost-startStop-1] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /var/stash-home for 3219@server 2013-06-15 16:32:40,273 WARN [localhost-startStop-1] com.jolbox.bonecp.BoneCPConfig JDBC password not set in driver properties, copying it from pool config 2013-06-15 16:33:28,715 INFO [localhost-startStop-1] c.a.s.i.l.SetHierarchyIdsChange No repositories exist; no hierarchy IDs need to be set 2013-06-15 16:37:24,245 INFO [localhost-startStop-1] c.a.s.i.server.BuildInfoLogger Starting Stash 2.5.0 (9e87d57 built on Mon Jun 10 21:02:40 CEST 2013) 2013-06-15 16:37:24,334 INFO [localhost-startStop-1] c.a.s.i.server.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) Client VM 1.7.0_21-b11 2013-06-15 16:37:39,193 INFO [localhost-startStop-1] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /var/stash-home for 3444@server 2013-06-15 16:37:54,619 WARN [localhost-startStop-1] com.jolbox.bonecp.BoneCPConfig JDBC password not set in driver properties, copying it from pool config
this is the (new) log file.
I just set up the Pi again with another OS (The old one did not support Java...) and the Oracle JDK for ARM processors works fine :)
I installed Stash in the same way and it starts up right:
root@server:/var/stash/bin# ./start-stash.sh To run Stash in the foreground, start the server with start-stash.sh -fg Starting Atlassian Stash as current user Detecting JVM PermGen support... PermGen switch is supported. Setting to 256m Using STASH_HOME: /var/stash-home Using CATALINA_BASE: /var/stash Using CATALINA_HOME: /var/stash Using CATALINA_TMPDIR: /var/stash/temp Using JRE_HOME: /usr Using CLASSPATH: /var/stash/bin/bootstrap.jar:/var/stash/bin/tomcat-juli.jar Using CATALINA_PID: /var/stash/work/catalina.pid Existing PID file found during start. Removing/clearing stale PID file. Success! You can now use Stash at the following address: http://localhost:7990/ If you encounter issues starting or stopping Atlassian Stash, please see the Troubleshooting guide at: http://confluence.atlassian.com/display/STASH/Installation+Troubleshooting+Guide
But now i can't reach stash anyway...
External (LAN): http://homeserver:7990 (DNS Name set by FritzBox) -> Timed Out
External (LAN): http://192.168.178.25:7990 -> Timed Out
Internal: http://localhost:7990 -> Timed Out
Iptables is not configured anyway, other Services on the Pi are running fine and the FritzBox Firewall isn't blocking on that Port...
Any idea why stash behaves like this and how to fix it?
Julian
//Sorry for posting as an answer, comments are limited to 2000 characters and my text seems to be larger...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Update:
The local test results in the following:
A fatal error has occurred The following problems occurred which prevents Atlassian Stash from starting correctly: Required plugin com.atlassian.stash.stash-jira-integration has failed to start Required plugin com.atlassian.crowd.embedded.admin has failed to start Required plugin com.atlassian.applinks.applinks-plugin has failed to start Required plugin com.atlassian.oauth.serviceprovider.sal has failed to start Required plugin com.atlassian.oauth.serviceprovider has failed to start Required plugin com.atlassian.oauth.admin has failed to start
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Julian,
We need to see the root cause. Unfortunate the NullPointerException there could have come from anywhere, and without seeing the full stack trace there's no way of knowing what went wrong. Could you possibly paste the full trace from either the tomcat logs or the $STASH_HOME/log/atlassian-stash.log file?
Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.