rome
  1. rome
  2. ROME-95

Encountering NoSuchMethodError for com.sun.syndication.io.SAXBuilder

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: Other

    • Issuezilla Id:
      95

      Description

      I am reading a RSS 2.0 xml file into a XmlReader with the following code:
      SyndFeed feed = input.build( feedReader ) where feedReader is a object of type
      URL. I am encountering the following error after processing the previous line
      of code:

      [3/18/08 2:19:24:362 CDT] 00000024 SystemErr R java.lang.NoSuchMethodError:
      com.sun.syndication.io.SAXBuilder: method setFeature(Ljava/lang/String;Z)V not
      found
      at com.sun.syndication.io.WireFeedInput.createSAXBuilder
      (WireFeedInput.java:277)
      at com.sun.syndication.io.WireFeedInput.build(WireFeedInput.java:173)

      According to the javadoc, com.sun.syndication.io.SAXBuilder is extended from
      org.jdom.input.SAXBuilder which does have a setFeature method for SAXBuilder.
      I am using Rome 0.9 and JDOM 1.1 and this code is being executed in a servlet
      built with RAD 7.0.

        Activity

        Hide
        tucu added a comment -

        JDOM 1.1 has not been tested with ROME 0.9.

        Show
        tucu added a comment - JDOM 1.1 has not been tested with ROME 0.9.
        Hide
        tucu added a comment -

        I'm changed the project.xml to use jdom 1.1 (I had to install it manually in
        ~/.maven ).

        All test cases pass successful.

        Using the FeedReader sample to fetch a URL it works fine as well.

        Please verify and or clarify steps or provide code/URL that recreates the problem.

        Show
        tucu added a comment - I'm changed the project.xml to use jdom 1.1 (I had to install it manually in ~/.maven ). All test cases pass successful. Using the FeedReader sample to fetch a URL it works fine as well. Please verify and or clarify steps or provide code/URL that recreates the problem.
        Hide
        nicklothian added a comment -

        Partial fix committed

        Show
        nicklothian added a comment - Partial fix committed
        Hide
        nicklothian added a comment -

        Err - my previous comment was for another issue, sorry. Please ignore.

        Show
        nicklothian added a comment - Err - my previous comment was for another issue, sorry. Please ignore.

          People

          • Assignee:
            rome-issues
            Reporter:
            aupmann
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: