[
https://jira.jboss.org/browse/JBIDE-6374?page=com.atlassian.jira.plugin.s...
]
Jiri Peterka commented on JBIDE-6374:
-------------------------------------
Workaround1: Create another configuration. After that situation is stable.
Workaround2: Eclipse restart
Note: Reproduced again on #82, Linux 32, OpenJDK, configuration file not need, anyway
there is empty generated file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
</session-factory>
</hibernate-configuration>
Successfully reproduced like this:
1. New workspace
2. Create java project
3. Select src folder
4. Create hibernate configuration file with empty setting, finish
NPE after Creating Hibernate Configuration
------------------------------------------
Key: JBIDE-6374
URL:
https://jira.jboss.org/browse/JBIDE-6374
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.1.1
Environment: JBDS 3.0.1 GA 80, Linux 64, JDK 1.6
Reporter: Jiri Peterka
Assignee: Dmitry Geraskov
Fix For: 3.1.x
Attachments: NPE-hibernate-configuration-editor.png,
npe-hibernate-configuration-editor.txt
ERROR: After trying to open configuration editor, it fails with NPE exception (see
screenshots and log)
REPRODUCIBILITY: LOW
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira