[
https://jira.jboss.org/jira/browse/JBDS-830?page=com.atlassian.jira.plugi...
]
Olivier Cailloux updated JBDS-830:
----------------------------------
Attachment: Hibernate Configuration error.png
The popup window appearing and showing the stack trace, when the bug is triggered.
Spaces in project path causes JTA exception
-------------------------------------------
Key: JBDS-830
URL:
https://jira.jboss.org/jira/browse/JBDS-830
Project: JBoss Developer Studio
Issue Type: Bug
Components: seam
Affects Versions: 2.1.0
Reporter: Ondrej Skutka
Priority: Critical
Fix For: 3.0.0.M4
Attachments: Hibernate Configuration error.png
Steps to reproduce:
1) Create a new Seam project with database
2) Go to Hibernate Configurations view
3) Unfold the configuration
following exception is thrown:
org.hibernate.console.HibernateConsoleRuntimeException: Could not create JPA based
Configuration
Could not create JPA based Configuration
<No message>
java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException: <no message>
java.lang.reflect.InvocationTargetException
javax.persistence.PersistenceException: java.lang.IllegalArgumentException: Unable to
visit JAR file:/C:/Documents and
Settings/jbossqa/workspace.jbds/ear220CR2v2-ejb/build/classes. Cause: Illegal character in
path at index 18: file:/C:/Documents and
Settings/jbossqa/workspace.jbds/ear220CR2v2-ejb/build/classes
java.lang.IllegalArgumentException: Unable to visit JAR file:/C:/Documents and
Settings/jbossqa/workspace.jbds/ear220CR2v2-ejb/build/classes. Cause: Illegal character in
path at index 18: file:/C:/Documents and
Settings/jbossqa/workspace.jbds/ear220CR2v2-ejb/build/classes
java.lang.IllegalArgumentException: Unable to visit JAR file:/C:/Documents and
Settings/jbossqa/workspace.jbds/ear220CR2v2-ejb/build/classes. Cause: Illegal character in
path at index 18: file:/C:/Documents and
Settings/jbossqa/workspace.jbds/ear220CR2v2-ejb/build/classes
Unable to visit JAR file:/C:/Documents and
Settings/jbossqa/workspace.jbds/ear220CR2v2-ejb/build/classes. Cause: Illegal character in
path at index 18: file:/C:/Documents and
Settings/jbossqa/workspace.jbds/ear220CR2v2-ejb/build/classes
Furturemore you cannot generate seam entities, because of "Couldn't connect to
Database".
--
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