[JAVA-2449] NullPointerException in ClientMetadataHelper.getDriverVersion Created: 14/Feb/17 Updated: 02/Aug/17 Resolved: 09/Mar/17 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Monitoring |
| Affects Version/s: | 3.4.0 |
| Fix Version/s: | 3.4.3, 3.5.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Piotr Dydycz | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
java version "1.8.0_111" |
||
| Issue Links: |
|
||||||||
| Description |
|
Java Driver throws NPE in:
We are running the driver in environment where
returns null (some strange classloader)
It would be better to check it for nullness and for example set driverVersion = "unknown" (as it is being done in case of other errors). |
| Comments |
| Comment by Githook User [ 09/Mar/17 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: |
| Comment by Jeffrey Yemin [ 14/Feb/17 ] |
|
That's sufficient. Thanks, |
| Comment by Piotr Dydycz [ 14/Feb/17 ] |
|
It is running inside Software AG webMethods Integration Server (mongo driver is deployed inside Integration Server package). What else you want to know? |
| Comment by Jeffrey Yemin [ 14/Feb/17 ] |
|
Can you describe the environment in which the application is running? I'd like to understand the root cause a little better to see how common this might be. |