History | Log In      
Issue Details (XML | Word | Printable)

Key: TFJ-3
Type: Bug
Status: Closed
Resolution: Fixed
Priority: Major
Assignee: Yusuke Yamamoto
Reporter: Yusuke Yamamoto
Votes: 0
Watchers: 0
Operations

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

some methods of User instance retrieved from Twitter#getFriends() throw NullPointerException

Created: 21/Jun/07 07:15 PM   Updated: 22/Jun/07 12:24 AM
Component/s: Core
Affects Version/s: 1.0
Fix Version/s: 1.0.1

External References:
wnekeruf (wnekeruf)
wnekeruf
tdotyata (tdotyata)
tdotyata
danazol (danazol)
danazol
buy cialis (buy cialis)
buy cialis
kenalog (kenalog)
kenalog
fosamax (fosamax)
fosamax
clopidogrel (clopidogrel)
clopidogrel
generic ultram (generic ultram)
generic ultram
order soma online (order soma online)
order soma online


 Description  « Hide
http://twitter.com/statuses/friends.xml returns list of <user> as follows:
----------------------------------
<users>
  <user>
    <id>6377362</id>
    <name>twit4j2</name>
    <screen_name>twit4j2</screen_name>
    <location></location>
    <description></description>
    <profile_image_url>http://assets0.twitter.com/images/default_image.gif?1182411254</profile_image_url>
    <url></url>
    <protected>true</protected>
    <status>
      <created_at>Thu Jun 21 02:24:44 +0000 2007</created_at>
      <id>113888932</id>
      <text>6/21:id2</text>
    </status>
  </user>
</users>
----------------------------------
Thus following methods should be moved to UserWithStatus:
getProfileBackgroundColor()
getProfileTextColor()
getProfileLinkColor()
getProfileSidebarFillColor()
getProfileSidebarBorderColor()
getFriendsCount()
getFollowersCount()
getFavouritesCount()
getStatusesCount()

 All   Comments   Change History   Subversion Commits      Sort Order:
Yusuke Yamamoto - [21/Jun/07 11:45 PM ]
Following methods has been moved from User.java to UserWithStatus.java:
getProfileBackgroundColor()
getProfileTextColor()
getProfileLinkColor()
getProfileSidebarFillColor()
getProfileSidebarBorderColor()
getFriendsCount()
getFollowersCount()
getFavouritesCount()
getStatusesCount()