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 90683 - Stock service sample throws exception for any symbol except 'SUNW' and 'ORCL'
Summary: Stock service sample throws exception for any symbol except 'SUNW' and 'ORCL'
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Identity (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Peter Liu
URL:
Keywords:
Depends on:
Blocks: 89517
  Show dependency tree
 
Reported: 2006-12-06 17:42 UTC by Andrey Yamkovoy
Modified: 2007-03-12 13:10 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 Andrey Yamkovoy 2006-12-06 17:42:44 UTC
Stock service works correctly only with case-sensitive symbols 'SUNW' 
and 'ORCL'. It would be better to check 'data' variable in 'getStockQuote' 
operation for null and in this case informate user with something like 'there 
is no info for the giving symbol ...'

Steps to reproduce:
- Create Stock Client and Stock Service projects.
- Deploy Stock Service project.
- Run Stock Client project.
- When Stock Client servlet running enter any symbol except 'SUNW' and 'ORCL'.
- Click 'Submit' button.
- Following exception occurs:

Caught an exception

java.rmi.ServerException: JAXRPC.TIE.04: Internal Server Error (JAXRPCTIE01: 
caught exception while handling request: java.rmi.RemoteException)
Comment 1 Peter Liu 2007-02-07 23:18:00 UTC
Will try to fix this after Gavotte beta
Comment 2 Peter Liu 2007-03-01 05:55:56 UTC
Fix checked into release551 branch.
Comment 3 Andrey Yamkovoy 2007-03-12 13:10:37 UTC
Fix verified.