[JBoss JIRA] Created: (JBIDE-8464) Ensure that the Seam Project wizard opens the Seam perspective with the Web Development perspective as preferred
by Brian Fitzpatrick (JIRA)
Ensure that the Seam Project wizard opens the Seam perspective with the Web Development perspective as preferred
----------------------------------------------------------------------------------------------------------------
Key: JBIDE-8464
URL: https://issues.jboss.org/browse/JBIDE-8464
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 3.2.0.Final
Reporter: Brian Fitzpatrick
Assignee: Alexey Kazakov
Fix For: 3.2.1, 3.3.0.M1
This task is an extension of JBDS-1554. When creating a new Seam Project, the Seam perspective is already set as the final perspective and opened by default. We also need to add the Web Development (perspective) to the "preferred" list. This can be done by updating the Seam Project wizard's "newWizard" extension point and setting the "preferredPerspectives" properties. In order to see these properties, you'll need to grab the Eclipse SDK and Eclipse Platform SDKs to be installed if they aren't already or they won't appear as options in the plugin editor.
final perspective ID = Seam perspective (already done)
preferred list = Seam perspective and Web Development perspective IDs
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] (JBIDE-10560) Inline evaluation error while using criteria editor with Hibernate 4
by Jiri Peterka (Created) (JIRA)
Inline evaluation error while using criteria editor with Hibernate 4
--------------------------------------------------------------------
Key: JBIDE-10560
URL: https://issues.jboss.org/browse/JBIDE-10560
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: hibernate
Affects Versions: 3.3.0.M5
Environment: JBDS 5.0.0.M5a, H62,L64
Reporter: Jiri Peterka
Assignee: Dmitry Geraskov
Fix For: 3.2.0.Final
Sourced file: inline evaluation of: ``session.createCriteria(Customers.class) .setProjection(Property.forName("contact . . . '' : Error in method invocation: Method setProjection( org.hibernate.criterion.AliasedProjection ) not found in class'org.hibernate.internal.CriteriaImpl' : at Line: 2 : in file: inline evaluation of: ``session.createCriteria(Customers.class) .setProjection(Property.forName("contact . . . '' : .setProjection ( Property .forName ( "contactlastname" ) .as ( "contactlastname" ) )
at bsh.BSHPrimarySuffix.doName(Unknown Source)
at bsh.BSHPrimarySuffix.doSuffix(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.Interpreter.eval(Unknown Source)
at bsh.Interpreter.eval(Unknown Source)
at bsh.Interpreter.eval(Unknown Source)
at org.jboss.tools.hibernate4_0.QueryExecutor.executeCriteriaQuery(QueryExecutor.java:79)
at org.jboss.tools.hibernate4_0.HibernateExtension4_0.executeCriteriaQuery(HibernateExtension4_0.java:104)
at org.hibernate.console.ext.JavaPage.updateQueryResults(JavaPage.java:55)
at org.hibernate.console.ext.JavaPage.getList(JavaPage.java:46)
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:326)
at org.hibernate.console.ConsoleConfiguration.access$4(ConsoleConfiguration.java:324)
at org.hibernate.console.ConsoleConfiguration$5.execute(ConsoleConfiguration.java:300)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:107)
at org.hibernate.console.ConsoleConfiguration.executeBSHQuery(ConsoleConfiguration.java:296)
at org.hibernate.eclipse.criteriaeditor.CriteriaEditor.executeQuery(CriteriaEditor.java:146)
at org.hibernate.eclipse.console.actions.ExecuteQueryAction.execute(ExecuteQueryAction.java:84)
at org.hibernate.eclipse.console.actions.ExecuteQueryAction.run(ExecuteQueryAction.java:55)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.hibernate.eclipse.console.actions.ExecuteQueryAction.runWithEvent(ExecuteQueryAction.java:59)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] (JBIDE-10533) test failures in seam.core
by Nick Boldt (Created) (JIRA)
test failures in seam.core
--------------------------
Key: JBIDE-10533
URL: https://issues.jboss.org/browse/JBIDE-10533
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam 2
Affects Versions: 3.3.0.Beta1
Reporter: Nick Boldt
Assignee: Alexey Kazakov
Fix For: 3.3.0.Beta1
After switching to newer target platform (JBIDE-10289), 27 tests are failing.
https://hudson.qa.jboss.com/hudson/view/DevStudio/view/DevStudio_Trunk/jo...
https://hudson.qa.jboss.com/hudson/view/DevStudio/view/DevStudio_Trunk/jo...
27 test failures since Build #695 (Dec 16, 2011 5:56:37 PM):
{code}
Test Name Duration Age
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testFactory 0.792 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testJiraJbide1696 0.019 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testDuplicateComponentNameValidator 1.191 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testStatefulComponentWithoutRemoveMethodValidator 0.708 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testStatefulComponentWithoutDestroyMethodValidator 0.572 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testStatefulComponentHasWrongScopeValidator 0.652 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testComponentTypeValidator 0.539 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testComponentWithoutSetterValidator 0.553 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testEntityHasWrongScopeValidator 0.674 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testDuplicateDestroyMethodValidator 0.666 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testDuplicateCreateMethodValidator 0.566 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testDuplicateUnwrapMethodValidator 0.564 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testOnlyJavaBeansAndStatefulSessionBeansSupportDestroyMethodValidator 0.657 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testOnlyComponentClassCanHaveCreateMethodValidator 0.648 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testOnlyComponentClassCanHaveUnwrapMethodValidator 0.541 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testOnlyComponentClassCanHaveObserverMethodValidator 0.545 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testDuplicateRemoveMethodValidator 0.551 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testUnknownFactoryNameValidator 0.655 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testDuplicateFactoryNameValidator 0.655 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testMultipleDataBinderValidator 0.81 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testUnknownDataModelNameValidator 0.658 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testDuplicateVariableName_Validator 0.691 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testUnknownVariableNameValidator 0.67 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testPropertyHasOnlySetterValidator 1.683 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testPropertyHasOnlyGetterValidator 1.763 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testDuplicateComponents 0.606 1
>>> org.jboss.tools.seam.core.test.SeamValidatorsAllTests.testErrorMarkerInPagesXML 0.074 1
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Created: (JBIDE-8563) Alternative being not being recognized as so.
by José Freitas (JIRA)
Alternative being not being recognized as so.
---------------------------------------------
Key: JBIDE-8563
URL: https://issues.jboss.org/browse/JBIDE-8563
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.2.0.Final
Reporter: José Freitas
Assignee: Alexey Kazakov
Priority: Minor
the problem occurs on
booking example:
https://github.com/seam/examples/
declaring on WEB-INF/beans.xml
{code}
<alternatives>
<class>org.jboss.seam.examples.booking.bootstrap.ApplicationInitializer</class>
</alternatives>
{code}
gives me the error check:
{code}
<class> element must specify the name of an alternative bean class [JSR-299 §5.1.1]
{code}
but the class is declared as an Alternative
{code}
@Alternative
public class ApplicationInitializer{
...
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] (JBIDE-10637) Wizard 'Specify CDI Bean for the Injection Point' does not compute correctly condition 'can finish'
by Viacheslav Kabanovich (JIRA)
Viacheslav Kabanovich created JBIDE-10637:
---------------------------------------------
Summary: Wizard 'Specify CDI Bean for the Injection Point' does not compute correctly condition 'can finish'
Key: JBIDE-10637
URL: https://issues.jboss.org/browse/JBIDE-10637
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: CDI
Affects Versions: 3.3.0.M5
Reporter: Viacheslav Kabanovich
Assignee: Alexey Kazakov
Fix For: 3.3.0.Beta1
EXECUTE: Create CDI qualifier @Q("value") and bean:
{code}
public class MyBean {
@Inject
void a(@Q("x") Object b) {}
@Produces @Q("b1") Object b1;
@Produces @Q("b2") Object b2;
@Produces @Q("b3") Object b3;
@Produces @Q("b4") Object b4;
@Produces @Q("b5") Object b5;
@Produces @Q("b6") Object b6;
@Produces @Q("b8") Object b8;
}
{code}
ASSERT: There is an error marker at the method parameter 'No bean is eligible...'.
EXECUTE: Invoke quick fixes and run 'Select bean to configure the injection point'.
ASSERT: Wizard 'Specify CDI Bean for the Injection Point' appears with options MyBean.b1, MyBean.b2, etc.
MINOR FAILURE: Available beans are not sorted, and are listed in a different order after each rebuilding of the project.
MINOR FAILURE: There is no initial selection (most selection wizards auto-select the first element of the list if it is not empty)
EXECUTE: Select any option
ASSERT: Finish button is enabled. (That is OK.)
Further, two cases:
Case 1.
EXECUTE: Click another option.
FAILURE: Finish button in some cases gets and then remains disabled. (It still gets/remains enabled if 'MyBean.b1' is selected after 'MyBean').
Case 2.
EXECUTE: Click 'Next>' button.
FAILURE: Finish button in some cases gets disabled, and remains disabled after '<Back' is clicked.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Created: (JBDS-1099) Verify JBDS update site capacity for Eclipse bits
by Mark Yarborough (JIRA)
Verify JBDS update site capacity for Eclipse bits
-------------------------------------------------
Key: JBDS-1099
URL: https://jira.jboss.org/jira/browse/JBDS-1099
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Task
Components: Program
Affects Versions: LATER
Reporter: Mark Yarborough
The JBDS team would like to ensure that the JBDS update site has capacity (disk and bandwidth) to support the addition of Eclipse bits. This will ensure that the version of eclipse that users pull is the same version that the JBDS release validated in product QE, and should make updating easier for customers. However, addition of these bits will potentially take more disk space and more download bandwidth, hence this "program" related task jira...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] (JBIDE-10559) IncompatibleClassChangeError when using Query Parameter with Hibernate 4
by Jiri Peterka (Created) (JIRA)
IncompatibleClassChangeError when using Query Parameter with Hibernate 4
------------------------------------------------------------------------
Key: JBIDE-10559
URL: https://issues.jboss.org/browse/JBIDE-10559
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: hibernate
Affects Versions: 3.3.0.M5
Environment: JBDS 5.0.0.M5a, H62,L64
Reporter: Jiri Peterka
Assignee: Dmitry Geraskov
Fix For: 3.3.0.Beta1
java.lang.IncompatibleClassChangeError: Class org.hibernate.type.StringType does not implement the requested interface org.hibernate.type.Type
at org.hibernate.param.NamedParameterSpecification.bind(NamedParameterSpecification.java:66)
at org.hibernate.loader.hql.QueryLoader.bindParameterValues(QueryLoader.java:588)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1756)
at org.hibernate.loader.Loader.doQuery(Loader.java:828)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:289)
at org.hibernate.loader.Loader.doList(Loader.java:2463)
at org.hibernate.loader.Loader.doList(Loader.java:2449)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2279)
at org.hibernate.loader.Loader.list(Loader.java:2274)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:470)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:355)
at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:196)
at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1116)
at org.hibernate.internal.QueryImpl.list(QueryImpl.java:101)
at org.jboss.tools.hibernate4_0.QueryExecutor.executeHQLQuery(QueryExecutor.java:54)
at org.jboss.tools.hibernate4_0.HibernateExtension4_0.executeHQLQuery(HibernateExtension4_0.java:79)
at org.hibernate.console.ext.HQLQueryPage.updateQueryResults(HQLQueryPage.java:47)
at org.hibernate.console.ext.HQLQueryPage.getPathNames(HQLQueryPage.java:71)
at org.hibernate.eclipse.console.views.QueryPageViewer.addColumnsToTable(QueryPageViewer.java:266)
at org.hibernate.eclipse.console.views.QueryPageViewer.createTable(QueryPageViewer.java:221)
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:326)
at org.hibernate.console.ConsoleConfiguration.executeHQLQuery(ConsoleConfiguration.java:291)
at org.hibernate.eclipse.hqleditor.HQLEditor.executeQuery(HQLEditor.java:449)
at org.hibernate.eclipse.console.actions.ExecuteQueryAction.execute(ExecuteQueryAction.java:84)
at org.hibernate.eclipse.console.actions.ExecuteQueryAction.run(ExecuteQueryAction.java:55)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.hibernate.eclipse.console.actions.ExecuteQueryAction.runWithEvent(ExecuteQueryAction.java:59)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] (JBIDE-10515) Mappings in H4 configuration are not built by default
by Dmitry Geraskov (Created) (JIRA)
Mappings in H4 configuration are not built by default
-----------------------------------------------------
Key: JBIDE-10515
URL: https://issues.jboss.org/browse/JBIDE-10515
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: hibernate
Affects Versions: 3.3.0.M5
Reporter: Dmitry Geraskov
Assignee: Dmitry Geraskov
Priority: Critical
Fix For: 3.3.0.Beta1
When JPA configuration is used we call configure(Properties properties, Map workingVars) method and as a side effect mappings were built earlier.
But in Hibernate 4 this doesn't happen. So we need to call buildMappings evidently.
Test Case:
1. Create JPA Project with hibernate 4 with some mapping
2. Set Console Configuration Hierbante version to 4.0
3. Expand Configuration node in the tree
4. Right click on the mapped class-open in HQL Editor
5. Change query to "from <myPack>.<MyClass> s where s." and press ctrl+space for code completion
6. FAILURE: code completion don't show properties as completion proposals
7. Expands SessionFactory node in the tree
8. Step6 how shows correct completion proposals
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] (JBIDE-10506) H4 query code completion throws exception
by Max Rydahl Andersen (Created) (JIRA)
H4 query code completion throws exception
-----------------------------------------
Key: JBIDE-10506
URL: https://issues.jboss.org/browse/JBIDE-10506
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: hibernate
Reporter: Max Rydahl Andersen
Assignee: Dmitry Geraskov
Priority: Critical
Fix For: 3.3.0.Beta1
java.lang.LinkageError: loader constraint violation: when resolving method "org.hibernate.eclipse.console.workbench.HibernateWorkbenchHelper.getImage(Lorg/hibernate/mapping/Property;)Lorg/eclipse/swt/graphics/Image;" the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, org/jboss/tools/hibernate4_0/console/EclipseHQLCompletionRequestor, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved class, org/hibernate/eclipse/console/workbench/HibernateWorkbenchHelper, have different Class objects for the type org/hibernate/mapping/Property used in the signature
at org.jboss.tools.hibernate4_0.console.EclipseHQLCompletionRequestor.getImage(EclipseHQLCompletionRequestor.java:120)
at org.jboss.tools.hibernate4_0.console.EclipseHQLCompletionRequestor.accept(EclipseHQLCompletionRequestor.java:59)
at org.hibernate.tool.ide.completion.ConfigurationCompletion.addPropertiesToList(ConfigurationCompletion.java:187)
at org.hibernate.tool.ide.completion.ConfigurationCompletion.getMatchingProperties(ConfigurationCompletion.java:80)
at org.hibernate.tool.ide.completion.HQLCodeAssist.codeComplete(HQLCodeAssist.java:66)
at org.jboss.tools.hibernate4_0.console.ConsoleExtension4_0.hqlCodeComplete(ConsoleExtension4_0.java:93)
at org.hibernate.eclipse.hqleditor.HQLCompletionProcessor.computeProposals(HQLCompletionProcessor.java:122)
at org.hibernate.eclipse.hqleditor.HQLCompletionProcessor.computeCompletionProposals(HQLCompletionProcessor.java:82)
at org.hibernate.eclipse.hqleditor.HQLCompletionProcessor.computeCompletionProposals(HQLCompletionProcessor.java:65)
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1830)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:556)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:553)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:488)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:482)
at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1656)
at org.hibernate.eclipse.hqleditor.HQLSourceViewer.doOperation(HQLSourceViewer.java:58)
at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:128)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:126)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1069)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4127)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1494)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1490)
at org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:463)
at org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1051)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5563)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68)
at org.eclipse.swt.widgets.Composite.keyDown(Composite.java:587)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5473)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2092)
at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2252)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5535)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4989)
at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5138)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month