[JBoss JIRA] Created: (JBIDE-4541) java.lang.IllegalArgumentException in visual context menu for unknown tags
by Yura Zhishko (JIRA)
java.lang.IllegalArgumentException in visual context menu for unknown tags
--------------------------------------------------------------------------
Key: JBIDE-4541
URL: https://jira.jboss.org/jira/browse/JBIDE-4541
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.1.0.M2
Reporter: Yura Zhishko
Assignee: Denis Maliarevich
1) Create any empty JSP page
2) Insert next text into source path:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<html>
<head>
<title></title>
</head>
<body>
<f:view>
<my></my>
</f:view>
</body>
</html>
ASSERT: Tag <my> is displayed as unknown
3) Call context menu in visual part for this tag
ASSERT: Context menu with Setup template... option appears
ASSERT FAILED: Context menu with <my> Attributes appears with next exceptio0n in Error Log:
java.lang.IllegalArgumentException: Index out of bounds
at org.eclipse.swt.SWT.error(SWT.java:3865)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at org.eclipse.swt.SWT.error(SWT.java:3770)
at org.eclipse.swt.widgets.Widget.error(Widget.java:463)
at org.eclipse.swt.widgets.Menu.createItem(Menu.java:453)
at org.eclipse.swt.widgets.MenuItem.<init>(MenuItem.java:133)
at org.eclipse.jface.action.ActionContributionItem.fill(ActionContributionItem.java:269)
at org.jboss.tools.vpe.editor.menu.SetupTemplateContributionItem.fill(SetupTemplateContributionItem.java:76)
at org.eclipse.jface.action.MenuManager.doItemFill(MenuManager.java:737)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java:818)
at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:470)
at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:465)
at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:491)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:235)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:4270)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3974)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1578)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2010)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4589)
at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:254)
at org.eclipse.swt.widgets.Display.runPopups(Display.java:3906)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3467)
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.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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
--
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, 3 months
[JBoss JIRA] Created: (JBIDE-4012) Seam Generate Entities doesn't work in Seam DVD Example Project.
by Anton Klimkovich (JIRA)
Seam Generate Entities doesn't work in Seam DVD Example Project.
----------------------------------------------------------------
Key: JBIDE-4012
URL: https://jira.jboss.org/jira/browse/JBIDE-4012
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Reporter: Anton Klimkovich
Attachments: exception.txt
EXECUTE: Import Seam DVD Example Project into workspace
EXECUTE: select project-> New -> Seam Generate Entities
EXECUTE: Refresh Database schema and include some table to Table Filter
EXECUTE: Press Finish button
FAILURE: org.hibernate.console.HibernateConsoleRuntimeException: Output directory '/dvdstore/WebContent/layout' in Generic Exporter (<hbmtemplate>) does not exist.
Entities will be generated successfully If you create Output directory '/dvdstore/WebContent/layout in the project.
--
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, 3 months
[JBoss JIRA] Created: (JBIDE-4608) Hot deployment woks incorrectly with JBossAS Tools
by Alexander Lengson (JIRA)
Hot deployment woks incorrectly with JBossAS Tools
--------------------------------------------------
Key: JBIDE-4608
URL: https://jira.jboss.org/jira/browse/JBIDE-4608
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 3.0.1.GA
Environment: Windows XP SP3
Eclipse 3.5: eclipse-jee-galileo-win32.zip
JBossTools : 3.0.1.GA JBossTools-ALL-win32-3.0.1.GA-R200905070146-H18.zip
JBoss AS: 5.0.1.GA
Reporter: Alexander Lengson
Assignee: Rob Stryker
Fix For: 3.0.2.GA
Hot deployment does not work as expected with the above configuration.
* Two eclipse projects are created: one EJB Project containing single EJB, and one EAR project containing that EJB.
* EAR Project is deployed to JBoss thru JBoss Server View.
* JBoss started and recognized EJB:
clear-ear/EJB01/remote - EJB3.x Default Remote Business Interface
clear-ear/EJB01/remote-EJBRem - EJB3.x Remote Business Interface
* When source code of EJB is changed, it is recompiled and "Republish" note appeared
* After pressing "Full publish" code is actually copied to the deploy folder on the server (byte code is verified manually), but JBoss does not detect hot deployment and does not redeploy EJB
When trying to make deployment thru Project Archives View on the same configuration, the following happening:
* Archives are created within eclipse project folder.
* After pressing "Publish to Server" in Project Archives View, item appears in JBoss Server View, but archive is not copied into JBoss deploy folder and JBoss does not detect that new EJB is deployed.
JBoss' properties are:
Use the JBoss deploy folder
Tested on two separate machines. Results are the same.
--
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, 3 months