jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • castor
  • CASTOR-1944

ArrayIndexOutOfBoundsException with BaseFactory

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 1.1
  • Fix Version/s: 1.1.1
  • Component/s: XML code generator
  • Labels:
    None

Description

Submitted on behalf of Richard Perrott:

I saw an ArrayIndexOutOfBoundsException for org.exolab.castor.builder.BaseFactory in Castor 1.0.5 and now for Castor 1.1, for XML class building, it obviously had not been fixed in Castor 1.1 and was a time critical issue for me, so here is the fix ported to Castor 1.1, to help other people.

See line 104 of the patched source file for details.

Regards,

Richard Perrott

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Java Source File
    BaseFactory.java
    13/Apr/07 12:57 AM
    4 kB
    Keith Visco

Issue Links

duplicates

Bug - A problem which impairs or prevents the functions of the product. CASTOR-1905 xs:documentation string ending in * (asterix) causes ArrayIndexOutOfBoundsException in BaseFactory.normalize()

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Werner Guttmann added a comment - 13/Apr/07 2:31 AM

This is a duplicate of CASTOR-1905.

Show
Werner Guttmann added a comment - 13/Apr/07 2:31 AM This is a duplicate of CASTOR-1905.

People

  • Assignee:
    Werner Guttmann
    Reporter:
    Keith Visco
Vote (0)
Watch (0)

Dates

  • Created:
    13/Apr/07 12:57 AM
    Updated:
    20/Apr/07 10:23 AM
    Resolved:
    13/Apr/07 2:31 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.