[JBoss JIRA] Created: (JBIDE-9392) Fix ConsoleConfigurationTest failure
by Dmitry Geraskov (JIRA)
Fix ConsoleConfigurationTest failure
------------------------------------
Key: JBIDE-9392
URL: https://issues.jboss.org/browse/JBIDE-9392
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.3.0.M2
Reporter: Dmitry Geraskov
Assignee: Dmitry Geraskov
Fix For: 3.3.0.M3
testHQLListParameters(org.hibernate.eclipse.console.test.ConsoleConfigurationTest) Time elapsed: 0.469 sec <<< ERROR!
java.lang.UnsupportedOperationException: The user must supply a JDBC connection
at org.hibernate.connection.UserSuppliedConnectionProvider.getConnection(UserSuppliedConnectionProvider.java:54)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1616)
at org.hibernate.loader.Loader.doQuery(Loader.java:717)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)
at org.hibernate.loader.Loader.doList(Loader.java:2449)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2192)
at org.hibernate.loader.Loader.list(Loader.java:2187)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:452)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1258)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
at org.hibernate.console.HQLQueryPage.getList(HQLQueryPage.java:50)
at org.hibernate.eclipse.console.views.QueryPageViewer$ContentProviderImpl.getElements(QueryPageViewer.java:120)
at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:1010)
at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:703)
at org.eclipse.jface.viewers.AbstractTableViewer.getRawChildren(AbstractTableViewer.java:1087)
at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:917)
at org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.java:1067)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableViewer.java:701)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:649)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:636)
at org.eclipse.jface.viewers.AbstractTableViewer$2.run(AbstractTableViewer.java:592)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1443)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1404)
at org.eclipse.jface.viewers.AbstractTableViewer.inputChanged(AbstractTableViewer.java:590)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:280)
at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1690)
at org.hibernate.eclipse.console.views.QueryPageViewer.createTable(QueryPageViewer.java:225)
at org.hibernate.eclipse.console.views.QueryPageViewer.createControl(QueryPageViewer.java:203)
at org.hibernate.eclipse.console.views.QueryPageViewer.<init>(QueryPageViewer.java:160)
at org.hibernate.eclipse.console.views.QueryPageTabView.rebuild(QueryPageTabView.java:109)
at org.hibernate.eclipse.console.views.QueryPageTabView$1.contentsChanged(QueryPageTabView.java:75)
at org.hibernate.eclipse.console.views.QueryPageTabView$1.intervalAdded(QueryPageTabView.java:85)
at javax.swing.AbstractListModel.fireIntervalAdded(AbstractListModel.java:130)
at org.hibernate.console.QueryPageModel.add(QueryPageModel.java:67)
at org.hibernate.console.KnownConfigurations$1.queryPageCreated(KnownConfigurations.java:88)
at org.hibernate.console.ConsoleConfiguration.fireQueryPageCreated(ConsoleConfiguration.java:312)
at org.hibernate.console.ConsoleConfiguration.access$4(ConsoleConfiguration.java:310)
at org.hibernate.console.ConsoleConfiguration$5.execute(ConsoleConfiguration.java:272)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:72)
at org.hibernate.console.ConsoleConfiguration.executeHQLQuery(ConsoleConfiguration.java:265)
at org.hibernate.eclipse.console.test.ConsoleConfigurationTest.testHQLListParameters(ConsoleConfigurationTest.java:155)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (JBIDE-9416) org.jboss.tools.jsf test failure
by Alexey Kazakov (JIRA)
org.jboss.tools.jsf test failure
--------------------------------
Key: JBIDE-9416
URL: https://issues.jboss.org/browse/JBIDE-9416
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 3.3.0.M3
Reporter: Alexey Kazakov
Assignee: Victor Rubezhny
Fix For: 3.3.0.M3
{code}
Building org.jboss.tools.jsf.test
...
testMessagePropertyRename(org.jboss.tools.jsf.test.refactoring.MessagePropertyRefactoringTest) Time elapsed: 3.854 sec <<< FAILURE!
junit.framework.AssertionFailedError: There is unexpected number of changes expected:<2> but was:<1>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:283)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:195)
at org.jboss.tools.tests.AbstractRefactorTest.checkChanges(AbstractRefactorTest.java:143)
at org.jboss.tools.tests.AbstractRefactorTest.checkRename(AbstractRefactorTest.java:63)
at org.jboss.tools.jsf.test.refactoring.MessagePropertyRefactoringTest.testMessagePropertyRename(MessagePropertyRefactoringTest.java:58)
Building org.jboss.tools.jsf.text.ext.test:
...
Failed tests:
testJSF2MessagesHyperlink(org.jboss.tools.jsf.text.ext.test.JSF2MessagesOpenOnTest)
testCCAttrsHyperlink1(org.jboss.tools.jsf.text.ext.test.JSF2CCAttrsOpenOnTest)
testCCAttrsHyperlink2(org.jboss.tools.jsf.text.ext.test.JSF2CCAttrsOpenOnTest)
testCCAttrsHyperlink2(org.jboss.tools.jsf.text.ext.test.JSF2CCAttrsOpenOnTest) Time elapsed: 0.542 sec <<< FAILURE!
junit.framework.AssertionFailedError: Unexpected hyperlink -
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNotNull(Assert.java:214)
at org.jboss.tools.jsf.text.ext.test.JSFHyperlinkTestUtil.checkTestRegion(JSFHyperlinkTestUtil.java:140)
at org.jboss.tools.jsf.text.ext.test.JSFHyperlinkTestUtil.checkRegions(JSFHyperlinkTestUtil.java:119)
at org.jboss.tools.jsf.text.ext.test.JSF2CCAttrsOpenOnTest.testCCAttrsHyperlink2(JSF2CCAttrsOpenOnTest.java:83)
...
testCCAttrsHyperlink1(org.jboss.tools.jsf.text.ext.test.JSF2CCAttrsOpenOnTest) Time elapsed: 0.551 sec <<< FAILURE!
junit.framework.AssertionFailedError: Unexpected hyperlink -
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNotNull(Assert.java:214)
at org.jboss.tools.jsf.text.ext.test.JSFHyperlinkTestUtil.checkTestRegion(JSFHyperlinkTestUtil.java:140)
at org.jboss.tools.jsf.text.ext.test.JSFHyperlinkTestUtil.checkRegions(JSFHyperlinkTestUtil.java:119)
at org.jboss.tools.jsf.text.ext.test.JSF2CCAttrsOpenOnTest.testCCAttrsHyperlink1(JSF2CCAttrsOpenOnTest.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
testJSF2MessagesHyperlink(org.jboss.tools.jsf.text.ext.test.JSF2MessagesOpenOnTest) Time elapsed: 1.594 sec <<< FAILURE!
junit.framework.AssertionFailedError: Unexpected hyperlink - resources
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNotNull(Assert.java:214)
at org.jboss.tools.jsf.text.ext.test.JSFHyperlinkTestUtil.checkTestRegion(JSFHyperlinkTestUtil.java:140)
at org.jboss.tools.jsf.text.ext.test.JSFHyperlinkTestUtil.checkRegions(JSFHyperlinkTestUtil.java:119)
at org.jboss.tools.jsf.text.ext.test.JSF2MessagesOpenOnTest.testJSF2MessagesHyperlink(JSF2MessagesOpenOnTest.java:67)
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (JBIDE-9315) org.jboss.tools.jsf.vpe.jsf.test.jbide.JSF2ValidatorTest failure
by Alexey Kazakov (JIRA)
org.jboss.tools.jsf.vpe.jsf.test.jbide.JSF2ValidatorTest failure
----------------------------------------------------------------
Key: JBIDE-9315
URL: https://issues.jboss.org/browse/JBIDE-9315
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 3.3.0.M3
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: 3.3.0.M3
Failed tests:
testCAforIncludeTaglibInInenerNodes(org.jboss.tools.jsf.vpe.jsf.test.jbide.JSF2ValidatorTest)
{code}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.jboss.tools.jsf.vpe.jsf.test.JsfAllTests
Tests run: 224, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 304.994 sec <<< FAILURE!
testCAforIncludeTaglibInInenerNodes(org.jboss.tools.jsf.vpe.jsf.test.jbide.JSF2ValidatorTest) Time elapsed: 6.464 sec <<< FAILURE!
junit.framework.AssertionFailedError: res folder marker is expected expected:<1> but was:<0>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:283)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:195)
at org.jboss.tools.jsf.vpe.jsf.test.jbide.JSF2ValidatorTest.testCAforIncludeTaglibInInenerNodes(JSF2ValidatorTest.java:57)
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (JBIDE-9422) org.jboss.tools.seam.ui.test JUnit Test failure
by Victor Rubezhny (JIRA)
org.jboss.tools.seam.ui.test JUnit Test failure
-----------------------------------------------
Key: JBIDE-9422
URL: https://issues.jboss.org/browse/JBIDE-9422
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing, testing
Affects Versions: 3.3.0.M3
Reporter: Victor Rubezhny
Assignee: Victor Rubezhny
Fix For: 3.3.0.M3
{code}
» jbosstools-3.3_trunk.component--seam » #461 » Test Results » org.jboss.tools.seam.ui.test » SeamUiAllTests » testELExprPartitioner
Failed
org.jboss.tools.seam.ui.test.SeamUiAllTests.testELExprPartitioner
Failing for the past 2 builds (Since Failed#460 )
Took 38 sec.
Error Message
Unexpected hyperlink - Messages
Stacktrace
junit.framework.AssertionFailedError: Unexpected hyperlink - Messages
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNotNull(Assert.java:214)
at org.jboss.tools.jst.text.ext.test.HyperlinkTestUtil.checkTestRegion(HyperlinkTestUtil.java:132)
at org.jboss.tools.jst.text.ext.test.HyperlinkTestUtil.checkRegions(HyperlinkTestUtil.java:111)
at org.jboss.tools.seam.ui.test.el.ELExprPartitionerTest.testELExprPartitioner(ELExprPartitionerTest.java:84)
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (JBIDE-9396) EL references are not collected for Text regions of XML files
by Victor Rubezhny (JIRA)
EL references are not collected for Text regions of XML files
-------------------------------------------------------------
Key: JBIDE-9396
URL: https://issues.jboss.org/browse/JBIDE-9396
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 3.3.0.M2
Reporter: Victor Rubezhny
Assignee: Victor Rubezhny
Fix For: 3.3.0.M3
EL references are not collected for Text regions of XML files. This fact causes EL-related features like Hyperlinks not to work on these files for Text regions.
The issue is found by org.jboss.tools.jsf.text.ext.test.JsfTextExtAllTests.testELHyperlink JUnit Test case (See: JBIDE-9385).
The PageContextFactory doesn't collects EL references for Text Regions of XML files but it should do this.
Steps to Reproduce:
EXECUTE: Import jsf/tests/org.jboss.tools.jsf.text.ext.test/projects/JSF2CompositeOpenOn project into workspace
EXECUTE: Open WebContent/WEB-INF/faces-config.xml
EXECUTE: Put cursor inside #{person.name} EL into "name" word and press F3 or click left mouse button while the Ctrl key is pressed
ASSERT: Person.java file is openned in Java Editor and getName() method name is selected (FAILED)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[jbosside-issues] [JBoss JIRA] Created: (JBIDE-467) NullPointerException on ProjectChangeListener
by pchar (JIRA)
NullPointerException on ProjectChangeListener
---------------------------------------------
Key: JBIDE-467
URL: http://jira.jboss.com/jira/browse/JBIDE-467
Project: JBoss IDE
Issue Type: Bug
Components: JBossIDE Core
Affects Versions: 1.6
Environment: Eclipse Version: 3.2.2 Mac OS X Java 1.5
Reporter: pchar
Assigned To: Marshall Culpepper
There's a null pointer excetion on a lister here the stackstrace:
!ENTRY org.eclipse.core.resources 4 2 2007-03-30 08:31:42.807
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 0
java.lang.NullPointerException
at org.jboss.ide.eclipse.core.ProjectChangeListener.resourceChanged(ProjectChangeListener.java:46)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:280)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:274)
at org.eclipse.core.internal.events.NotificationManager.handleEvent(NotificationManager.java:246)
at org.eclipse.core.internal.resources.Workspace.broadcastEvent(Workspace.java:250)
at org.eclipse.core.internal.resources.Project.close(Project.java:186)
at org.eclipse.ui.actions.CloseResourceAction.invokeOperation(CloseResourceAction.java:184)
at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:134)
at org.eclipse.ui.actions.WorkspaceAction$2.runInWorkspace(WorkspaceAction.java:429)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
--
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, 7 months
[jbosside-issues] [JBoss JIRA] Created: (JBIDE-465) Problems occurred when invoking code from plug-in: "org.eclipse.jface".
by Mallika Guliani (JIRA)
Problems occurred when invoking code from plug-in: "org.eclipse.jface".
-----------------------------------------------------------------------
Key: JBIDE-465
URL: http://jira.jboss.com/jira/browse/JBIDE-465
Project: JBoss IDE
Issue Type: Bug
Components: JBossIDE Core
Affects Versions: 1.6
Environment: Win XP PRO
Reporter: Mallika Guliani
Assigned To: Marshall Culpepper
I am not able to create Server configuration in Eclipse 3.2.2. I am using JBoss 1.6.0 GA.
I get the following errors:
Problems occurred when invoking code from plug-in: "org.eclipse.jface".
Unhandled event loop exception - plug in - "org.eclipse.ui"
I saw that this error is already logged but unable to find a solution. Could someone please provide step by step resolution?
I would really appreciate your help. I have already spent a day trying out different versions of JBoss IDE but no result. I have JBoss - 4.0.2 AS.
Thank You.
--
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, 7 months