Switch Theme:

Java exception in middle of page  [RSS] Share on facebook Share on Twitter Submit to Reddit
»
Author Message
Advert


Forum adverts like this one are shown to any user who is not logged in. Join us by filling out a tiny 3 field form and you will get your own, free, dakka user account which gives a good range of benefits to you:
  • No adverts like this in the forums anymore.
  • Times and dates in your local timezone.
  • Full tracking of what you have read so you can skip to your first unread post, easily see what has changed since you last logged in, and easily see what is new at a glance.
  • Email notifications for threads you want to watch closely.
  • Being a part of the oldest wargaming community on the net.
If you are already a member then feel free to login now.




Made in us
Kid_Kyoto






Probably work

URL: http://www.dakkadakka.com/dakkaforum/posts/list/330/457533.page

I'm seeing this in the middle of the page:

Spoiler:


[Post New] 05/Jul/2012 19:10:08
Subject: Re:GK and 6th - Thoughts on how this effects Grey Knights?
Quote Multiquote [Up] [ALERT MOD]

Gatekeeper
Made in us
Method public boolean net.jforum.entities.User.isAdmin() threw an exception when invoked on net.jforum.entities.User@16c8d202 The problematic instruction: ---------- ==> if-else [on line 3, column 1 in default/post_show_user_inc.htm] in include "post_show_user_inc.htm" [on line 265, column 57 in default/post_show.htm] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: Method public boolean net.jforum.entities.User.isAdmin() threw an exception when invoked on net.jforum.entities.User@16c8d202 at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:136) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Expression.isTrue(Expression.java:138) at freemarker.core.IfBlock.accept(IfBlock.java:80) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.include(Environment.java:1375) at freemarker.core.Include.accept(Include.java:155) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160) at freemarker.core.Environment.visit(Environment.java:351) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:95) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.process(Environment.java:176) at freemarker.template.Template.process(Template.java:232) at net.jforum.JForum.processCommand(JForum.java:277) at net.jforum.JForum.service(JForum.java:239) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at net.jforum.util.legacy.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:59) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:662) Caused by: net.jforum.exceptions.SecurityLoadException: net.jforum.exceptions.DatabaseException: java.sql.SQLException: Cannot convert value '0000-00-00 00:00:00' from column 75 to TIMESTAMP. at net.jforum.repository.SecurityRepository.get(SecurityRepository.java:236) at net.jforum.repository.SecurityRepository.canAccess(SecurityRepository.java:206) at net.jforum.repository.SecurityRepository.canAccess(SecurityRepository.java:179) at net.jforum.entities.User.isAdmin(User.java:1245) at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:825) at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:113) ... 41 more Caused by: net.jforum.exceptions.DatabaseException: java.sql.SQLException: Cannot convert value '0000-00-00 00:00:00' from column 75 to TIMESTAMP. at com.mysql.jdbc.ResultSet.getTimestampFromBytes(ResultSet.java:6864) at com.mysql.jdbc.ResultSet.getTimestampInternal(ResultSet.java:6899) at com.mysql.jdbc.ResultSet.getTimestamp(ResultSet.java:6218) at com.mysql.jdbc.ResultSet.getTimestamp(ResultSet.java:6256) at org.apache.commons.dbcp.DelegatingResultSet.getTimestamp(DelegatingResultSet.java:261) at net.jforum.dao.generic.GenericUserDAO.fillUserFromResultSet(GenericUserDAO.java:304) at net.jforum.dao.generic.GenericUserDAO.selectById(GenericUserDAO.java:172) at net.jforum.repository.SecurityRepository.load(SecurityRepository.java:94) at net.jforum.repository.SecurityRepository.load(SecurityRepository.java:112) at net.jforum.repository.SecurityRepository.get(SecurityRepository.java:233) ... 49 more Caused by: java.sql.SQLException: Cannot convert value '0000-00-00 00:00:00' from column 75 to TIMESTAMP. ... 59 more


Then at the very bottom of the page, I'm getting:

java.sql.SQLException: Cannot convert value '0000-00-00 00:00:00' from column 75 to TIMESTAMP.

Looks like there might be a NULL time stamp on one of the posts in that thread maybe? I can replicate by refreshing.

I'm on Windows 7, Firefox 13.0.1, for what it's worth. Have not yet tried disabling plugins as that certainly looks like a backend exception, not something happening at browser level.


Automatically Appended Next Post:
Also, looking up the user profile for Gatekeeper throws the same error.

URL: http://www.dakkadakka.com/dakkaforum/user/profile/60529.page

His user data get pooched maybe?

This message was edited 1 time. Last update was at 2012/07/06 14:07:14


Assume all my mathhammer comes from here: https://github.com/daed/mathhammer 
   
Made in au
Lady of the Lake






Did that too when I clicked the link if it helps. On the left where the poster information usually is.

   
Made in us
Decrepit Dakkanaut






Leerstetten, Germany

User profile will not even open on my iPhone.
   
Made in us
Rough Rider with Boomstick






New England, U.S.A.

I got the same, Running Windows 7 w/ latest Firefox as well.


DR:80+S++G+MB--I+Pw40k03+D+A+++/areWD322R++T(F)DM+ 
   
Made in gb
[ADMIN]
Decrepit Dakkanaut






London, UK

You will all get the same, it is a problem on the server. An interesting one too. I'm still looking into it.


Automatically Appended Next Post:
Fixed

This message was edited 1 time. Last update was at 2012/07/10 15:26:14


Check out our new, fully plastic tabletop wargame - Maelstrom's Edge, made by Dakka!
 
   
Made in us
Decrepit Dakkanaut






Leerstetten, Germany

All hail Lego
   
 
Forum Index » Nuts & Bolts
Go to: