[jbosstools-issues] [JBoss JIRA] (JBIDE-17854) ArrayStoreException while opening database in Hibernate Console

Max Rydahl Andersen (JIRA) issues at jboss.org
Tue Sep 2 10:04:01 EDT 2014


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

Max Rydahl Andersen commented on JBIDE-17854:
---------------------------------------------

Just for reference - You are not at the same place from perspective of the bug - this bug and related fix is about exception being thrown. That was fixed - it is 99% certain than a seperate jira is needed when you are now talking about having to edit persistence.xml and linking cfg.xml - not related to the initial problem first.

And it is much simpler and safer to reject or reopen an issue as duplicate than to see a major issue overlooked because an issue that reads as a completely different issue is hiding the actual issue.

> ArrayStoreException while opening database in Hibernate Console
> ---------------------------------------------------------------
>
>                 Key: JBIDE-17854
>                 URL: https://issues.jboss.org/browse/JBIDE-17854
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 4.2.0.Beta3
>         Environment: JBDS 8.0.0.CR1
>            Reporter: Jiri Peterka
>            Assignee: Koen Aers
>            Priority: Critical
>             Fix For: 4.2.0.CR1
>
>
> An internal error has occurred.
> java.lang.ArrayStoreException
> Used pom file 
> {code}
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>testjpa</groupId>
>   <artifactId>testjpa</artifactId>
>   <version>0.0.1-SNAPSHOT</version>
>     <dependencies>
>   	<dependency>
>   		<groupId>org.hibernate</groupId>
>   		<artifactId>hibernate-core</artifactId>
>   		<version>4.0.0.Final</version>
>   	</dependency>
>   	<dependency>
>   		<groupId>org.hibernate</groupId>
>   		<artifactId>hibernate-entitymanager</artifactId>
>   		<version>4.0.0.Final</version>
>   	</dependency>
>   	<dependency>
>   		<groupId>org.hibernate.javax.persistence</groupId>
>   		<artifactId>hibernate-jpa-2.0-api</artifactId>
>   		<version>1.0.0.Final</version>
>   	</dependency>
>   	<dependency>
>   		<groupId>com.h2database</groupId>
>   		<artifactId>h2</artifactId>
>   		<version>1.3.161</version>
>   	</dependency>
>   </dependencies>
>   <build>
>     <sourceDirectory>src</sourceDirectory>
>     <resources>
>       <resource>
>         <directory>src</directory>
>         <excludes>
>           <exclude>**/*.java</exclude>
>         </excludes>
>       </resource>
>     </resources>
>     <plugins>
>       <plugin>
>         <artifactId>maven-compiler-plugin</artifactId>
>         <version>3.1</version>
>         <configuration>
>           <source>1.8</source>
>           <target>1.8</target>
>         </configuration>
>       </plugin>
>     </plugins>
>   </build>
> </project>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list