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.

Bug 145618 - [saas][twitter] some responses from twitter are not supported by schema
Summary: [saas][twitter] some responses from twitter are not supported by schema
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Manager (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Peter Liu
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2008-08-29 19:05 UTC by Lukas Jungmann
Modified: 2008-09-04 06:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2008-08-29 19:05:19 UTC
-open websvc.saas.services.twitter module
-run Test action

=>
Expected: no test will fail
Actual: 6 tests fail

sample responses used in tests are responses to API calls using my twitter account

the most important issue I see here is that if a user who has no direct message will call "getDirectMessagesToMe" method
then he will immediately ends up with JAXBExceprion because twitter will return <nil-classes type="array"/> in this case.


Not sure but there might some information relevant to this at http://tinyurl.com/5lt57b
Comment 1 Peter Liu 2008-08-29 23:56:49 UTC
The issue with <nil-classes> is being tracked by IZ 133854.
It looks like Twitter now supports logging bugs. I'll try to log a bug with them on this.
hg
Comment 2 Peter Liu 2008-08-29 23:58:20 UTC
fixed
Comment 3 Lukas Jungmann 2008-09-03 17:04:54 UTC
v., tests for newly added elements pushed in a28e39e74fb1
Comment 4 Quality Engineering 2008-09-04 06:12:55 UTC
Integrated into 'main-golden', will be available in build *200809040201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a28e39e74fb1
User: Lukas Jungmann <jungi@netbeans.org>
Log: more tests for twitter (IZ #145618)