Issue Details (XML | Word | Printable)

Key: ROME-135
Type: Bug Bug
Status: Open Open
Priority: Blocker Blocker
Assignee: rome-issues
Reporter: vict0r
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
rome

Rome 1.0 not JDK 1.4 compatible

Created: 29/Sep/09 11:54 PM   Updated: 29/Sep/09 11:58 PM
Component/s: www
Affects Version/s: current
Fix Version/s: milestone 1

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All


Issuezilla Id: 135
Tags:
Participants: rome-issues and vict0r


 Description  « Hide

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);



vict0r added a comment - 29/Sep/09 11:58 PM

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)


kenaiadmin made changes - 04/Jan/11 03:48 PM
Field Original Value New Value
issue.field.bugzillaimportkey 135 60612