[JBoss JIRA] Created: (JBIDE-3915) jBPM Eclipse plugin can't save graphical view if gpd.xml is marked as read only
by Hedley Proctor (JIRA)
jBPM Eclipse plugin can't save graphical view if gpd.xml is marked as read only
-------------------------------------------------------------------------------
Key: JBIDE-3915
URL: https://jira.jboss.org/jira/browse/JBIDE-3915
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jbpm
Affects Versions: 3.1.0
Environment: Windows xp
Eclipse 3.3.2
jPDL Eclipse plugin v3.1.3 SP2
Reporter: Hedley Proctor
Usually when you get files out of a source control system, they will be marked as read only. So if you are editing a Java file in Eclipse, you will get a dialog box coming up asking you to make the file writable. Now consider what happens with jBPM:
Most likely you will check in the gpd.xml file. Otherwise, other people trying to view your processdefinition.xml file will not get a very viewable image. (Everything will appear in the top left.)
When you start editing your processdefinition.xml file, the picture you see will be updated. Everything will appear to be fine. However, none of the changes are saved to the gpd.xml file. When you shutdown Eclipse and restart, the gpd.xml will be out of step with the processdefinition.xml.
I think this could be fixed fairly easily with a couple of lines of code that check the writable status of the gpd.xml file and change it if necessary. Obviously the workaround is just to manually change the write flag, but it is a bit of a "gotcha" and can lead to work being lost if you don't know to do that.
--
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, 7 months
[JBoss JIRA] Created: (JBIDE-4757) NPE when try to open xhtml page from jar file
by Yura Zhishko (JIRA)
NPE when try to open xhtml page from jar file
---------------------------------------------
Key: JBIDE-4757
URL: https://jira.jboss.org/jira/browse/JBIDE-4757
Project: JBoss Tools
Issue Type: Bug
Components: common, jsp/jsf/xml source editing
Affects Versions: 3.1.0.M3
Reporter: Yura Zhishko
Assignee: Alexey Kazakov
1) Import project from https://svn.jboss.org/repos/jbosstools/trunk/jsf/tests/org.jboss.tools.js... into workspace.
2) Open paginator.xhtml from mareashkau.jar file using JBTools Editor
RESULT:
java.lang.NullPointerException
at org.jboss.tools.common.el.core.resolver.ELResolverFactoryManager.getResolvers(ELResolverFactoryManager.java:55)
at org.jboss.tools.jst.jsp.contentassist.AbstractXMLContentAssistProcessor.getELResolvers(AbstractXMLContentAssistProcessor.java:650)
at org.jboss.tools.jst.jsp.contentassist.XmlContentAssistProcessor.createContext(XmlContentAssistProcessor.java:47)
at org.jboss.tools.jst.jsp.contentassist.JspContentAssistProcessor.createContext(JspContentAssistProcessor.java:70)
at org.jboss.tools.jst.jsp.contentassist.FaceletPageContectAssistProcessor.createContext(FaceletPageContectAssistProcessor.java:58)
at org.jboss.tools.jst.jsp.contentassist.JspContentAssistProcessor.createContext(JspContentAssistProcessor.java:1)
at org.jboss.tools.jst.jsp.contentassist.AbstractXMLContentAssistProcessor.createContext(AbstractXMLContentAssistProcessor.java:243)
at org.jboss.tools.jst.jsp.outline.JSPPropertySourceAdapter.setTarget(JSPPropertySourceAdapter.java:106)
at org.jboss.tools.jst.jsp.outline.JSPPropertySourceAdapter.<init>(JSPPropertySourceAdapter.java:84)
at org.jboss.tools.jst.jsp.outline.JSPPropertySheetConfiguration$JSPPropertySourceProvider0.getPropertySource(JSPPropertySheetConfiguration.java:56)
at org.eclipse.ui.views.properties.PropertySheetEntry.getPropertySource(PropertySheetEntry.java:470)
at org.eclipse.ui.views.properties.PropertySheetEntry.setValues(PropertySheetEntry.java:752)
at org.eclipse.ui.views.properties.PropertySheetViewer.setInput(PropertySheetViewer.java:973)
at org.eclipse.ui.views.properties.PropertySheetPage.selectionChanged(PropertySheetPage.java:510)
at org.eclipse.wst.sse.ui.internal.properties.ConfigurablePropertySheetPage.selectionChanged(ConfigurablePropertySheetPage.java:174)
at org.eclipse.ui.internal.AbstractSelectionService.firePostSelection(AbstractSelectionService.java:179)
at org.eclipse.ui.internal.AbstractSelectionService$2.selectionChanged(AbstractSelectionService.java:71)
at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageSelectionProvider$2.run(JSPMultiPageSelectionProvider.java:144)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageSelectionProvider.fireSelectionChanged(JSPMultiPageSelectionProvider.java:142)
at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageSelectionProvider.firePostSelectionChanged(JSPMultiPageSelectionProvider.java:131)
at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor$1.handlePostSelectionChanged(JSPMultiPageEditor.java:330)
at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor$1$1.selectionChanged(JSPMultiPageEditor.java:313)
at org.eclipse.wst.sse.ui.StructuredTextEditor$5.run(StructuredTextEditor.java:627)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.wst.sse.ui.StructuredTextEditor$StructuredSelectionProvider.fireSelectionChanged(StructuredTextEditor.java:625)
at org.eclipse.wst.sse.ui.StructuredTextEditor$StructuredSelectionProvider.handlePostSelectionChanged(StructuredTextEditor.java:706)
at org.eclipse.wst.sse.ui.StructuredTextEditor$4.selectionChanged(StructuredTextEditor.java:599)
at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2731)
at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2679)
at org.eclipse.jface.text.TextViewer$5.run(TextViewer.java:2658)
at org.eclipse.swt.widgets.Display.timerProc(Display.java:3978)
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:1858)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3110)
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(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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)
--
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, 7 months
[JBoss JIRA] Created: (JBIDE-4798) "Remove" button doesn't work properly in Preferences->JSF Pages
by Yura Zhishko (JIRA)
"Remove" button doesn't work properly in Preferences->JSF Pages
---------------------------------------------------------------
Key: JBIDE-4798
URL: https://jira.jboss.org/jira/browse/JBIDE-4798
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common
Affects Versions: 3.1.0.M3
Reporter: Yura Zhishko
Assignee: Alexey Kazakov
Priority: Minor
1) Open Preferences->JBoss Tools->Web->JSF Pages
2) Choose any xhtml page, for example, FaceletBlank.xhtml and press remove button.
RESULT: Remove button becomes disabled and [default] label has gone (screenshot-1).
Well, I think, that Page should be deleted from the list of templates but nothing happens.
Another test case:
1) Choose JSFBasePage
2) Press "Set Default"
3) Press "Remove"
ASSERT: Confirmation dialog for page deleting should appear
RESULT: [default] label is deleted from JSFBasePage
--
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, 7 months
[JBoss JIRA] Created: (JBIDE-4782) NPE while DND external page into workspace
by Yura Zhishko (JIRA)
NPE while DND external page into workspace
------------------------------------------
Key: JBIDE-4782
URL: https://jira.jboss.org/jira/browse/JBIDE-4782
Project: JBoss Tools
Issue Type: Bug
Components: common, jsp/jsf/xml source editing
Affects Versions: 3.1.0.M3
Reporter: Yura Zhishko
Assignee: Viacheslav Kabanovich
1) Close all pages
2) DND attached page into workspace
ASSERT: Page should be opened with JBoss Editor w/o any exceptions.
RESULT:
java.lang.NullPointerException
at org.jboss.tools.jst.jsp.contentassist.JspContentAssistProcessor.getTagLibraries(JspContentAssistProcessor.java:147)
at org.jboss.tools.jst.jsp.contentassist.FaceletPageContectAssistProcessor.createContext(FaceletPageContectAssistProcessor.java:69)
at org.jboss.tools.jst.jsp.contentassist.JspContentAssistProcessor.createContext(JspContentAssistProcessor.java:1)
at org.jboss.tools.jst.jsp.contentassist.AbstractXMLContentAssistProcessor.createContext(AbstractXMLContentAssistProcessor.java:243)
at org.jboss.tools.jst.jsp.outline.JSPPropertySourceAdapter.setTarget(JSPPropertySourceAdapter.java:106)
at org.jboss.tools.jst.jsp.outline.JSPPropertySourceAdapter.<init>(JSPPropertySourceAdapter.java:84)
at org.jboss.tools.jst.jsp.outline.JSPPropertySheetConfiguration$JSPPropertySourceProvider0.getPropertySource(JSPPropertySheetConfiguration.java:56)
at org.eclipse.ui.views.properties.PropertySheetEntry.getPropertySource(PropertySheetEntry.java:470)
at org.eclipse.ui.views.properties.PropertySheetEntry.setValues(PropertySheetEntry.java:752)
at org.eclipse.ui.views.properties.PropertySheetViewer.setInput(PropertySheetViewer.java:973)
at org.eclipse.ui.views.properties.PropertySheetPage.selectionChanged(PropertySheetPage.java:510)
at org.eclipse.wst.sse.ui.internal.properties.ConfigurablePropertySheetPage.selectionChanged(ConfigurablePropertySheetPage.java:174)
at org.eclipse.ui.internal.AbstractSelectionService.firePostSelection(AbstractSelectionService.java:179)
at org.eclipse.ui.internal.AbstractSelectionService$2.selectionChanged(AbstractSelectionService.java:71)
at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageSelectionProvider$2.run(JSPMultiPageSelectionProvider.java:144)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageSelectionProvider.fireSelectionChanged(JSPMultiPageSelectionProvider.java:142)
at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageSelectionProvider.firePostSelectionChanged(JSPMultiPageSelectionProvider.java:131)
at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor$1.handlePostSelectionChanged(JSPMultiPageEditor.java:330)
at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor$1$1.selectionChanged(JSPMultiPageEditor.java:313)
at org.eclipse.wst.sse.ui.StructuredTextEditor$5.run(StructuredTextEditor.java:627)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.wst.sse.ui.StructuredTextEditor$StructuredSelectionProvider.fireSelectionChanged(StructuredTextEditor.java:625)
at org.eclipse.wst.sse.ui.StructuredTextEditor$StructuredSelectionProvider.handlePostSelectionChanged(StructuredTextEditor.java:706)
at org.eclipse.wst.sse.ui.StructuredTextEditor$4.selectionChanged(StructuredTextEditor.java:599)
at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2731)
at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2679)
at org.eclipse.jface.text.TextViewer$5.run(TextViewer.java:2658)
at org.eclipse.swt.widgets.Display.runTimer(Display.java:3943)
at org.eclipse.swt.widgets.Display.messageProc(Display.java:3135)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2409)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3471)
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(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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)
--
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, 7 months