[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-3048) Hibernate validation exception.

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Wed Nov 12 09:58:36 EST 2008


     [ https://jira.jboss.org/jira/browse/JBIDE-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen resolved JBIDE-3048.
----------------------------------------

    Resolution: Done


This is caused by validation framework using the classloader of the Message which will not include our classloader. By subclsasing Message we get around this but i'm not sure this is the proper way of providing validation in Dali.

> Hibernate validation exception. 
> --------------------------------
>
>                 Key: JBIDE-3048
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3048
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Hibernate
>    Affects Versions: 3.0.0.beta1
>            Reporter: Dima Geraskov
>            Assignee: Dima Geraskov
>            Priority: Blocker
>             Fix For: 3.0.0.cr1
>
>         Attachments: jbide-3048.txt, mylyn-context.zip, mylyn-context.zip
>
>
> see JBIDE-2976
> Message class can't found bundle in org.jboss.tools.hibernate.jpt.core and throws an exception when fiel for "hibernate.ejb.cfgfile" not found:
> java.util.MissingResourceException: Can't find bundle for base name org.jboss.tools.hibernate.jpt.core.internal.context.Messages, locale ru_RU
> 	at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
> 	at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
> 	at java.util.ResourceBundle.getBundle(ResourceBundle.java:699)
> 	at org.eclipse.wst.validation.internal.core.Message.getFrameworkBundle(Message.java:176)
> 	at org.eclipse.wst.validation.internal.core.Message.getBundle(Message.java:168)
> 	at org.eclipse.wst.validation.internal.core.Message.getText(Message.java:278)
> 	at org.eclipse.wst.validation.internal.core.Message.getText(Message.java:258)
> 	at org.eclipse.wst.validation.internal.operations.WorkbenchReporter.cacheMessage(WorkbenchReporter.java:591)
> 	at org.eclipse.wst.validation.internal.operations.WorkbenchReporter.addMessage(WorkbenchReporter.java:452)
> 	at org.eclipse.jpt.core.internal.validation.JpaValidator.validate(JpaValidator.java:49)
> 	at org.eclipse.jpt.core.internal.validation.JpaValidator.validateInJob(JpaValidator.java:77)
> 	at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list