[jbosstools-issues] [JBoss JIRA] Created: (JBDS-830) Spaces in project path causes JTA exception

Ondrej Skutka (JIRA) jira-events at lists.jboss.org
Mon Aug 17 08:18:26 EDT 2009


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


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

        


More information about the jbosstools-issues mailing list