[JBoss JIRA] Created: (JBIDE-5052) Wrong generation of Hibernate XML mapping file.
by Aliaksey Nis (JIRA)
Wrong generation of Hibernate XML mapping file.
-----------------------------------------------
Key: JBIDE-5052
URL: https://jira.jboss.org/jira/browse/JBIDE-5052
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common, Hibernate
Affects Versions: 3.1.0.M4
Environment: WindowsXP SP2
JBoss Tools
Version: 3.1.0
eclipse-SDK-3.5RC3-win32.zip
Build id: JBossTools-Update-3.1.0.M3-N200907241200-H100
JRE 1.5_08
Reporter: Aliaksey Nis
Assignee: Viacheslav Kabanovich
EXECUTE: Create Seam 2FP EAR project.
EXECUTE: New > Hibernate XML Mapping file.
EXECUTE: Select authentificator class and add it.
EXECUTE: Press Finish.
FAILURE: Error appears in generated file.
"The content of element type "class" must match "(meta*,subselect?,cache?,synchronize*,comment?,tuplizer*,(id|composite-id),discriminator?,natural-id?,(version|timestamp)?,(property|many-to-one|one-to-one|component|dynamic-component|properties|any|map|set|list|bag|idbag|array|primitive-array)*,((join*,subclass*)|joined-subclass*|union-subclass*),loader?,sql-insert?,sql-update?,sql-delete?,filter*,resultset*,(query|sql-query)*)"."
On element: Authenticator.hbm.xml
In folder: seamEar-ejb/ejbModule/org/domain/seamear/session
Location: line 6
Vitaly said that in this generated file class id is missed. So there is an mistake in generator.
--
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
16 years, 4 months
[JBoss JIRA] Created: (JBIDE-5057) Fix JsfAllTests.testPaths
by Alexey Kazakov (JIRA)
Fix JsfAllTests.testPaths
-------------------------
Key: JBIDE-5057
URL: https://jira.jboss.org/jira/browse/JBIDE-5057
Project: Tools (JBoss Tools)
Issue Type: Task
Components: QA
Affects Versions: 3.1.0.M4
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Fix For: 3.1.0.M4, 3.1.0.CR1
Cannot find objects at 1 paths /faces-config.xml/application/com.sun.faces.el.PropertyResolverImpl
junit.framework.AssertionFailedError: Cannot find objects at 1 paths
/faces-config.xml/application/com.sun.faces.el.PropertyResolverImpl
at org.jboss.tools.jsf.test.JSFModelTest.testPaths(JSFModelTest.java:64)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:195)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:138)
at org.eclipse.test.UITestApplication.run(UITestApplication.java:60)
at org.eclipse.test.UITestApplication.start(UITestApplication.java:210)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
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:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
at org.eclipse.core.launcher.Main.main(Main.java:34)
See http://download.jboss.org/jbosstools/builds/nightly/latestBuild.html for details
--
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
16 years, 5 months
[JBoss JIRA] Created: (JBIDE-5062) Fix SeamCoreAllTests.testInnerClass_JBIDE_1374
by Alexey Kazakov (JIRA)
Fix SeamCoreAllTests.testInnerClass_JBIDE_1374
----------------------------------------------
Key: JBIDE-5062
URL: https://jira.jboss.org/jira/browse/JBIDE-5062
Project: Tools (JBoss Tools)
Issue Type: Task
Components: QA, Seam
Affects Versions: 3.1.0.M4
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Fix For: 3.1.0.M4, 3.1.0.CR1
Component inner_JBIDE_1374 declared in inner static class is not found.
junit.framework.AssertionFailedError: Component inner_JBIDE_1374 declared in inner static class is not found.
at org.jboss.tools.seam.core.test.ScannerTest.testInnerClass_JBIDE_1374(ScannerTest.java:495)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:195)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:138)
at org.eclipse.test.UITestApplication.run(UITestApplication.java:60)
at org.eclipse.test.UITestApplication.start(UITestApplication.java:210)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
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:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
at org.eclipse.core.launcher.Main.main(Main.java:34)
See http://download.jboss.org/jbosstools/builds/nightly/latestBuild.html
--
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
16 years, 5 months
[JBoss JIRA] Created: (JBIDE-5167) Warning in org.jboss.ide.eclipse.archives.ui
by Snjezana Peco (JIRA)
Warning in org.jboss.ide.eclipse.archives.ui
--------------------------------------------
Key: JBIDE-5167
URL: https://jira.jboss.org/jira/browse/JBIDE-5167
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Archives
Affects Versions: 3.1.0.M4
Reporter: Snjezana Peco
Assignee: Rob Stryker
If you start JBoss Tools with the "-debug -console -consoleLog" options, you will get the following warning:
!ENTRY org.eclipse.ui 2 0 2009-11-07 20:52:50.609
!MESSAGE Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' extension point
!SUBENTRY 1 org.eclipse.ui 2 0 2009-11-07 20:52:50.609
!MESSAGE Defining a key binding with no key sequence has no effect: plug-in='org.jboss.ide.eclipse.archives.ui', id='org.jboss.ide.eclipse.archives.ui.buildArchiveCommand'
The problem is the following extension point
<extension
point="org.eclipse.ui.bindings">
<key
sequence=""
contextId=""
commandId="org.jboss.ide.eclipse.archives.ui.buildArchiveCommand"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
</extension>
that is declared in the org.jboss.ide.eclipse.archives.ui/plugin.xml file.
The fix is to declare the ext. point correctly (by defining a key sequence and context id) or to remove it.
--
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
16 years, 5 months
[JBoss JIRA] Created: (JBIDE-5179) Possible memory leak during file reading for Seam refactoring.
by Alexey Kazakov (JIRA)
Possible memory leak during file reading for Seam refactoring.
--------------------------------------------------------------
Key: JBIDE-5179
URL: https://jira.jboss.org/jira/browse/JBIDE-5179
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 3.1.0.M4
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: 3.1.0.CR1
We open a lot of InputStreams for searching ELs in files during Seam refactoring. But finally we should close them.
Without it we can have OutOfMemoryError:
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Arrays.java:3209)
at java.lang.String.<init>(String.java:215)
at java.lang.StringBuffer.toString(StringBuffer.java:585)
at org.jboss.tools.common.util.FileUtil.readStream(FileUtil.java:185)
at org.jboss.tools.common.el.core.refactoring.RefactorSearcher.scan(RefactorSearcher.java:196)
at org.jboss.tools.common.el.core.refactoring.RefactorSearcher.scan(RefactorSearcher.java:160)
at org.jboss.tools.common.el.core.refactoring.RefactorSearcher.findELReferences(RefactorSearcher.ja
va:129)
at org.jboss.tools.common.el.ui.refactoring.RenameMethodParticipant.checkConditions(RenameMethodPar
ticipant.java:67)
at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(Pro
cessorBasedRefactoring.java:257)
at org.eclipse.ltk.core.refactoring.Refactoring.checkAllConditions(Refactoring.java:160)
at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper$Operation.run(RefactoringExec
utionHelper.java:80)
at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4694)
at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:1
06)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
--
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
16 years, 5 months