forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Williams <william...@gmail.com>
Subject Re: forrest-sample-2 FAILED and build test failed: Could not resolve locationmap location
Date Fri, 02 Apr 2010 12:22:58 GMT
On Thu, Apr 1, 2010 at 3:27 AM, David Crossley <crossley@apache.org> wrote:
>> Automated build for forrest-sample-2 FAILED
>>      [java]
>>      [java]
>>      [java] X [0]                                     linkmap.html
   BROKEN: Could not resolve locationmap location.
>
>
> I get that same error doing 'build.sh test' locally.
>
> The build of this Dispatcher sample were okay on the
> zone server before today.

I'm getting the same thing.  It looks like a mounted locationmap can't
be resolved but it appears to be dispatcher-related code.  I don't
know that code at all but a quick look seems like the resolver field
in the child class (RecursiveDirectoryTraversalAction) is hiding the
intended resolver in the parent class (AbstractTraversal).   Can you
comment out the child class' resolver field and see if that helps?  It
seems to get me past that one but then introduces tons of other
"Invalid byte 1 of 1-byte UTF-8 sequence" errors.  The timing seems
right too,  it would have been introduced with r929463.

--tim

Index: src/java/org/apache/forrest/dispatcher/acting/RecursiveDirectoryTraversalAction.java
===================================================================
--- src/java/org/apache/forrest/dispatcher/acting/RecursiveDirectoryTraversalAction.java	(revision
930237)
+++ src/java/org/apache/forrest/dispatcher/acting/RecursiveDirectoryTraversalAction.java	(working
copy)
@@ -62,7 +62,7 @@
 public class RecursiveDirectoryTraversalAction extends AbstractTraversal
         implements ThreadSafe, Serviceable {

-    SourceResolver resolver = null;
+   // SourceResolver resolver = null;
     HashMap map = new HashMap();

     /**

Mime
View raw message