Bug 98179 - ContentChangeTime.getEarliestTime did not return a row
ContentChangeTime.getEarliestTime did not return a row
Product: Red Hat Web Application Framework
Classification: Retired
Component: other (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: ccm-bugs-list
Jon Orris
Depends On:
Blocks: rc0blockers
  Show dependency treegraph
Reported: 2003-06-27 11:43 EDT by Branimir Dolicki
Modified: 2007-04-18 12:55 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-07-02 16:44:44 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Branimir Dolicki 2003-06-27 11:43:17 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Description of problem:
After installing the tip my log file started to get filled with error messages
like this every 60 seconds:

2003-06-27 16:41:58,609 [ead-3] ERROR search.ContentChangeTime -
ContentChangeTime.getEarliestTime did not return a row
2003-06-27 16:41:58,609 [ead-3] ERROR search.TimerFinished -
BuildIndex.checkState() failed!
java.lang.IllegalStateException: ContentChangeTime.getEarliestTime did not
return a row
        at com.arsdigita.search.BuildIndex.shouldSyncAgain(BuildIndex.java:313)
        at com.arsdigita.search.BuildIndex.checkState(BuildIndex.java:266)
        at com.arsdigita.search.TimerFinished.run(TimerFinished.java:41)
        at java.util.TimerThread.mainLoop(Timer.java:430)
        at java.util.TimerThread.run(Timer.java:380)

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
(1) Install fresh from the tip.

(2) Cause the LuceneInitializer to fail by misconfiguration (I suspect
that this left my database in a unique state)

(3) Fix the misconfiguration and restart

All initializers run fine but the above error messages is seen in ccm.log

This might be hard to reproduce,
but hopefully someone familiar with te search should see what is wrong.  Here's
the content of my content_change_time table:

SQL> select to_char(change_time) from content_change_time;
6 rows selected.

As well as my SYSDATE:

SQL> SELECT to_char(sysdate, 'YYYY-MM-DD HH24:MI:SS') from dual;
2003-06-27 17:33:34

Additional info:
Comment 1 Branimir Dolicki 2003-06-27 12:54:30 EDT
BTW, I just reloaded my data model and I'm seeing the same problem although I
did not have a problem with LuceneInitializer this time.

Messages started to show up in the config file after I published my first item.
Comment 2 Jon Orris 2003-07-02 16:44:44 EDT
Fixed @33009

Note You need to log in before you can comment on or make changes to this bug.