I was able to nail down what happened.  Apparently, the update made a change
in the xml returned from the master solr for replication.  The page blows up
due to "indexversion" changing to "indexVersion".  So unless both master and
server are at the revision it will blow up with a NPE.  This is because null
is cast to a Long then converted to a long primitive with no exception
handling. (index.jsp like 247)

After fixing the issue by upgrading master and slave I have noticed there is
no Replicatable index version numbers.  I looked at the return from the
master and it would appear there is nothing with those variables being
returned.  We are currently using trunk as of 03/03/2009.  Simple master to
many slaves relationship.

-- 
Jeff Newburn
Software Engineer, Zappos.com
[email protected] - 702-943-7562


> From: Noble Paul നോബിള്‍  नोब्ळ् <[email protected]>
> Reply-To: <[email protected]>
> Date: Wed, 4 Mar 2009 10:08:26 +0530
> To: <[email protected]>
> Subject: Re: Replication page failure :(
> 
> Hi jeff ,
> 
> we were unable to reproduce the issue with the current trunk. Could
> you please confirmthat this error happens with the latest nightly
> also?
> 
> 
> On Wed, Mar 4, 2009 at 9:57 AM, Chris Hostetter
> <[email protected]> wrote:
>> 
>> : I have tracked down the error to the specific date and file. On 2009-02-13
>> : changes were apparently made to fix the replication page for replication
>> off
>> : of a master and slave server.  This causes the jasper error in the
>> : replication/index.jsp file.  I am not sure why it does as most of the file
>> : was rewritten during that update.  I have included the information on
>> : revisions below.
>> 
>> i'm not very familiar with the java replication, but can you let us
>> know how you have the replication handler configured -- that might help
>> identify a code path that is resulting in this NPE.
>> 
>> 
>> : Caused by: java.lang.NullPointerException
>> :     at
>> : org.apache.jsp.admin.replication.index_jsp._jspService(index_jsp.java:294)
>> :     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>> :     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>> :     at
>> 
>> 
>> 
>> 
>> -Hoss
>> 
>> 
> 
> 
> 
> -- 
> --Noble Paul

Reply via email to