| Summary: | NoSuchElementException while making remote calls while attending to a forward_request | ||
|---|---|---|---|
| Product: | JacORB | Reporter: | Hugo Roenick <hroenick> |
| Component: | ORB | Assignee: | Mailinglist to track bugs <jacorb-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | CC: | hroenick, jacorb |
| Priority: | P5 | ||
| Version: | 3.6.1 | ||
| Hardware: | PC | ||
| OS: | All | ||
| Attachments: | demo that demonstrate the error | ||
Resolved by 6f7cbd2c498807214157e652785c4bd515da7471 and tested in 64106ffeb3ba920391f35213d622aee3c415bae7 |
Created attachment 465 [details] demo that demonstrate the error Making 2 or more remote calls during send_request interception point and doing it while attending to a forward_request attempt causes an exception java.util.NoSuchElementException. The stack trace is as follows: Exception in thread "main" java.util.NoSuchElementException at java.util.ArrayDeque.removeFirst(ArrayDeque.java:278) at java.util.ArrayDeque.pop(ArrayDeque.java:507) at org.jacorb.orb.portableInterceptor.ClientInterceptorIterator.invoke(ClientInterceptorIterator.java:169) at org.jacorb.orb.portableInterceptor.AbstractInterceptorIterator.iterate(AbstractInterceptorIterator.java:66) at org.jacorb.orb.portableInterceptor.ClientInterceptorIterator.iterate(ClientInterceptorIterator.java:79) at org.jacorb.orb.portableInterceptor.DefaultClientInterceptorHandler.invokeInterceptors(DefaultClientInterceptorHandler.java:331) at org.jacorb.orb.portableInterceptor.DefaultClientInterceptorHandler.handle_send_request(DefaultClientInterceptorHandler.java:135) at org.jacorb.orb.Delegate._invoke_internal(Delegate.java:1268) at org.jacorb.orb.Delegate.invoke_internal(Delegate.java:1171) at org.jacorb.orb.Delegate.invoke(Delegate.java:1159) at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:475) at demo._DoorStub.canIComeIn(_DoorStub.java:119) at demo.door.DoorClient.main(DoorClient.java:41) I checked that this kind of error does not occur in JacORB 3.5 and is present in versions 3.6 and 3.6.1.