First User Registration failed

201 views
Error in registration process creation
java.lang.NullPointerException
        at org.apache.jsp.newregistration.registerUserProcessing_jsp._jspService
(registerUserProcessing_jsp.java:437)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:432)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
90)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at com.ganib.security.AbsoluteSendRedirectFilter.doFilter(AbsoluteSendRe
directFilter.java:96)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:129)

        at com.ganib.hibernate.util.CustomTapestryFilter.doFilter(CustomTapestry
Filter.java:134)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at com.ganib.security.SecurityFilter.doFilter(SecurityFilter.java:113)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at com.ganib.security.SessionAccessFilter.doFilter(SessionAccessFilter.j
ava:140)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterIntern
al(CharacterEncodingFilter.java:96)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerR
equestFilter.java:76)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:100)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
11Processor.java:1041)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
AbstractProtocol.java:603)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
t.java:312)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Exception while sending mail: java.lang.NullPointerException
asked Dec 12, 2014 by saran (120 points)
edited Dec 12, 2014 by saran

2 Answers

0 votes
Hello,
 
Thank you for approaching us.
 
Can you please provide your Full catalina.log file to help you out with this issue, Also we need the following information from you
 
1. Your OS Platform
2. Your MySQL & Tomcat versions
3. Whether you are using Ganib WAR file or ZIP file.
 
Please, let us know your response soon so that we can quickly find a solution for you.
 
Thanks,

Jaclyn

Jaclyn N,
Ganib Support Team, Ganib Inc.
Free Signup | Free Download | Documentation
Skype ID: ganib.support
Email: support@ganib.com

 

answered Dec 12, 2014 by Jaclyn (18,310 points)
0 votes
Hello 
 
We have analyzed this issue and found that the MySQL user configured with ganib doesn't have access to required METADATA.
To resolve this issue you need to execute below GRANT queries with MySQL admin user.
 
GRANT SELECT ON mysql.proc TO  'ganibuser'@'%';
GRANT ALTER ROUTINE, CREATE ROUTINE, EXECUTE, SHOW VIEW, CREATE, DROP ON ganib.* TO 'ganib'@'%';
flush privileges;
 
Once those queries are executed successfully restart the ganib instance and check registration process again.
Please let us know if you need any other help.
 
Thanks,

Jaclyn

Jaclyn N,
Ganib Support Team, Ganib Inc.
Free Signup | Free Download | Documentation
Skype ID: ganib.support
Email: support@ganib.com

 

answered Mar 18, 2015 by Jaclyn (18,310 points)
...