[JBoss JIRA] (JBIDE-13024) JSFAsYouTypeValidationTest failure
by Alexey Kazakov (JIRA)
Alexey Kazakov created JBIDE-13024:
--------------------------------------
Summary: JSFAsYouTypeValidationTest failure
Key: JBIDE-13024
URL: https://issues.jboss.org/browse/JBIDE-13024
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 4.0.0.Beta2
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: 4.0.0.CR1
{code}
testAsYouTypeValidation(org.jboss.tools.jsf.ui.test.validation.JSFAsYouTypeValidationTest) Time elapsed: 7.287 sec <<< FAILURE!
junit.framework.AssertionFailedError: No Problem Annotation found!
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNotNull(Assert.java:218)
at org.jboss.tools.common.base.test.validation.AbstractAsYouTypeValidationTest.doAsYouTypeValidationTest(AbstractAsYouTypeValidationTest.java:192)
at org.jboss.tools.jsf.ui.test.validation.JSFAsYouTypeValidationTest.testAsYouTypeValidation(JSFAsYouTypeValidationTest.java:133)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (JBIDE-12985) NPE when move mouse over {
by Alexey Kazakov (JIRA)
Alexey Kazakov created JBIDE-12985:
--------------------------------------
Summary: NPE when move mouse over {
Key: JBIDE-12985
URL: https://issues.jboss.org/browse/JBIDE-12985
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 4.0.0.Beta2
Reporter: Alexey Kazakov
Assignee: Victor Rubezhny
Fix For: 4.0.0.Beta2
1. Create JSF 2 KickStart project
2. Open inputname.xhtml
3. Move mouse over "{" in any EL
{code}
java.lang.NullPointerException
at org.jboss.tools.jsf.model.JSFFuncsELCompletionEngine.resolve(JSFFuncsELCompletionEngine.java:80)
at org.jboss.tools.jst.jsp.jspeditor.info.FaceletTagInfoHoverProcessor.computeELHelp(FaceletTagInfoHoverProcessor.java:198)
at org.jboss.tools.jst.jsp.jspeditor.info.FaceletTagInfoHoverProcessor.computeHoverHelp(FaceletTagInfoHoverProcessor.java:116)
at org.eclipse.wst.xml.ui.internal.taginfo.XMLTagInfoHoverProcessor.getHoverInfo(XMLTagInfoHoverProcessor.java:257)
at org.jboss.tools.common.text.xml.info.ChainTextHover.getHoverInfo2(ChainTextHover.java:134)
at org.jboss.tools.common.text.xml.info.ChainTextHover.getHoverInfo2(ChainTextHover.java:132)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (JBIDE-12824) Unexpected behavior of Content Assist
by Daniel Azarov (JIRA)
Daniel Azarov created JBIDE-12824:
-------------------------------------
Summary: Unexpected behavior of Content Assist
Key: JBIDE-12824
URL: https://issues.jboss.org/browse/JBIDE-12824
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 4.0.0.Beta1
Reporter: Daniel Azarov
Assignee: Victor Rubezhny
Fix For: 4.0.0.Beta1
Test case:
EXECUTE:
1. Create JSF 1.2 Kick Start project
2. Open inputUserName.jsp page in Visual Page Editor
3. Put cursor to tag <h:form id="greetingForm"> just after "f:form" then press Ctrl+Space
FAIL:
tag changed to "<h:form></h:form> id="greetingForm">" and problem marker "Missing start tag for "h:form"" appears on second end tag "</h:form>"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (JBIDE-12589) o.j.t.jsf.ui.test.* JUnit tests fail
by Victor Rubezhny (JIRA)
Victor Rubezhny created JBIDE-12589:
---------------------------------------
Summary: o.j.t.jsf.ui.test.* JUnit tests fail
Key: JBIDE-12589
URL: https://issues.jboss.org/browse/JBIDE-12589
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF, jsp/jsf/xml source editing, testing
Affects Versions: 4.0.0.Alpha2
Reporter: Victor Rubezhny
Assignee: Victor Rubezhny
Fix For: 4.0.0.Alpha2
The following JUnit tests fail:
{code}
Tests run: 87, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 830.742 sec <<< FAILURE!
Results :
Failed tests: testJbide3845OnJspPage(org.jboss.tools.jsf.jsp.ca.test.JsfJBide3845Test): Proposal Message['org.jboss.tools.long.property.Name'] not found! Found proposals: ["#{Message["; ]
testJbide3845OnXhtmlPage(org.jboss.tools.jsf.jsp.ca.test.JsfJBide3845Test): Proposal Message['org.jboss.tools.long.property.Name'] not found! Found proposals: [a; abbr; acronym; address; applet; b; basefont; bdo; big; blockquote; br; button; center; cite; code; del; dfn; dir; div; dl; em; fieldset; font; form; h1; h2; h3; h4; h5; h6; hr; i; iframe; img; input; ins; isindex; kbd; label; map; menu; noframes; noscript; object; ol; p; pre; q; s; samp; script; select; small; span; strike; strong; sub; sup; table; textarea; tt; u; ul; var; Facelets ui:Composition - Composition with one definition; comment - comment; dl - definition list; img - img (map); ol - ordered list; script - script (commented); style - style (commented); table - table; ul - unordered list; ]
testdoTestCAJsfResourceBundlePropertyApplyInAttributeValue(org.jboss.tools.jsf.jsp.ca.test.CAJsfResourceBundlePropertyApplyTest): The proposal to apply not found.
testdoTestCAJsfResourceBundlePropertyApplyInTextBody(org.jboss.tools.jsf.jsp.ca.test.CAJsfResourceBundlePropertyApplyTest): The proposal to apply not found.
Tests run: 87, Failures: 4, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15:49.923s
[INFO] Finished at: Tue Sep 11 20:17:17 MSD 2012
[INFO] Final Memory: 44M/612M
[INFO] ------------------------------------------------------------------------
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (JBIDE-13070) Faces Config Editor: ERROR - Editor model does not support child element converter-extension of converter
by Daniel Azarov (JIRA)
Daniel Azarov created JBIDE-13070:
-------------------------------------
Summary: Faces Config Editor: ERROR - Editor model does not support child element converter-extension of converter
Key: JBIDE-13070
URL: https://issues.jboss.org/browse/JBIDE-13070
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 4.0.0.Beta2
Reporter: Daniel Azarov
Assignee: Alexey Kazakov
Test case:
EXECUTE:
1. Start Studio
2. Select "Hellow World JSF" project example from JBoss Central
3. Open faces-config.xml from richfaces-components-ui-4.2.0.Final.jar in Faces Config Editor
FAIL:
!faces-config.png!
Note, faces-config.xml contains follow converters:
{code:XML}
<converter>
<converter-id>org.richfaces.DeclarativeModelSequenceKeyConverter</converter-id>
<converter-class>org.richfaces.convert.DeclarativeModelSequenceKeyConverter</converter-class>
<converter-extension>
<cdk:generate>false</cdk:generate>
</converter-extension>
</converter>
<converter>
<converter-id>org.richfaces.IntegerSequenceRowKeyConverter</converter-id>
<converter-class>org.richfaces.convert.IntegerSequenceRowKeyConverter</converter-class>
<converter-extension>
<cdk:generate>false</cdk:generate>
</converter-extension>
</converter>
<converter>
<converter-id>org.richfaces.StringSequenceRowKeyConverter</converter-id>
<converter-class>org.richfaces.convert.StringSequenceRowKeyConverter</converter-class>
<converter-extension>
<cdk:generate>false</cdk:generate>
</converter-extension>
</converter>{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (JBIDE-13023) Erroneous logic in ELValidator at picking the best resolution
by Viacheslav Kabanovich (JIRA)
Viacheslav Kabanovich created JBIDE-13023:
---------------------------------------------
Summary: Erroneous logic in ELValidator at picking the best resolution
Key: JBIDE-13023
URL: https://issues.jboss.org/browse/JBIDE-13023
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Affects Versions: 4.0.0.Beta2
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Fix For: 4.0.0.CR1
Method ELValidator.validateElOperand() iterates over available resolvers and selects the best resolution.
If a resolution has property 'resolved' = true, it is accepted as the best, that is ok.
If all resolutions have property 'resolved' = false, then ELValidator selects resolution that has more resolved segments than the others. If two or more resolutions have equal maximal number of resolved segments, then the first of them is selected.
This logic is insufficient.
Suppose there are two resolutions:
1) no segments detected;
2) one unresolved segment detected;
Both will return the number of resolved segments 0. The first resolution will be accepted as the best; while the second is more informative.
I think that the logic should take into account the number of detected segments when the number of resolved segments is the same.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (JBIDE-13071) Text Hoover on faces-config.xml from jar: Unexpected runtime error while computing a text hover
by Daniel Azarov (JIRA)
Daniel Azarov created JBIDE-13071:
-------------------------------------
Summary: Text Hoover on faces-config.xml from jar: Unexpected runtime error while computing a text hover
Key: JBIDE-13071
URL: https://issues.jboss.org/browse/JBIDE-13071
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Affects Versions: 4.0.0.Beta2
Environment: Ubuntu, jbdevstudio-product-eap-universal-6.0.0.Beta2-v20121107-1854-B62.jar
Reporter: Daniel Azarov
Assignee: Victor Rubezhny
1. Start Studio
2. Select "Hellow World JSF" project example from JBoss Central
3. Open faces-config.xml from richfaces-components-ui-4.2.0.Final.jar in Faces Config Editor
FAIL:
{code}
java.lang.IllegalArgumentException: Path must include project and resource name: /
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:2169)
at org.eclipse.core.internal.resources.Container.getFile(Container.java:208)
at org.jboss.tools.common.el.core.ELReference.getResource(ELReference.java:106)
at org.jboss.tools.common.el.core.ELReference.getText(ELReference.java:174)
at org.jboss.tools.common.el.core.ELReference.getSourceText(ELReference.java:134)
at org.jboss.tools.common.el.core.ELReference.getEl(ELReference.java:164)
at org.jboss.tools.jst.web.kb.PageContextFactory.fillElReferencesForRegionNode(PageContextFactory.java:798)
at org.jboss.tools.jst.web.kb.PageContextFactory.fillElReferencesForNode(PageContextFactory.java:777)
at org.jboss.tools.jst.web.kb.PageContextFactory.fillContextForNode(PageContextFactory.java:606)
at org.jboss.tools.jst.web.kb.PageContextFactory.fillContextForChildNodes(PageContextFactory.java:597)
at org.jboss.tools.jst.web.kb.PageContextFactory.fillContextForChildNodes(PageContextFactory.java:598)
at org.jboss.tools.jst.web.kb.PageContextFactory.fillContextForChildNodes(PageContextFactory.java:598)
at org.jboss.tools.jst.web.kb.PageContextFactory.fillContextForChildNodes(PageContextFactory.java:598)
at org.jboss.tools.jst.web.kb.PageContextFactory.fillContextForChildNodes(PageContextFactory.java:598)
at org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:431)
at org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:236)
at org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:199)
at org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:180)
at org.jboss.tools.jst.jsp.jspeditor.info.FaceletTagInfoHoverProcessor.computeHoverHelp(FaceletTagInfoHoverProcessor.java:91)
at org.eclipse.wst.xml.ui.internal.taginfo.XMLTagInfoHoverProcessor.getHoverInfo(XMLTagInfoHoverProcessor.java:257)
at org.jboss.tools.common.text.xml.info.ChainTextHover.getHoverInfo2(ChainTextHover.java:134)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (JBIDE-13077) Outline view fails when closed/opened with JBossTools editors
by Viacheslav Kabanovich (JIRA)
Viacheslav Kabanovich created JBIDE-13077:
---------------------------------------------
Summary: Outline view fails when closed/opened with JBossTools editors
Key: JBIDE-13077
URL: https://issues.jboss.org/browse/JBIDE-13077
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Affects Versions: 4.0.0.Beta2
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Fix For: 4.0.0.CR1
Open a JBossTools editor (Properties, Web XML, etc.).
Make sure, Outline view is open.
Close it and open again.
View fails:
java.lang.NullPointerException
at org.jboss.tools.common.model.ui.outline.XModelObjectContentOutlineProvider.createControl(XModelObjectContentOutlineProvider.java:66)
at org.jboss.tools.common.model.ui.editor.COPWrapper.createControl(EditorPartWrapper.java:316)
at org.eclipse.ui.views.contentoutline.ContentOutline.doCreatePage(ContentOutline.java:137)
at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:411)
After that, Outline view can be revived by closing all JBossTools editor and closing/opening the view again.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (JBIDE-12849) org.hibernate.eclipse.console.test: Process timeout out after 3600 seconds
by Nick Boldt (JIRA)
Nick Boldt created JBIDE-12849:
----------------------------------
Summary: org.hibernate.eclipse.console.test: Process timeout out after 3600 seconds
Key: JBIDE-12849
URL: https://issues.jboss.org/browse/JBIDE-12849
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: hibernate
Affects Versions: 4.0.0.Beta1
Reporter: Nick Boldt
Assignee: Dmitry Geraskov
In stable branch jobs, getting "org.hibernate.eclipse.console.test: Process timeout out after 3600 seconds".
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevS...
In trunk, the tests are fine:
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevS...
Ran a build from trunk locally, and also got the timeout:
{code}
mvn install
...
[INFO] hibernatetools.tests .............................. SUCCESS [0.032s]
[INFO] org.hibernate.eclipse.console.test ................ FAILURE [1:00:04.223s]
[INFO] org.hibernate.eclipse.jdt.ui.test ................. SKIPPED
[INFO] org.jboss.tools.hibernate.ui.test ................. SKIPPED
[INFO] org.jboss.tools.hibernate.ui.bot.test ............. SUCCESS [2.883s]
[INFO] org.hibernate.eclipse.test.feature ................ SKIPPED
[INFO] org.jboss.tools.hibernate.jpt.core.test ........... SKIPPED
[INFO] hibernatetools.site ............................... SKIPPED
{code}
Any idea why this is happening? Would increasing the timeout help, or is the problem UI that sometimes gets stuck, sometimes does not?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months