rome
  1. rome
  2. ROME-135

Rome 1.0 not JDK 1.4 compatible

    Details

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

      Operating System: All
      Platform: All

    • Issuezilla Id:
      135

      Description

      java.lang.NoSuchMethodError: java.lang.Integer.valueOf(I)Ljava/lang/Integer;
      at com.sun.syndication.io.impl.NumberParser.parseInt(NumberParser.java:54)
      [...]

      Error code line 54:
      return Integer.valueOf(Integer.parseInt(str.trim()));

      Method "Integer.valueOf(int)" came with Java 1.5. In Java 1.4 that line should
      be something like:
      Integer.valueOf(str.trim(), 10);

        Activity

        Hide
        vict0r added a comment -

        Steps for reproducing:
        run your Rome application in pure Java 1.4 environment.

        Full stacktrace:
        java.lang.NoSuchMethodError: java.lang.Integer.valueOf(I)Ljava/lang/Integer;
        at com.sun.syndication.io.impl.NumberParser.parseInt(NumberParser.java:54)
        at
        com.sun.syndication.io.impl.RSS091UserlandParser.parseImage(RSS091UserlandParser.java:164)
        at com.sun.syndication.io.impl.RSS090Parser.parseChannel(RSS090Parser.java:160)
        at
        com.sun.syndication.io.impl.RSS091UserlandParser.parseChannel(RSS091UserlandParser.java:84)
        at com.sun.syndication.io.impl.RSS092Parser.parseChannel(RSS092Parser.java:49)
        at com.sun.syndication.io.impl.RSS094Parser.parseChannel(RSS094Parser.java:45)
        at com.sun.syndication.io.impl.RSS090Parser.parse(RSS090Parser.java:82)
        at com.sun.syndication.io.WireFeedInput.build(WireFeedInput.java:277)
        at com.sun.syndication.io.WireFeedInput.build(WireFeedInput.java:195)
        at com.sun.syndication.io.SyndFeedInput.build(SyndFeedInput.java:123)
        at
        com.sun.syndication.fetcher.impl.HttpURLFeedFetcher.readSyndFeedFromStream(HttpURLFeedFetcher.java:272)
        at
        com.sun.syndication.fetcher.impl.HttpURLFeedFetcher.getSyndFeedFromStream(HttpURLFeedFetcher.java:277)
        at
        com.sun.syndication.fetcher.impl.HttpURLFeedFetcher.resetFeedInfo(HttpURLFeedFetcher.java:191)
        at
        com.sun.syndication.fetcher.impl.HttpURLFeedFetcher.retrieveAndCacheFeed(HttpURLFeedFetcher.java:163)
        at
        com.sun.syndication.fetcher.impl.HttpURLFeedFetcher.retrieveFeed(HttpURLFeedFetcher.java:119)

        Show
        vict0r added a comment - Steps for reproducing: run your Rome application in pure Java 1.4 environment. Full stacktrace: java.lang.NoSuchMethodError: java.lang.Integer.valueOf(I)Ljava/lang/Integer; at com.sun.syndication.io.impl.NumberParser.parseInt(NumberParser.java:54) at com.sun.syndication.io.impl.RSS091UserlandParser.parseImage(RSS091UserlandParser.java:164) at com.sun.syndication.io.impl.RSS090Parser.parseChannel(RSS090Parser.java:160) at com.sun.syndication.io.impl.RSS091UserlandParser.parseChannel(RSS091UserlandParser.java:84) at com.sun.syndication.io.impl.RSS092Parser.parseChannel(RSS092Parser.java:49) at com.sun.syndication.io.impl.RSS094Parser.parseChannel(RSS094Parser.java:45) at com.sun.syndication.io.impl.RSS090Parser.parse(RSS090Parser.java:82) at com.sun.syndication.io.WireFeedInput.build(WireFeedInput.java:277) at com.sun.syndication.io.WireFeedInput.build(WireFeedInput.java:195) at com.sun.syndication.io.SyndFeedInput.build(SyndFeedInput.java:123) at com.sun.syndication.fetcher.impl.HttpURLFeedFetcher.readSyndFeedFromStream(HttpURLFeedFetcher.java:272) at com.sun.syndication.fetcher.impl.HttpURLFeedFetcher.getSyndFeedFromStream(HttpURLFeedFetcher.java:277) at com.sun.syndication.fetcher.impl.HttpURLFeedFetcher.resetFeedInfo(HttpURLFeedFetcher.java:191) at com.sun.syndication.fetcher.impl.HttpURLFeedFetcher.retrieveAndCacheFeed(HttpURLFeedFetcher.java:163) at com.sun.syndication.fetcher.impl.HttpURLFeedFetcher.retrieveFeed(HttpURLFeedFetcher.java:119)

          People

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

            Dates

            • Created:
              Updated: