Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#8 internal generation code initial limit error

v0.2.1
closed-fixed
Carlos Saltos
5
2004-10-10
2004-10-10
Carlos Saltos
No

when the initial generation code is initially setted is
begining in an already existing PK.

17:14:02,980 ERROR [Page] Error registering page:
http://www.gentoo.org:80/main/en/about.xml
java.sql.SQLException: Violation of unique index:
SYS_PK_OX_PAGE in statement [insert into
ox_page(code_page, code_server, state, path)
values(0,0,0,'/main/en/about.xml')]
at org.hsqldb.Trace.getError(Unknown Source)
at org.hsqldb.jdbcResultSet.<init>(Unknown Source)
at
org.hsqldb.jdbcConnection.executeStandalone(Unknown Source)
at org.hsqldb.jdbcConnection.execute(Unknown
Source)
at org.hsqldb.jdbcStatement.fetchResult(Unknown
Source)
at
org.hsqldb.jdbcStatement.executeUpdate(Unknown Source)
at
org.hsqldb.jdbcPreparedStatement.executeUpdate(Unknown
Source)
at
org.oxyus.crawler.Page.locateOrCreate(Page.java:316)
at org.oxyus.crawler.Page.recordLink(Page.java:266)
at org.oxyus.crawler.Page.recordLink(Page.java:178)
at
org.oxyus.crawler.parser.HTMLParser.collect(HTMLParser.java:108)
at
org.oxyus.crawler.parser.HTMLParser.collect(HTMLParser.java:144)
at
org.oxyus.crawler.parser.HTMLParser.collect(HTMLParser.java:144)
at
org.oxyus.crawler.parser.HTMLParser.collect(HTMLParser.java:144)
at
org.oxyus.crawler.parser.HTMLParser.collect(HTMLParser.java:144)
at
org.oxyus.crawler.parser.HTMLParser.collect(HTMLParser.java:144)
at
org.oxyus.crawler.parser.HTMLParser.collect(HTMLParser.java:144)
at
org.oxyus.crawler.parser.HTMLParser.collect(HTMLParser.java:144)
at
org.oxyus.crawler.parser.HTMLParser.collect(HTMLParser.java:67)
at
org.oxyus.crawler.Page.generateDocument(Page.java:428)
at org.oxyus.crawler.Page.index(Page.java:416)
at
org.oxyus.crawler.Collector.collect(Collector.java:82)
at
org.oxyus.crawler.Collector.run(Collector.java:114)
at java.lang.Thread.run(Thread.java:595)
at
org.oxyus.crawler.Crawler.crawl(Crawler.java:122)
at org.oxyus.crawler.Crawler.crawl(Crawler.java:98)
at
org.oxyus.crawler.Crawler.execute(Crawler.java:62)
at
org.quartz.core.JobRunShell.run(JobRunShell.java:191)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

Discussion

  • Carlos Saltos
    Carlos Saltos
    2004-10-10

    • status: open --> closed-fixed
     
  • Carlos Saltos
    Carlos Saltos
    2004-10-10

    Logged In: YES
    user_id=281986

    now the initial limit is calculated to the max + 1