cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3981
Views
0
Helpful
17
Replies

Devnet Grails Runtime Exception

AbbasDadou
Level 1
Level 1

Dears,

I am trying to access Cisco  Developer network and i get a Runtime exception when i try to login. I used to login to devnet with no issue. can you please help. Below please find the exception i got

Grails Runtime Exception

Error Details

Error 500: Executing action [login] of controller [com.kpi.dp.pingfederate.SSOController] in plugin [dp-cisco] caused exception: Runtime error executing action
Servlet: grails
URI: /grails/SSO/login.dispatch
Exception Message: Column 'address_id' cannot be null
Caused by: Column 'address_id' cannot be null
Class: LoginFilter
At Line: [113]
Code Snippet:

Stack Trace

com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'address_id' cannot be null
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1041)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2617)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2778)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2825)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2156)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2459)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2376)



Thanks,

Best Regards,

Abbas

17 Replies 17

s.ganschow
Level 1
Level 1

Hi,

any chance this is going to be fixed anytime? I'm getting the same error since about a week.

Thx,

Sebastian

tgarcia
Level 1
Level 1

i'm having the  same issue. what was dont to fix the account.

my login is : tgarcia@twc-tampa.com

kpstross
Level 1
Level 1

I'm having similar difficulties.  Logon:  kpstross

Grails Runtime Exception

Error Details

Error 500: Executing action [login] of controller [com.kpi.dp.pingfederate.SSOController] in plugin [dp-cisco] caused exception: Runtime error executing action
Servlet: grails
URI: /grails/SSO/login.dispatch
  Exception Message: Cannot invoke method trim() on null object
Caused by: Cannot invoke method trim() on null object
Class: LoginFilter
At Line: [113]
Code Snippet:

 

Stack Trace

java.lang.NullPointerException: Cannot invoke method trim() on null object 
     at com.kpi.dp.cisco.pdb.SppDetailsUtility.updateCompany(SppDetailsUtility.groovy:121)
     at com.kpi.dp.cisco.pdb.SppDetailsUtility.createOrUpdateCompany(SppDetailsUtility.groovy:99)
     at com.kpi.dp.cisco.pdb.SppDetailsUtility.updateUser(SppDetailsUtility.groovy:63)
     at com.kpi.dp.core.user.DpSSOService.createOrUpdateUser(DpSSOService.groovy:179)
     at com.kpi.dp.core.user.DpSSOService.createSSOUser(DpSSOService.groovy:143)
     at com.kpi.dp.core.user.DpSSOService.loginUser(DpSSOService.groovy:54)
     at GrailsMelodyGrailsPlugin$_closure4_closure16_closure17.doCall(GrailsMelodyGrailsPlugin.groovy:184)
     at com.kpi.dp.pingfederate.SSOController$_closure1.doCall(SSOController.groovy:81)
     at grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:198)
     at grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)
     at net.bull.javamelody.JspWrapper.invoke(JspWrapper.java:150)
     at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:285)
     at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:202)
     at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:180)
     at com.kpi.dp.core.traffic.PageHitFilter.doFilter(PageHitFilter.groovy:60)
     at com.kpi.dp.core.security.filter.ForceCompanyRegistrationFilter.doFilter(ForceCompanyRegistrationFilter.groovy:38)
     at com.kpi.dp.core.security.filter.TcAgreeSSOFilter.doFilter(TcAgreeSSOFilter.groovy:56)
     at com.kpi.dp.core.security.filter.TcAgreeFilter.doFilter(TcAgreeFilter.groovy:55)
     at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53)
     at com.kpi.dp.core.user.LoginFilter.doFilter(LoginFilter.groovy:113)
     at grails.plugin.springsecurity.web.authentication.RequestHolderAuthenticationFilter.doFilter(RequestHolderAuthenticationFilter.java:49)
     at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:82)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
     at java.lang.Thread.run(Thread.java:724)