[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
14 years
[JBoss JIRA] Created: (JBIDE-1531) Editors not shown at first when an xhtml file is opened in the jboss editor (but does after toggling another tab)
by Ernout vd Waard (JIRA)
Editors not shown at first when an xhtml file is opened in the jboss editor (but does after toggling another tab)
-----------------------------------------------------------------------------------------------------------------
Key: JBIDE-1531
URL: http://jira.jboss.com/jira/browse/JBIDE-1531
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor
Affects Versions: 2.0.0.GA
Environment: We use the following versions:
- Eclipse 3.3.1.1
- JBoss Tools 2.0.0.GA
- Java JDK6 64 bit
Reporter: Ernout vd Waard
When we open a xhtml file in the jboss html editor, the first time there isn't anything show, just a grey background.
The tabs at the bottom of the pane are shown, and if you click another tab the editor is shown and you can use all different edit modes.
I can close the editor and open a new one and it works again after toggling the tab.
We are running Eclipse on Windows Vista 64, and maybe this has something to do with it. When we copied the configuration to a Vista 32 bit machine, the problem went away.
It would be great if someone could point us in the right direction of where to continue our search!
Another hint may be that the settings pane for the visual editor also is blank after we used the editor once.
What we've tried so far (but did not succeed):
- update to nightly build of jboss tools
- searched the jira
- searched the forums
- edit the code ourselves
- tried running this eclipse configuration with JDK 5 (both 64 as 32 bit)
- tried setting another default editor
--
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
14 years, 2 months
[JBoss JIRA] Created: (JBIDE-1280) JBoss Tools JSP Editor does not process some problems in vpe templates in a user friendly way
by Viacheslav Kabanovich (JIRA)
JBoss Tools JSP Editor does not process some problems in vpe templates in a user friendly way
---------------------------------------------------------------------------------------------
Key: JBIDE-1280
URL: http://jira.jboss.com/jira/browse/JBIDE-1280
Project: JBoss Tools
Issue Type: Bug
Components: Visual Page Editor
Affects Versions: 2.0.0.Beta4
Reporter: Viacheslav Kabanovich
1. provide an incorrect vpe expression in some vpe template.
(I used <span title="{tagstring()|tagstring()}" /> instead of <span title="{tagstring()}" />
for standard jsf tag templates in vpe-templates-jsf.xml).
2. prepare jsp file that uses the corrupted template.
3. open jsp file with JBoss Tools JSP Editor.
Result: blank visual editor and empty Eclipse log.
4. Select Preview tab
Result: tab is empty and log contains Error
org.jboss.tools.vpe.editor.template.expression.VpeExpressionError: Error of type conversion
at org.jboss.tools.vpe.editor.template.expression.VpeValue.or(VpeValue.java:94)
at org.jboss.tools.vpe.editor.template.expression.VpeOrOperation.exec(VpeOrOperation.java:26)
at org.jboss.tools.vpe.editor.template.VpeAttributeCreator.create(VpeAttributeCreator.java:54)
The Error is caught by Workbench.
The question is: why most problems in vpe expressions throw VpeExpressionBuilderException
and some problems throw VpeExpressionError (which extends java.lang.Error)?
Comment to java.lang.Error says that
"An Error is a subclass of Throwable that indicates serious problems
that a reasonable application should not try to catch"
As shown above, in cases when Studio does not catch VpeExpressionError, user has no idea what is wrong,
and in cases when Eclipse catches it, it would be more proper to use something like
VpeExpressionExecException extending Exception rather than Error.
--
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
14 years, 2 months
[JBoss JIRA] Created: (JBIDE-1719) Some bugs for <h:selectMany*> components.
by Andrei Scherbovich (JIRA)
Some bugs for <h:selectMany*> components.
-----------------------------------------
Key: JBIDE-1719
URL: http://jira.jboss.com/jira/browse/JBIDE-1719
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor
Affects Versions: 2.0.0.GA
Reporter: Andrei Scherbovich
Assigned To: Maxim Areshkau
Attachments: 1.jpg
<h:selectManyCheckbox>
1) Attributes "dir", "disabled", "disabledClass", "enabledClass" don't work
<h:selectManyListBox> and <h:selectManyMenu>
1) Attributes "dir", "disabled", "disabledClass", "enabledClass", "styleClass", "style" don't work
2) Bad highlighting of selected in VPE elements of these components
<f:selectItem>
1) Attribute "escape" doesn't work
(SEE ATTACHMENT)
--
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
14 years, 2 months