Skip to content

Commit a163e6c

Browse files
committed
Avoid Null Pointer Exception when GeneXus connection Pool checks if a connection must be recycled.
Issue: 200842 (cherry picked from commit 5b69850)
1 parent bc24d69 commit a163e6c

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)