Created and resolved CONNECTORS-1613. Karl
On Mon, Jun 24, 2019 at 8:28 AM Karl Wright <[email protected]> wrote: > Hi Cihad, > > The unexpected job status error I cannot help you with; somehow your > database has gotten corrupted. But I'm looking into the AIOOBE issue now. > > Karl > > > On Mon, Jun 24, 2019 at 6:01 AM Cihad Guzel <[email protected]> wrote: > >> Hi Karl, >> >> I have 2 types error as follow: >> >> FATAL 2019-06-24T09:37:27,226 (Worker thread '3') - Error tossed: 7 >> java.lang.ArrayIndexOutOfBoundsException: 7 >> at >> org.apache.manifoldcf.crawler.connectors.jdbc.JDBCConnector.applyMultiAttributeValues(JDBCConnector.java:2188) >> ~[?:?] >> at >> org.apache.manifoldcf.crawler.connectors.jdbc.JDBCConnector.processDocuments(JDBCConnector.java:785) >> ~[?:?] >> at >> org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:399) >> [mcf-pull-agent.jar:?] >> ERROR 2019-06-24T09:37:46,763 (Seeding thread) - Exception tossed: >> Unexpected job status: 0 >> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Unexpected job >> status: 0 >> at >> org.apache.manifoldcf.crawler.jobs.JobManager.resetSeedJob(JobManager.java:7934) >> ~[mcf-pull-agent.jar:?] >> at >> org.apache.manifoldcf.crawler.system.SeedingThread.run(SeedingThread.java:242) >> [mcf-pull-agent.jar:?] >> >> Regards, >> Cihad Guzel >> >> >> Cihad Guzel <[email protected]>, 24 Haz 2019 Pzt, 12:39 tarihinde şunu >> yazdı: >> >>> Hi Karl, >>> >>> I have new log as follow: >>> >>> FATAL 2019-06-24T09:36:49,591 (Worker thread '1') - Error tossed: 7 >>> java.lang.ArrayIndexOutOfBoundsException: 7 >>> at >>> org.apache.manifoldcf.crawler.connectors.jdbc.JDBCConnector.applyMultiAttributeValues(JDBCConnector.java:2188) >>> ~[?:?] >>> at >>> org.apache.manifoldcf.crawler.connectors.jdbc.JDBCConnector.processDocuments(JDBCConnector.java:785) >>> ~[?:?] >>> at >>> org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:399) >>> [mcf-pull-agent.jar:?] >>> FATAL 2019-06-24T09:36:49,591 (Worker thread '0') - Error tossed: 7 >>> java.lang.ArrayIndexOutOfBoundsException: 7 >>> at >>> org.apache.manifoldcf.crawler.connectors.jdbc.JDBCConnector.applyMultiAttributeValues(JDBCConnector.java:2188) >>> ~[?:?] >>> at >>> org.apache.manifoldcf.crawler.connectors.jdbc.JDBCConnector.processDocuments(JDBCConnector.java:785) >>> ~[?:?] >>> at >>> org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:399) >>> [mcf-pull-agent.jar:?] >>> FATAL 2019-06-24T09:36:50,206 (Worker thread '4') - Error tossed: 7 >>> java.lang.ArrayIndexOutOfBoundsException: 7 >>> at >>> org.apache.manifoldcf.crawler.connectors.jdbc.JDBCConnector.applyMultiAttributeValues(JDBCConnector.java:2188) >>> ~[?:?] >>> at >>> org.apache.manifoldcf.crawler.connectors.jdbc.JDBCConnector.processDocuments(JDBCConnector.java:785) >>> ~[?:?] >>> at >>> org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:399) >>> [mcf-pull-agent.jar:?] >>> FATAL 2019-06-24T09:36:50,398 (Worker thread '3') - Error tossed: 7 >>> java.lang.ArrayIndexOutOfBoundsException: 7 >>> at >>> org.apache.manifoldcf.crawler.connectors.jdbc.JDBCConnector.applyMultiAttributeValues(JDBCConnector.java:2188) >>> ~[?:?] >>> at >>> org.apache.manifoldcf.crawler.connectors.jdbc.JDBCConnector.processDocuments(JDBCConnector.java:785) >>> ~[?:?] >>> at >>> org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:399) >>> [mcf-pull-agent.jar:?] >>> FATAL 2019-06-24T09:36:50,776 (Worker thread '5') - Error tossed: 7 >>> >>> Cihad Güzel >>> >>> >>> Karl Wright <[email protected]>, 23 Haz 2019 Paz, 22:14 tarihinde şunu >>> yazdı: >>> >>>> Hi Cihad, >>>> >>>> The JVM suppresses traces after the first thousand or so for this kind >>>> of exception. So you need to go to the beginning of the log. >>>> >>>> Karl >>>> >>>> >>>> On Sun, Jun 23, 2019 at 3:07 PM Cihad Guzel <[email protected]> wrote: >>>> >>>>> Hi Karl, >>>>> >>>>> No, I have not any different lines. These error logs continue to be >>>>> written in logs file. I have only this lines: >>>>> >>>>> FATAL 2019-06-23T18:50:36,225 (Worker thread '16') - Error tossed: null >>>>> java.lang.ArrayIndexOutOfBoundsException >>>>> FATAL 2019-06-23T18:50:36,266 (Worker thread '12') - Error tossed: null >>>>> java.lang.ArrayIndexOutOfBoundsException >>>>> FATAL 2019-06-23T18:50:36,402 (Worker thread '13') - Error tossed: null >>>>> java.lang.ArrayIndexOutOfBoundsException >>>>> FATAL 2019-06-23T18:50:37,774 (Worker thread '22') - Error tossed: null >>>>> java.lang.ArrayIndexOutOfBoundsException >>>>> FATAL 2019-06-23T18:50:38,083 (Worker thread '27') - Error tossed: null >>>>> java.lang.ArrayIndexOutOfBoundsException >>>>> FATAL 2019-06-23T18:50:38,223 (Worker thread '23') - Error tossed: null >>>>> java.lang.ArrayIndexOutOfBoundsException >>>>> FATAL 2019-06-23T18:50:38,536 (Worker thread '15') - Error tossed: null >>>>> java.lang.ArrayIndexOutOfBoundsException >>>>> >>>>> >>>>> Cihad Güzel >>>>> >>>>> >>>>> Karl Wright <[email protected]>, 23 Haz 2019 Paz, 21:53 tarihinde >>>>> şunu yazdı: >>>>> >>>>>> Hi Cihad, >>>>>> >>>>>> Do you have a stack trace of the ArrayIndexOutOfBounds exception? It >>>>>> would have to be taken from early when it started happening. >>>>>> >>>>>> What the "Error: Unexpected job status encountered: 1" error means >>>>>> is that the character that is stored in the job status field is not one >>>>>> that ManifoldCF recognizes. If you did not manually update the job table >>>>>> then the only way this could have occurred is through some kind of >>>>>> database >>>>>> corruption. I have never seen this precise error before, FWIW. >>>>>> >>>>>> Karl >>>>>> >>>>>> >>>>>> On Sun, Jun 23, 2019 at 2:43 PM Cihad Guzel <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> My crawler is received an error and is waiting with aborting status >>>>>>> for a long time. My manifoldcf.log has some repetitive error logs as >>>>>>> follow: >>>>>>> >>>>>>> java.lang.ArrayIndexOutOfBoundsException >>>>>>> FATAL 2019-06-19T21:58:12,180 (Worker thread '5') - Error tossed: >>>>>>> null >>>>>>> >>>>>>> So I restarted the manifoldcf agent. Then the waiting job was >>>>>>> stopped and status of it was is updated as "Error". >>>>>>> >>>>>>> I opened the Status of Jobs table on manifoldcf interface, then I >>>>>>> saw following error message: >>>>>>> "Error: Unexpected job status encountered: 1" >>>>>>> >>>>>>> The error message is print by Job.java but I don't understand why to >>>>>>> encountered with this error. Is there an error that is not handled? >>>>>>> >>>>>>> Regards, >>>>>>> Cihad Güzel >>>>>>> >>>>>>
