John B. Moore schrieb:
> I just attempted to upgrade on of our multi-blogs from 2.0.1 to 2.3 and
> had to return to my 2.0.1 version because I could not get it to run
> correctly..
Hi,
I have no 2.0.1 installed, so I'm not able to upgrade myself. From what
I've seen in the code, the exception that you mention is logged and
ignored and the worst thing that might happen is that the tags index is
not initialized (e.g. the mapping from tag name to blog entry)
> ERROR net.sourceforge.pebble.index.TagIndex - Error while reading index
> java.lang.ArrayIndexOutOfBoundsException: 0
> at net.sourceforge.pebble.index.TagIndex.readIndex(TagIndex.java:137)
> at net.sourceforge.pebble.index.TagIndex.<init>(TagIndex.java:63)
> at net.sourceforge.pebble.domain.Blog.init(Blog.java:190)
[...]
you could look into pebbles data directory and locate a file (or
multiple ones) named indexes/tags.index . This should contain entries in
the form of
tag1=entry1,entry2
tag2=entry3,
where entryX is a blog entry id and tagX is the name of a tag. If this
isn't the case, the exception is thrown, caught, logged and ignored...
> The end result is that I get a "blank" page if I try and access any
> blog.. not a desired result..<grin>
It might be that the reason for this is something different than the
given exception. Just in case - make sure, that each blog has at least
one tag that leads to a valid tag.index file (note that all entries
there end with ",")
Be aware: This is a wild guess from poking a bit through the code, not
from running or debugging it.
Earlier I've found some issues with regards to creation of directories
and files during the upgrade process (at least one patch is pending,
waiting for Simon) - see my posts from May.
I'll post another review result that I've found soon, just not tonight.
I believe (or hope) that this has nothing to do with your issues even
though I've found it during this session. Maybe I'll get some time
tomorrow (Sunday) otherwise it will be Monday or Tuesday.
Sorry that I can't be of more help.
Cheers,
Olaf
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user