Thanks Lukas,

I'm facing a new issue. Sometimes when SQL Server has a problem and an 
exception is throw I see an NPE. 

In JooqExceptionTranslator around line 80:

private void handle(ExecuteContext context, SQLExceptionTranslator 
translator, SQLException exception) {
     DataAccessException translated = translate(context, translator, 
exception);
     if (exception.getNextException() == null) {
         context.exception(translated);
     }
     else {
         logger.error("Execution of SQL statement failed.", translated);
     }
}


Translated = null and triggers an NPE, but exception is not and has a 
message. In this one case it's "Column names in each table must be unique. 
Column name 'last_modified_date' in table 'THE_TABLE_NAME' is specified 
more than once."

Is this a known issue or something that I haven't configured? 

Thanks,

Megan
On Tuesday, October 13, 2020 at 9:15:24 AM UTC-7 [email protected] wrote:

> The method has been renamed to Meta::migrateTo for clarity, because 
> with "diff", it's unclear in which direction the diff is going. I'll update 
> the outdated blog post
>
> Thanks,
> Lukas
>
> On Tue, Oct 13, 2020 at 5:46 PM Megan A <[email protected]> wrote:
>
>> Humm I don't seem to have access to Meta.diff(). Is that in 3.13.5? I'm 
>> on 3.13.4. 
>>
>> On Tuesday, October 13, 2020 at 2:34:05 AM UTC-7 [email protected] 
>> wrote:
>>
>>> On Monday, October 12, 2020 at 6:53:40 PM UTC+2 Lukas Eder wrote:
>>>
>>>> Thanks for reporting those NPE. I'll look into this ASAP. There should 
>>>> obviously be more meaningful error messages.
>>>>
>>>
>>> For the record, I can reproduce the NPEs. They will be tracked here:
>>> https://github.com/jOOQ/jOOQ/issues/10736 
>>>
>> -- 
>>
> You received this message because you are subscribed to the Google Groups 
>> "jOOQ User Group" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jooq-user/2ab9672e-5436-4eee-a989-c41feff2d371n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jooq-user/2ab9672e-5436-4eee-a989-c41feff2d371n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jooq-user/d947c1c9-45cf-4489-abe7-259b263ec7fdn%40googlegroups.com.

Reply via email to