[JBoss JIRA] (JBIDE-15646) make sure current JBDS works with mult-domain OpenShift instance
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15646?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-15646:
------------------------------------------
I setup a DEVENV with 2 users:
* adietish(a)redhat.com (silver-plan)
* adietisheim(a)redhat.com
1) First I created 2 domains for adietish(a)redhat.com in the Web-ui:
* gringo
* ruskie
!multi-domain-setup-adietish.png!
2) the first domain (gringo) then showed up in the OpenShift Explorer:
!!explorer-1.png!
3) I granted adietish+test access to these domains. The first domain then showed up in the OpenShift Explorer:
!explorer-2.png!
4) I tried to create an application for adietish+test(a)redhat.com in the read-only domain he has from adietish(a)redhat.com:
!cannot-create-application.png!
5) Then created adietish+test(a)redhat.com his very own domain:
!multi-domain-setup-test.png!
5) and refreshed the OpenShift Explorer:
!explorer-3.png!
6) and created an application in JBDS:
!explorer-4.png!
7) Then deleted the domain for adietish(a)redhat.com:
!explorer-5.png!
8) And created another application for adietish(a)redhat.com:
!explorer-6.png!
9) killed the domain for adietish+test(a)redhat.com:
!explorer-7.png!
> make sure current JBDS works with mult-domain OpenShift instance
> ----------------------------------------------------------------
>
> Key: JBIDE-15646
> URL: https://issues.jboss.org/browse/JBIDE-15646
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: openshift
> Affects Versions: 4.2.0.Alpha1
> Environment: JBDS 7,
> multidomain DEVENV (2013-10-9)
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Fix For: 4.2.0.Alpha1
>
>
> With the upcoming support for multiple domains, we have to make sure that the existing JBDS/JBT work smoothly even with this newer OpenShift.
--
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
12 years, 6 months
[JBoss JIRA] (JBIDE-15574) Wildfly management plugin getting unsupported class version unit test errors
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15574?page=com.atlassian.jira.plugi... ]
Rob Stryker commented on JBIDE-15574:
-------------------------------------
I did make a commit to update the the server jars to beta1, as that was needed for integrations testing anyway (always stay on the top of the stream), but in reality, there are still issues when using a java 6 jre to run eclipse and communicate with a wildfly server. It appears the the NIO libraries have a requirement on API introduced in java7, specifically a class named ReflectiveOperationException.
I think now it becomes basically a requirement to run eclipse with java7 if you expect to be communicating with wildfly unless we can get the nio stuff fixed.
{code}
java.lang.NoClassDefFoundError: java/lang/ReflectiveOperationException
at org.xnio.ssl.JsseXnioSsl.<init>(JsseXnioSsl.java:81)
at org.xnio.Xnio.getSslProvider(Xnio.java:221)
at org.jboss.remoting3.remote.RemoteConnectionProvider.connect(RemoteConnectionProvider.java:188)
at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:296)
at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:251)
at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:349)
at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:337)
at org.jboss.as.protocol.ProtocolConnectionUtils.connect(ProtocolConnectionUtils.java:80)
at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:99)
at org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:256)
at org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:70)
at org.jboss.as.protocol.mgmt.FutureManagementChannel$Establishing.getChannel(FutureManagementChannel.java:204)
at org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOrCreateChannel(RemotingModelControllerClient.java:148)
at org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.getChannel(RemotingModelControllerClient.java:67)
at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:115)
at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:90)
at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:236)
at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:141)
at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:127)
at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:71)
at org.jboss.ide.eclipse.as.internal.management.wildfly8.Wildfly8Manager.execute(Wildfly8Manager.java:316)
at org.jboss.ide.eclipse.as.internal.management.wildfly8.Wildfly8Manager.getServerState(Wildfly8Manager.java:257)
at org.jboss.ide.eclipse.as.internal.management.wildfly8.Wildfly8ManagerService.getServerState(Wildfly8ManagerService.java:142)
at org.jboss.ide.eclipse.as.management.core.JBoss7ManagerServiceProxy.getServerState(JBoss7ManagerServiceProxy.java:71)
{code}
Re-opening wildfly bug.
> Wildfly management plugin getting unsupported class version unit test errors
> ----------------------------------------------------------------------------
>
> Key: JBIDE-15574
> URL: https://issues.jboss.org/browse/JBIDE-15574
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 4.2.0.Alpha1
> Reporter: Rob Stryker
> Assignee: Rob Stryker
> Fix For: 4.2.0.Alpha1
>
>
> This should be fixed in wildfly beta. There is nothing that tools can do to fix this. The relevant server jars need to rebuilt with a lower class version.
> https://issues.jboss.org/browse/WFLY-2072
> We will switch our unit tests to beta1 as soon as it is available.
--
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
12 years, 6 months
[JBoss JIRA] (JBIDE-15637) NPE in faces-config.xml editor
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15637?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich edited comment on JBIDE-15637 at 10/9/13 12:43 PM:
-------------------------------------------------------------------------
The exception is the result of a memory leak that occurs at replacing the entire content with content of different faces config version. An outdated object remains a listener and fails on events. Changes that do not modify faces config version are merged smoothly and no memory leak occurs.
The same memory leak takes place in Seam Pages editor, but in this case the failure is prevented by code in listener
{code}
if(diagramXML.getPath() == null) {
//FIXME Should not be, this a problem. Listener should be removed earlier
//diagramXML.getModel().removeModelTreeListener(this);
return;
}
{code}
was (Author: scabanovich):
The exception is the result of a memory leak that occurs at replacing the entire content with content of different faces config version. An outdated object remains a listener and fails on events. Changes that do not modify faces config version are merged smoothly and no memory leak occurs.
> NPE in faces-config.xml editor
> ------------------------------
>
> Key: JBIDE-15637
> URL: https://issues.jboss.org/browse/JBIDE-15637
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: xml-structured-editor
> Affects Versions: 4.2.0.Alpha1
> Reporter: Alexey Kazakov
> Assignee: Viacheslav Kabanovich
> Fix For: 4.2.0.Alpha1
>
>
> 1. Create JSF 2.2 KickStart project
> 2. Open faces-config.xml
> 3. Replace the content by the following code:
> {code}
> <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
>
> <render-kit>
> <renderer>
> <component-family>javax.faces.Output</component-family>
> <renderer-type>javax.faces.Text</renderer-type>
> <renderer-class>com.xxx.HtmlTextRenderer</renderer-class>
> </renderer>
>
> <renderer>
> <component-family>javax.faces.Input</component-family>
> <renderer-type>javax.faces.Text</renderer-type><!-- this results in 'Value javax.faces.Text is not unique.', but its needed -->
> <renderer-class>com.xxx.InputTextRenderer</renderer-class>
> </renderer>
> </render-kit>
> </faces-config>
> {code}
> 4. Save the file
> 5. See eclipse log:
> {code}
> java.lang.NullPointerException
> at org.jboss.tools.jsf.ui.editor.model.impl.Page$LinkList.removeLink(Page.java:113)
> at org.jboss.tools.jsf.ui.editor.model.impl.Page.remove(Page.java:235)
> at org.jboss.tools.jsf.ui.editor.model.impl.Group.remove(Group.java:299)
> at org.jboss.tools.jsf.ui.editor.model.impl.JSFModel$ProcessItemList.nodeRemoved(JSFModel.java:408)
> at org.jboss.tools.jsf.ui.editor.model.impl.JSFModel.structureChanged(JSFModel.java:345)
> at org.jboss.tools.common.model.util.XModelTreeListenerSWTSync$2.run(XModelTreeListenerSWTSync.java:53)
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4491)
> at org.jboss.tools.common.model.util.XModelTreeListenerSWTSync.structureChanged(XModelTreeListenerSWTSync.java:47)
> at org.jboss.tools.common.model.impl.XModelImpl$2.run(XModelImpl.java:526)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.jboss.tools.common.model.impl.XModelImpl.fireStructureChanged(XModelImpl.java:522)
> at org.jboss.tools.common.model.impl.XModelObjectImpl.fireStructureChanged(XModelObjectImpl.java:450)
> at org.jboss.tools.common.model.impl.XModelObjectImpl.removeChild(XModelObjectImpl.java:286)
> at org.jboss.tools.common.model.impl.XModelObjectImpl.removeFromParent(XModelObjectImpl.java:292)
> at org.jboss.tools.jsf.model.helpers.JSFProcessHelper.removeObsoleteGroups(JSFProcessHelper.java:135)
> at org.jboss.tools.jsf.model.helpers.JSFProcessHelper.updateProcess0(JSFProcessHelper.java:98)
> at org.jboss.tools.jsf.model.helpers.JSFProcessHelper.updateProcess(JSFProcessHelper.java:74)
> at org.jboss.tools.jsf.model.FacesProcessImpl.updateProcess(FacesProcessImpl.java:63)
> at org.jboss.tools.jsf.model.FacesProcessImpl.loadChildren(FacesProcessImpl.java:54)
> at org.jboss.tools.common.model.impl.RegularObjectImpl.getChildren(RegularObjectImpl.java:61)
> at org.jboss.tools.jst.web.model.helpers.autolayout.Items.initItems(Items.java:57)
> at org.jboss.tools.jst.web.model.helpers.autolayout.Items.load(Items.java:49)
> at org.jboss.tools.jst.web.model.helpers.autolayout.Items.setProcess(Items.java:45)
> at org.jboss.tools.jst.web.model.helpers.autolayout.AutoLayout.setProcess(AutoLayout.java:34)
> at org.jboss.tools.jsf.model.helpers.JSFProcessHelper.autolayout(JSFProcessHelper.java:303)
> at org.jboss.tools.jsf.model.FacesProcessImpl.autolayout(FacesProcessImpl.java:47)
> at org.jboss.tools.jsf.ui.editor.FacesConfigGuiEditor.updateGui(FacesConfigGuiEditor.java:86)
> at org.jboss.tools.common.editor.AbstractSectionEditor.setObject(AbstractSectionEditor.java:96)
> at org.jboss.tools.jsf.ui.editor.FacesConfigEditor.setNormalMode(FacesConfigEditor.java:106)
> at org.jboss.tools.common.editor.ObjectMultiPageEditor.update0(ObjectMultiPageEditor.java:621)
> at org.jboss.tools.common.editor.ObjectMultiPageEditor.structureChanged(ObjectMultiPageEditor.java:573)
> at org.jboss.tools.common.model.util.XModelTreeListenerSWTSync$2.run(XModelTreeListenerSWTSync.java:53)
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4491)
> at org.jboss.tools.common.model.util.XModelTreeListenerSWTSync.structureChanged(XModelTreeListenerSWTSync.java:47)
> at org.jboss.tools.common.model.impl.XModelImpl$2.run(XModelImpl.java:526)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.jboss.tools.common.model.impl.XModelImpl.fireStructureChanged(XModelImpl.java:522)
> at org.jboss.tools.common.model.impl.XModelObjectImpl.fireStructureChanged(XModelObjectImpl.java:450)
> at org.jboss.tools.common.model.filesystems.impl.FolderImpl.fireStructureChanged(FolderImpl.java:836)
> at org.jboss.tools.common.model.impl.XModelObjectImpl.addChild(XModelObjectImpl.java:274)
> at org.jboss.tools.common.model.filesystems.impl.FolderImpl.createFileObject(FolderImpl.java:309)
> at org.jboss.tools.common.model.filesystems.impl.FolderImpl.createFileObject(FolderImpl.java:277)
> at org.jboss.tools.common.model.filesystems.impl.FolderImpl.reload(FolderImpl.java:674)
> at org.jboss.tools.common.model.filesystems.impl.FolderImpl.saveChild(FolderImpl.java:948)
> at org.jboss.tools.common.model.filesystems.impl.FolderImpl.saveChild(FolderImpl.java:929)
> at org.jboss.tools.common.editor.ObjectMultiPageEditor.doSave(ObjectMultiPageEditor.java:374)
> at org.jboss.tools.common.model.ui.editor.EditorPartWrapper.doSave(EditorPartWrapper.java:235)
> at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:150)
> at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:276)
> at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
> at org.eclipse.ui.internal.WorkbenchWindow$13.run(WorkbenchWindow.java:1818)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1815)
> at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:284)
> at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:263)
> at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:155)
> at org.eclipse.ui.internal.WorkbenchPage.saveSaveable(WorkbenchPage.java:3769)
> at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3782)
> at org.jboss.tools.common.model.ui.texteditors.SaveAction2.run(XMLTextEditorComponent.java:465)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
> at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119)
> at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
> at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
> at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)
> at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224)
> at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
> at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167)
> at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
> at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
> at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
> at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:285)
> at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:504)
> at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:555)
> at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:376)
> at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:322)
> at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:84)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1554)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1391)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1416)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1401)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1428)
> at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:829)
> at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:3236)
> at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:758)
> at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2096)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:5467)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4569)
> at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
> at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8742)
> at org.eclipse.swt.widgets.Display.eventProc(Display.java:1243)
> at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
> at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2288)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3361)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
> 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:354)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
> {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
12 years, 6 months
[JBoss JIRA] (JBIDE-15204) New Project wizard hangs when an invalid package is provided as input.
by Koen Aers (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15204?page=com.atlassian.jira.plugi... ]
Koen Aers updated JBIDE-15204:
------------------------------
Assignee: Koen Aers
> New Project wizard hangs when an invalid package is provided as input.
> ----------------------------------------------------------------------
>
> Key: JBIDE-15204
> URL: https://issues.jboss.org/browse/JBIDE-15204
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: forge
> Affects Versions: 4.1.0.Beta2
> Reporter: Vineet Reynolds
> Assignee: Koen Aers
> Fix For: 4.1.1.Beta1, 4.2.0.Alpha1
>
> Attachments: eclipse-threaddump-1373927608559.tdump, forge-threaddump-1373927611426.tdump
>
>
> The new project wizard hangs when an invalid package name (according to Forge) is provided in the dialog box. On clicking the Finish button in the wizard, it hangs when running the {{new-project ....}} Forge command.
> This is due to Forge waiting for the user to supply a valid package name. See attached thread dumps.
> Other comments:
> In a way, this is related to FORGE-687, but the fix should probably go into the wizard so users can correct the name instead of Forge deciding on a default.
--
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
12 years, 6 months
[JBoss JIRA] (JBIDE-15637) NPE in faces-config.xml editor
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15637?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich commented on JBIDE-15637:
-----------------------------------------------
The exception is the result of a memory leak that occurs at replacing the entire content with content of different faces config version. An outdated object remains a listener and fails on events. Changes that do not modify faces config version are merged smoothly and no memory leak occurs.
> NPE in faces-config.xml editor
> ------------------------------
>
> Key: JBIDE-15637
> URL: https://issues.jboss.org/browse/JBIDE-15637
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: xml-structured-editor
> Affects Versions: 4.2.0.Alpha1
> Reporter: Alexey Kazakov
> Assignee: Viacheslav Kabanovich
> Fix For: 4.2.0.Alpha1
>
>
> 1. Create JSF 2.2 KickStart project
> 2. Open faces-config.xml
> 3. Replace the content by the following code:
> {code}
> <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
>
> <render-kit>
> <renderer>
> <component-family>javax.faces.Output</component-family>
> <renderer-type>javax.faces.Text</renderer-type>
> <renderer-class>com.xxx.HtmlTextRenderer</renderer-class>
> </renderer>
>
> <renderer>
> <component-family>javax.faces.Input</component-family>
> <renderer-type>javax.faces.Text</renderer-type><!-- this results in 'Value javax.faces.Text is not unique.', but its needed -->
> <renderer-class>com.xxx.InputTextRenderer</renderer-class>
> </renderer>
> </render-kit>
> </faces-config>
> {code}
> 4. Save the file
> 5. See eclipse log:
> {code}
> java.lang.NullPointerException
> at org.jboss.tools.jsf.ui.editor.model.impl.Page$LinkList.removeLink(Page.java:113)
> at org.jboss.tools.jsf.ui.editor.model.impl.Page.remove(Page.java:235)
> at org.jboss.tools.jsf.ui.editor.model.impl.Group.remove(Group.java:299)
> at org.jboss.tools.jsf.ui.editor.model.impl.JSFModel$ProcessItemList.nodeRemoved(JSFModel.java:408)
> at org.jboss.tools.jsf.ui.editor.model.impl.JSFModel.structureChanged(JSFModel.java:345)
> at org.jboss.tools.common.model.util.XModelTreeListenerSWTSync$2.run(XModelTreeListenerSWTSync.java:53)
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4491)
> at org.jboss.tools.common.model.util.XModelTreeListenerSWTSync.structureChanged(XModelTreeListenerSWTSync.java:47)
> at org.jboss.tools.common.model.impl.XModelImpl$2.run(XModelImpl.java:526)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.jboss.tools.common.model.impl.XModelImpl.fireStructureChanged(XModelImpl.java:522)
> at org.jboss.tools.common.model.impl.XModelObjectImpl.fireStructureChanged(XModelObjectImpl.java:450)
> at org.jboss.tools.common.model.impl.XModelObjectImpl.removeChild(XModelObjectImpl.java:286)
> at org.jboss.tools.common.model.impl.XModelObjectImpl.removeFromParent(XModelObjectImpl.java:292)
> at org.jboss.tools.jsf.model.helpers.JSFProcessHelper.removeObsoleteGroups(JSFProcessHelper.java:135)
> at org.jboss.tools.jsf.model.helpers.JSFProcessHelper.updateProcess0(JSFProcessHelper.java:98)
> at org.jboss.tools.jsf.model.helpers.JSFProcessHelper.updateProcess(JSFProcessHelper.java:74)
> at org.jboss.tools.jsf.model.FacesProcessImpl.updateProcess(FacesProcessImpl.java:63)
> at org.jboss.tools.jsf.model.FacesProcessImpl.loadChildren(FacesProcessImpl.java:54)
> at org.jboss.tools.common.model.impl.RegularObjectImpl.getChildren(RegularObjectImpl.java:61)
> at org.jboss.tools.jst.web.model.helpers.autolayout.Items.initItems(Items.java:57)
> at org.jboss.tools.jst.web.model.helpers.autolayout.Items.load(Items.java:49)
> at org.jboss.tools.jst.web.model.helpers.autolayout.Items.setProcess(Items.java:45)
> at org.jboss.tools.jst.web.model.helpers.autolayout.AutoLayout.setProcess(AutoLayout.java:34)
> at org.jboss.tools.jsf.model.helpers.JSFProcessHelper.autolayout(JSFProcessHelper.java:303)
> at org.jboss.tools.jsf.model.FacesProcessImpl.autolayout(FacesProcessImpl.java:47)
> at org.jboss.tools.jsf.ui.editor.FacesConfigGuiEditor.updateGui(FacesConfigGuiEditor.java:86)
> at org.jboss.tools.common.editor.AbstractSectionEditor.setObject(AbstractSectionEditor.java:96)
> at org.jboss.tools.jsf.ui.editor.FacesConfigEditor.setNormalMode(FacesConfigEditor.java:106)
> at org.jboss.tools.common.editor.ObjectMultiPageEditor.update0(ObjectMultiPageEditor.java:621)
> at org.jboss.tools.common.editor.ObjectMultiPageEditor.structureChanged(ObjectMultiPageEditor.java:573)
> at org.jboss.tools.common.model.util.XModelTreeListenerSWTSync$2.run(XModelTreeListenerSWTSync.java:53)
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4491)
> at org.jboss.tools.common.model.util.XModelTreeListenerSWTSync.structureChanged(XModelTreeListenerSWTSync.java:47)
> at org.jboss.tools.common.model.impl.XModelImpl$2.run(XModelImpl.java:526)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.jboss.tools.common.model.impl.XModelImpl.fireStructureChanged(XModelImpl.java:522)
> at org.jboss.tools.common.model.impl.XModelObjectImpl.fireStructureChanged(XModelObjectImpl.java:450)
> at org.jboss.tools.common.model.filesystems.impl.FolderImpl.fireStructureChanged(FolderImpl.java:836)
> at org.jboss.tools.common.model.impl.XModelObjectImpl.addChild(XModelObjectImpl.java:274)
> at org.jboss.tools.common.model.filesystems.impl.FolderImpl.createFileObject(FolderImpl.java:309)
> at org.jboss.tools.common.model.filesystems.impl.FolderImpl.createFileObject(FolderImpl.java:277)
> at org.jboss.tools.common.model.filesystems.impl.FolderImpl.reload(FolderImpl.java:674)
> at org.jboss.tools.common.model.filesystems.impl.FolderImpl.saveChild(FolderImpl.java:948)
> at org.jboss.tools.common.model.filesystems.impl.FolderImpl.saveChild(FolderImpl.java:929)
> at org.jboss.tools.common.editor.ObjectMultiPageEditor.doSave(ObjectMultiPageEditor.java:374)
> at org.jboss.tools.common.model.ui.editor.EditorPartWrapper.doSave(EditorPartWrapper.java:235)
> at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:150)
> at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:276)
> at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
> at org.eclipse.ui.internal.WorkbenchWindow$13.run(WorkbenchWindow.java:1818)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1815)
> at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:284)
> at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:263)
> at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:155)
> at org.eclipse.ui.internal.WorkbenchPage.saveSaveable(WorkbenchPage.java:3769)
> at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3782)
> at org.jboss.tools.common.model.ui.texteditors.SaveAction2.run(XMLTextEditorComponent.java:465)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
> at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119)
> at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
> at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
> at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)
> at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224)
> at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
> at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167)
> at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
> at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
> at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
> at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:285)
> at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:504)
> at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:555)
> at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:376)
> at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:322)
> at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:84)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1554)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1391)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1416)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1401)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1428)
> at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:829)
> at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:3236)
> at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:758)
> at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2096)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:5467)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4569)
> at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
> at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8742)
> at org.eclipse.swt.widgets.Display.eventProc(Display.java:1243)
> at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
> at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2288)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3361)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
> 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:354)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
> {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
12 years, 6 months
[JBoss JIRA] (JBIDE-15143) Eclipse is not running newly created forge web project
by Koen Aers (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15143?page=com.atlassian.jira.plugi... ]
Koen Aers updated JBIDE-15143:
------------------------------
Assignee: Koen Aers
> Eclipse is not running newly created forge web project
> ------------------------------------------------------
>
> Key: JBIDE-15143
> URL: https://issues.jboss.org/browse/JBIDE-15143
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: forge
> Affects Versions: 4.1.0.Beta2
> Environment: Windows XP, Eclipse Kepler, Forge 1.3.2, Maven 3
> Reporter: Rajmahendra Hegde
> Assignee: Koen Aers
> Fix For: 4.1.1.Beta1, 4.2.0.Alpha1
>
> Attachments: 15143-app-launched.png, 15143-installing.png, 15143-mark-deployable-not-needed.png, 15143-pick-server.png, 15143-servers-view.png, EclipseJBossTools.PNG
>
>
> I created a new forge project in Eclipse forge plugin
> run scaffold to create a JSF project and when i right click the project i don't see Run as Server. I see a option of make as deplorable . its also not working.
--
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
12 years, 6 months
[JBoss JIRA] (JBIDE-13156) Cannot install jboss-as-7 plugin
by Koen Aers (JIRA)
[ https://issues.jboss.org/browse/JBIDE-13156?page=com.atlassian.jira.plugi... ]
Koen Aers updated JBIDE-13156:
------------------------------
Fix Version/s: (was: 4.0.x)
(was: 4.1.x)
> Cannot install jboss-as-7 plugin
> --------------------------------
>
> Key: JBIDE-13156
> URL: https://issues.jboss.org/browse/JBIDE-13156
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: forge
> Affects Versions: 4.0.0.CR1
> Environment: jbdevstudio-6.0.0.CR1a build
> Reporter: Pavol Srna
> Assignee: Koen Aers
> Priority: Minor
>
> I'm unable to install jboss-as-7 plugin. Embedded forge runtime was updated to Forge.1.1.2.Final (https://issues.jboss.org/browse/JBIDE-13108) but I still cannot install jboss-as-7 plugin from within the tooling. I tried in forge runtime 1.1.2.Final and there are no problems, so it looks like tooling issue.
> StackTrace:
> -----------
> {code}
> at org.jboss.forge.maven.facets.MavenProjectBuilder.build(MavenProjectBuilder.java:86)
> at org.jboss.forge.shell.plugins.builtin.ForgePlugin.buildFromCurrentProject(ForgePlugin.java:633)
> at org.jboss.forge.shell.plugins.builtin.ForgePlugin.installFromGit(ForgePlugin.java:404)
> at org.jboss.forge.shell.plugins.builtin.ForgePlugin.installFromIndex(ForgePlugin.java:245)
> 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.jboss.forge.shell.command.Execution.perform(Execution.java:134)
> at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)
> at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)
> at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:818)
> at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:841)
> at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:631)
> 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.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
> at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
> at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)
> 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.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
> at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
> at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
> at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
> at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
> at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
> at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
> at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:172)
> at java.lang.Thread.run(Thread.java:662)
> {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
12 years, 6 months