[jbosstools-issues] [JBoss JIRA] (JBIDE-20065) hibernate util.invoke* silently swallows NoSuchMethod

Koen Aers (JIRA) issues at jboss.org
Wed Jul 8 12:04:02 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-20065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087905#comment-13087905 ] 

Koen Aers commented on JBIDE-20065:
-----------------------------------

I had to rework some of the tests to account for this and I also found (and corrected) some glitches that were caused by this.

> hibernate util.invoke* silently swallows NoSuchMethod
> -----------------------------------------------------
>
>                 Key: JBIDE-20065
>                 URL: https://issues.jboss.org/browse/JBIDE-20065
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>            Reporter: Max Rydahl Andersen
>            Assignee: Koen Aers
>            Priority: Critical
>             Fix For: 4.3.0.Beta2
>
>
> as seen in JBIDE-20042 errors are swalloed (just logged) meaning many methods to hibernate just returns null resulting in broken logic.
> Example: https://github.com/jbosstools/jbosstools-hibernate/blob/master/plugins/org.jboss.tools.hibernate.runtime.common/src/org/jboss/tools/hibernate/runtime/common/Util.java#L42
> why are these not turned into actual RuntimeExceptions and raised ?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list