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

Dima Geraskov (JIRA) jira-events at lists.jboss.org
Wed Nov 5 11:28:42 EST 2008


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

Dima Geraskov commented on JBIDE-3048:
--------------------------------------

I said to you that now it works when I don't use artificial inherited class, but it is not(may be I tested it in Run mode-not Debug...).
It works only with that class.
I don't know why in build it doesn't work with that class and not shure that it will work without it (like in Eclipselink).
We need to check it and if it will not work(very strange) then I'll override the  method getBundle() in Message class.

> 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
>
>
> 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