Skip to content

Commit 0f8db09

Browse files
authored
Avoid Null Pointer Exception when GeneXus connection Pool checks if a connection must be recycled. (#890)
Issue: 200842
1 parent 4ae6139 commit 0f8db09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/src/main/java/com/genexus/db/driver/GXConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public final class GXConnection extends AbstractGXConnection implements Connecti
8282

8383
//JMX Properties
8484
int numberRequest = 0;
85-
java.util.Date timeLastRequest;
85+
java.util.Date timeLastRequest = new java.util.Date();
8686
String sentenceLastRequest;
8787
String lastObjectExecuted;
8888
boolean finishExecute = true;

0 commit comments

Comments
 (0)