After updating website.lastmodified to now(), I get the following error:

java.lang.NoSuchMethodError:
org.apache.roller.ui.rendering.util.WeblogPageRequest.getWeblogPage()Lorg/apache/roller/pojos/WeblogTemplate;
        
org.apache.roller.ui.rendering.velocity.deprecated.ContextLoader.setupContext(ContextLoader.java:132)
        
org.apache.roller.ui.rendering.model.ModelLoader.loadOldModels(ModelLoader.java:55)
        
org.apache.roller.ui.rendering.servlets.PageServlet.doGet(PageServlet.java:344)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Matt

On 10/24/06, Dave <[EMAIL PROTECTED]> wrote:
On 10/23/06, Dave <[EMAIL PROTECTED]> wrote:
> The problem:
>  java.lang.NullPointerException
>        
org.apache.roller.ui.rendering.servlets.PageServlet.doGet(PageServlet.java:168)
>
> Looks like a 3.0 bug, your website is has a null lastmodified date.
> You can work around the problem by setting lastmodified date to some
> non null value, perhaps now() would work.

The root problem is that we create the new lastmodified column with
default to null.

  alter table website add column lastmodified $TIMESTAMP_SQL_TYPE default null;

What we ought to do is to set the default to now() like so:

  alter table website add column lastmodified $TIMESTAMP_SQL_TYPE default now();

So we need an RC5. Does anybody else have Roller 3.0 RC4 feedback?

- Dave



--
Blog @ http://raibledesigns.com
Founder of AppFuse @ http://appfuse.org

Reply via email to