Hello I have a problem. I can create a forum and a category, but the problem is
when i go into the forum to put some post it gives me an error!
And the error is:
2005-05-24 20:20:16,406 INFO [STDOUT] Caused by:
net.sf.hibernate.JDBCException: Could not execute query
2005-05-24 20:20:16,406 INFO [STDOUT] at
net.sf.hibernate.impl.SessionImpl.iterate(SessionImpl.java:1612)
2005-05-24 20:20:16,406 INFO [STDOUT] at
net.sf.hibernate.impl.QueryImpl.iterate(QueryImpl.java:27)
2005-05-24 20:20:16,406 INFO [STDOUT] at
org.jboss.portlet.forums.impl.ForumsModuleImpl.findTopics(ForumsModuleImpl.java:306)
2005-05-24 20:20:16,406 INFO [STDOUT] ... 89 more
2005-05-24 20:20:16,406 INFO [STDOUT] Caused by: java.sql.SQLException: You
have an error in your SQL syntax; check the manual that corresponds to your
MySQL server version for the right syntax to use near '10 topicimpl0_.jbp_id as
x0_0_ from jbp_forums_topics topicimpl0_ where (topicim' at line 1
2005-05-24 20:20:16,406 INFO [STDOUT] at
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2851)
2005-05-24 20:20:16,406 INFO [STDOUT] at
com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1531)
2005-05-24 20:20:16,406 INFO [STDOUT] at
com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1622)
2005-05-24 20:20:16,406 INFO [STDOUT] at
com.mysql.jdbc.Connection.execSQL(Connection.java:2385)
and ...
2005-05-24 20:20:16,406 ERROR [org.jboss.portal.core.servlet.CoreServlet] Error
java.lang.NullPointerException
at
org.jboss.portlet.forums.ForumsPortlet.fillShowForumContext(ForumsPortlet.java:2235)
at org.jboss.portlet.forums.ForumsPortlet.doView(ForumsPortlet.java:330)
at org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:217)
at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:204)
at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:347)
Can anybody help me
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878950#3878950
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878950
---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user