[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-1014) Could not load JPA Configuration

Maillefer Jean-David (JIRA) noreply at atlassian.com
Mon Feb 2 09:37:38 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32243#action_32243 ] 

Maillefer Jean-David commented on HBX-1014:
-------------------------------------------

I forgot to add it's with Hibernate Tools 3.2.4.GA.

> Could not load JPA Configuration
> --------------------------------
>
>                 Key: HBX-1014
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-1014
>             Project: Hibernate Tools
>          Issue Type: Bug
>          Components: consoleconfiguration
>    Affects Versions: 3.2.cr1
>         Environment: Hibernate 3.2.4, Hibernate Annotations 3.3.0, Hibernate EntityManager 3.3.1, Oracle 10g R2
>            Reporter: Reto Urfer
>
> If the project name contains a <SPACE> character, the following exception occurs when you try to browse the console configuration:
> org.hibernate.console.HibernateConsoleRuntimeException: Could not load JPA Configuration
> 	at org.hibernate.console.ConsoleConfiguration.buildConfiguration(ConsoleConfiguration.java:499)
> 	at org.hibernate.console.ConsoleConfiguration.access$0(ConsoleConfiguration.java:484)
> 	at org.hibernate.console.ConsoleConfiguration$2.execute(ConsoleConfiguration.java:203)
> 	at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:65)
> 	at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:185)
> 	at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:106)
> 	at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:38)
> 	at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:97)
> 	at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:103)
> 	at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:196)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: org.hibernate.console.HibernateConsoleRuntimeException: Could not create JPA based Configuration
> 	at org.hibernate.console.ConsoleConfiguration.buildJPAConfiguration(ConsoleConfiguration.java:142)
> 	at org.hibernate.console.ConsoleConfiguration.buildConfiguration(ConsoleConfiguration.java:496)
> 	... 10 more
> Caused by: java.lang.reflect.InvocationTargetException
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.hibernate.console.ConsoleConfiguration.buildJPAConfiguration(ConsoleConfiguration.java:133)
> 	... 11 more
> Caused by: javax.persistence.PersistenceException: java.lang.IllegalArgumentException: Unable to visit JAR file:/D:/Daten/eclipse33/LogicaCMG/workspace/Unittest JPA/bin. Cause: Illegal character in path at index 53: file:/D:/Daten/eclipse33/LogicaCMG/workspace/Unittest JPA/bin
> 	at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:258)
> 	... 16 more
> Caused by: java.lang.IllegalArgumentException: Unable to visit JAR file:/D:/Daten/eclipse33/LogicaCMG/workspace/Unittest JPA/bin. Cause: Illegal character in path at index 53: file:/D:/Daten/eclipse33/LogicaCMG/workspace/Unittest JPA/bin
> 	at org.hibernate.ejb.packaging.JarVisitor.getVisitor(JarVisitor.java:112)
> 	at org.hibernate.ejb.Ejb3Configuration.getMainJarVisitor(Ejb3Configuration.java:266)
> 	at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:239)
> 	... 16 more
> If the project is renamed so it does not contain any <SPACE> characters anymore it works fine.
> This problem did not occur in Hibernate Tools 3.2 Beta11

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

        



More information about the hibernate-issues mailing list