Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Soumya_M
Contributor
Contributor

need help in rectifying this error:

 

Exception in component tDBOutput_1 (trial2)

org.postgresql.util.PSQLException: Something unusual has occurred to cause the driver to fail. Please report this exception.

at org.postgresql.Driver.connect(Driver.java:281)

at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:683)

at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:230)

at local_project.trial2_0_1.trial2.tFileInputDelimited_1Process(trial2.java:1024)

at local_project.trial2_0_1.trial2.runJobInTOS(trial2.java:1925)

at local_project.trial2_0_1.trial2.main(trial2.java:1763)

Caused by: java.lang.IllegalArgumentException: Empty string 'password'

at org.postgresql.shaded.com.ongres.scram.common.util.Preconditions.checkNotEmpty(Preconditions.java:56)

at org.postgresql.shaded.com.ongres.scram.client.ScramSession$ServerFirstProcessor.clientFinalProcessor(ScramSession.java:128)

at org.postgresql.jre7.sasl.ScramAuthenticator.processServerFirstMessage(ScramAuthenticator.java:132)

at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:690)

at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:146)

at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:197)

at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)

at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:217)

at org.postgresql.Driver.makeConnection(Driver.java:458)

at org.postgresql.Driver.connect(Driver.java:260)

... 5 more

 

Labels (3)
1 Solution

Accepted Solutions
ann-gaelle
Contributor III
Contributor III

Hello,

By reading the error messages, I would say you didn't specify the password to connect to the database, so it's sending the default one (""). To change it you need to click on the "..." next to password

View solution in original post

2 Replies
ann-gaelle
Contributor III
Contributor III

Hello,

By reading the error messages, I would say you didn't specify the password to connect to the database, so it's sending the default one (""). To change it you need to click on the "..." next to password

Soumya_M
Contributor
Contributor
Author

Thank you, it helped 🙂