Opened 4 years ago

Closed 2 years ago

#2249 closed defect (fixed)

Errors in secore log

Reported by: Dimitar Misev Owned by: Bang Pham Huu
Priority: minor Milestone: 11.0
Component: secore Version: 9.8
Keywords: Cc:
Complexity: Medium

Description

This error repeats many times when the systemtest executes in the ubuntu1804 VM

ERROR [2020-03-09 20:09:15] SecoreController@129: Exception caught:
  InvalidRequest: Failed resolving request 'http://localhost:8080/uom/OGC/1.0/GridSpacing', check if version number is valid or crs definition exists first.
        at org.rasdaman.secore.handler.GeneralHandler.resolveRequest(GeneralHandler.java:128)
        at org.rasdaman.secore.handler.GeneralHandler.handle(GeneralHandler.java:88)
        at org.rasdaman.secore.Resolver.resolve(Resolver.java:102)
...

Furthermore, occasionally this error seems to happen

  INFO [2020-03-09 20:13:23] SecoreController@81: Received request: http://localhost:8080/def/datum
   ERROR [2020-03-09 20:13:27] SecoreController@129: Exception caught:
  InternalComponentError: Failed at querying the database, detail: Improper use? Potential bug? Your feedback is welcome:
Caused by: org.basex.core.BaseXException: Improper use? Potential bug? Your feedback is welcome:
Contact: basex-talk@mailman.uni-konstanz.de
Version: BaseX 8.6.7
Java: Ubuntu, 11.0.4
OS: Linux, amd64
Stack Trace: 
java.lang.RuntimeException: Data Access out of bounds:
- pre value: 824011
- table size: 824011
- first/next pre value: 823808/824011
- #total/used pages: 3219/3219
- accessed page: 3218 (3219 > 3218]
        at org.basex.util.Util.notExpected(Util.java:62)
        at org.basex.io.random.TableDiskAccess.cursor(TableDiskAccess.java:455)
        at org.basex.io.random.TableDiskAccess.read1(TableDiskAccess.java:148)
        at org.basex.data.Data.kind(Data.java:293)
        at org.basex.query.value.node.DBNode$5.next(DBNode.java:355)
        at org.basex.query.value.node.DBNode$5.next(DBNode.java:347)
        at org.basex.query.iter.BasicNodeIter$2.hasNext(BasicNodeIter.java:39)
        at org.basex.query.expr.path.IterStep$1.next(IterStep.java:38)
        at org.basex.query.expr.path.CachedPath.iter(CachedPath.java:72)
        at org.basex.query.expr.path.CachedPath.nodeIter(CachedPath.java:47)
        at org.basex.query.expr.path.AxisPath.iter(AxisPath.java:74)
        at org.basex.query.expr.path.AxisPath.iter(AxisPath.java:45)
        at org.basex.query.QueryContext.iter(QueryContext.java:395)
        at org.basex.query.expr.ParseExpr.value(ParseExpr.java:68)
        at org.basex.query.QueryContext.value(QueryContext.java:406)
        at org.basex.query.expr.gflwor.Let$LetEval.next(Let.java:185)
        at org.basex.query.expr.gflwor.GFLWOR$1.next(GFLWOR.java:93)
        at org.basex.query.iter.AtomIter.next(AtomIter.java:49)
        at org.basex.query.func.fn.FnDistinctValues.value(FnDistinctValues.java:55)
        at org.basex.query.QueryContext.value(QueryContext.java:406)
        at org.basex.query.expr.gflwor.Let$LetEval.next(Let.java:185)
        at org.basex.query.expr.gflwor.GFLWOR$1.next(GFLWOR.java:93)
        at org.basex.query.scope.MainModule$1.next(MainModule.java:125)
        at org.basex.core.cmd.AQuery.query(AQuery.java:94)
        at org.basex.core.cmd.XQuery.run(XQuery.java:22)
        at org.basex.core.Command.run(Command.java:257)
        at org.basex.core.Command.execute(Command.java:93)
        at org.basex.core.Command.execute(Command.java:116)
        at org.rasdaman.secore.db.BaseX.query(BaseX.java:159)
        at org.rasdaman.secore.db.BaseX.queryEpsg(BaseX.java:267)
        at org.rasdaman.secore.util.SecoreUtil.queryDefVersionless(SecoreUtil.java:244)
        at org.rasdaman.secore.handler.IncompleteUrlHandler.queryIncompleteUrl(IncompleteUrlHandler.java:175)
        at org.rasdaman.secore.handler.IncompleteUrlHandler.handle(IncompleteUrlHandler.java:132)
        at org.rasdaman.secore.Resolver.resolve(Resolver.java:102)
        at org.rasdaman.secore.controller.SecoreController.handle(SecoreController.java:99)
...
 Check collection name and version are valid first.
        at org.rasdaman.secore.db.BaseX.query(BaseX.java:173)
        at org.rasdaman.secore.db.BaseX.queryEpsg(BaseX.java:267)
        at org.rasdaman.secore.util.SecoreUtil.queryDefVersionless(SecoreUtil.java:244)
        at org.rasdaman.secore.handler.IncompleteUrlHandler.queryIncompleteUrl(IncompleteUrlHandler.java:175)
        at org.rasdaman.secore.handler.IncompleteUrlHandler.handle(IncompleteUrlHandler.java:132)
        at org.rasdaman.secore.Resolver.resolve(Resolver.java:102)
        at org.rasdaman.secore.controller.SecoreController.handle(SecoreController.java:99)

Change History (2)

comment:1 by Dimitar Misev, 4 years ago

Milestone: 10.011.0

comment:2 by Bang Pham Huu, 2 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.