This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7250 - Startup failure possible when running the Checker as part of a daemon
Summary: Startup failure possible when running the Checker as part of a daemon
Status: RESOLVED FIXED
Alias: None
Product: mobileOK Basic checker
Classification: Unclassified
Component: Java Library (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: fd
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-10 14:56 UTC by fd
Modified: 2009-08-10 14:58 UTC (History)
0 users

See Also:


Attachments

Description fd 2009-08-10 14:56:59 UTC
ExtendedCatalogResolver.findEndOfSlashes crashes when incoming string ends with "/". This can actually occurs when the library is called from within a script that executes as a daemon at startup.

The working directory seems to be the root in that case, which means the function may be called with something like:
 "file:////"
Comment 1 fd 2009-08-10 14:58:12 UTC
Function updated not to trigger any IndexOutOfBoundsException.