[JBoss JIRA] Created: (RHDS-120) java.lang.NullPointerException when try to save empty value in web.xml Editor.
by Anton Klimkovich (JIRA)
java.lang.NullPointerException when try to save empty value in web.xml Editor.
------------------------------------------------------------------------------
Key: RHDS-120
URL: http://jira.jboss.com/jira/browse/RHDS-120
Project: Red Hat Developer Studio
Issue Type: Bug
Affects Versions: 1.0.0.beta1
Reporter: Anton Klimkovich
Open web.xml on tree tab
Right ckick on Error Pages for example
Set Error-Code and location
On Tree tab in web.xml Editor clear field with Error-Code
Try to save file.
java.lang.NullPointerException
at org.eclipse.jst.j2ee.model.internal.validation.WarValidator.validateErrorPages(WarValidator.java:693)
at org.eclipse.jst.j2ee.model.internal.validation.WarValidator.validate(WarValidator.java:251)
at org.eclipse.jst.j2ee.internal.web.validation.UIWarValidator.validate(UIWarValidator.java:95)
at org.eclipse.jst.j2ee.model.internal.validation.WarValidator.validateInJob(WarValidator.java:329)
at org.eclipse.jst.j2ee.internal.web.validation.UIWarValidator.validateInJob(UIWarValidator.java:111)
at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:75)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
org.eclipse.wst.validation.internal.core.ValidationException: CHKJ3000E: WAR Validation Failed: java.lang.NullPointerException
at org.eclipse.jst.j2ee.model.internal.validation.WarValidator.validateInJob(WarValidator.java:343)
at org.eclipse.jst.j2ee.internal.web.validation.UIWarValidator.validateInJob(UIWarValidator.java:111)
at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:75)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 8 months
[JBoss JIRA] Created: (JBIDE-1974) Exception occures after add additional mapping file into Hibernate cofiguration that is already listed in cfg.file.
by Anton Klimkovich (JIRA)
Exception occures after add additional mapping file into Hibernate cofiguration that is already listed in cfg.file.
-------------------------------------------------------------------------------------------------------------------
Key: JBIDE-1974
URL: http://jira.jboss.com/jira/browse/JBIDE-1974
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 2.1
Reporter: Anton Klimkovich
Priority: Minor
EXECUTE: Import attached project
EXECUTE: Open Hibernate Configuration View
EXECUTE: Select Add Configuration from context menu
EXECUTE: Select project and select hibernate.cfg.xml
EXECUTE: Switch to Mappings tab
EXECUTE: Add mapping file (NewMapping.hbm.xml from src/demo/ )
EXECUTE: Press Apply button and Ok button
EXECUTE: Expand newly created configuration
FAILURE: org.hibernate.InvalidMappingException: Could not parse mapping document from file TestHib\src\demo\NewMapping.hbm.xml
ASSERT: Any warning message about duplicate using of the same mapping file or if additional file already presents in *cfg.xml may be need to exclude it from list of available files in wizard for adding Additional mappings. Or something else...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 11 months