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

Summary: Stock service sample throws exception for any symbol except 'SUNW' and 'ORCL'
Product: serverplugins Reporter: Andrey Yamkovoy <kaktus>
Component: IdentityAssignee: Peter Liu <petertliu>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 89517    

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.