
| Key: |
HJMS-37
|
| Type: |
Improvement
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Colin Crist
|
| Reporter: |
Colin Crist
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
HermesJMS
Created: 07/Jun/07 07:58 AM
Updated: 07/Jun/07 08:29 AM
|
|
| Component/s: |
GUI
|
| Affects Version/s: |
1.12
|
| Fix Version/s: |
1.13
|
|
|
When Context.lookup() is called with a null binding, JNDI gives an NPE:
java.lang.NullPointerException
at javax.naming.InitialContext.getURLScheme(InitialContext.java:228)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:277)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at hermes.JNDIConnectionFactory.createConnection(JNDIConnectionFactory.java:69)
at hermes.impl.jms.ConnectionManagerSupport.createConnection(ConnectionManagerSupport.java:117)
Hermes should check the binding property and give a more meaningful error message.
|
|
Description
|
When Context.lookup() is called with a null binding, JNDI gives an NPE:
java.lang.NullPointerException
at javax.naming.InitialContext.getURLScheme(InitialContext.java:228)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:277)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at hermes.JNDIConnectionFactory.createConnection(JNDIConnectionFactory.java:69)
at hermes.impl.jms.ConnectionManagerSupport.createConnection(ConnectionManagerSupport.java:117)
Hermes should check the binding property and give a more meaningful error message.
|
Show » |
|
|