This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version: NetBeans IDE 7.3 RC1 (Build 201301232200) Java: 1.7.0_11; Java HotSpot(TM) 64-Bit Server VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_11-b21 System: Windows 7 version 6.1 running on amd64; MS932; ja_JP (nb) It seems that twitter web service bundled NetBeans generated code but not working against recent twitter. For example, getUserTimeline causes the following exception. Exception in thread "main" com.sun.jersey.api.client.UniformInterfaceException: GET http://twitter.com/statuses/user_timeline.xml?count=1 returned a response status of 404 Not Found at com.sun.jersey.api.client.WebResource.handle(WebResource.java:686) at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:507) at javaapplication3.JavaApplication3$Twitter_OAuth_user_timeline__format_JerseyClient.getUserTimeline(JavaApplication3.java:105) at javaapplication3.JavaApplication3.initUserInfo(JavaApplication3.java:56) at javaapplication3.JavaApplication3.main(JavaApplication3.java:35) http://twitter.com/statuses/user_timeline.xml has been changed to https://api.twitter.com/1/statuses/user_timeline.xml. Also the sample project which can be downloaded from http://netbeans.org/kb/docs/websvc/twitter-swing.html tutorial is also causing this error. Please evaluate.
Cc'ing David - David, since you are thinking about how web service consumption should work, what do you think we should do about the bundled Twitter support and other services included in the Services tab?
Thanks for bringing this issue to our attention. It is a simple case of web service definition in NB being out of date. I found https://dev.twitter.com/blog/api-housekeeping which states that these web service endpoints ceased to work on May 14th, 2012. We must update the definition files on NB side.
CCing Ken to deal with the tutorial. As for the code I thought I would update it quickly myself but it's not that easy - it looks like original Twitter WADL was written by us?? I cannot find the newer version anywhere on the Twitter website.
I am retiring that tutorial when the docs are pushed for FCS pending a resolution. I see that code must be updated to use API 1.1 by March 2013 because older links will not work. I do not know how much update will be required so we can post a new version of the tutorial when we have it working again.
I'm commenting out the Twitter module from daily build until it gets fixed. 250018:acaf6bbe8ad3
After fixing following changesets must be backouted: web-main #d69c91ced5ce web-main #c7fc1845852f
Needs to be re-evaluated, and at least re-enable the OAuth client
*** Bug 251507 has been marked as a duplicate of this bug. ***
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss