[JBoss JIRA] Created: (JBIDE-3591) VPE throws NullPointerException when user tries to refresh a non-exsisting page
by Yahor Radtsevich (JIRA)
VPE throws NullPointerException when user tries to refresh a non-exsisting page
-------------------------------------------------------------------------------
Key: JBIDE-3591
URL: https://jira.jboss.org/jira/browse/JBIDE-3591
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor Templates
Affects Versions: 3.0.0.CR2
Reporter: Yahor Radtsevich
Assignee: Maxim Areshkau
Fix For: 3.0.0.GA
How to reproduce:
1. Start JBDS.
2. Create a new JSF project.
3. Open index.jsp in VPE.
4. Close JBDS (not closing index.jsp page)
5. Delete the project's folder from your hard disc.
6. Start JBDS again.
ACTUAL RESULT: VPE shows text 'NULL' in the view of index.jsp
EXPECTED RESULT: the VPE view of index.jsp is empty.
7. Press 'Refresh' button in the VPE view.
ACTUAL RESULT: Message box 'Problem Occurred' appears.
EXPECTED RESULT: Nothing happens.
Also see stack trace:
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:3777)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
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:193)
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:386)
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:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: java.lang.NullPointerException
at org.jboss.tools.vpe.editor.VpeController.visualRefreshImpl(VpeController.java:1380)
at org.jboss.tools.vpe.editor.VpeController$4.runInUIThread(VpeController.java:1348)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
... 23 more
--
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
12 years
[JBoss JIRA] Created: (JBIDE-3287) rich:messages bugs
by Yura Zhishko (JIRA)
rich:messages bugs
------------------
Key: JBIDE-3287
URL: https://jira.jboss.org/jira/browse/JBIDE-3287
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor Templates
Affects Versions: 3.0.0.beta1
Reporter: Yura Zhishko
Assignee: Maxim Areshkau
1) Incorrect behavior of labelClass attribute (screenshot-1):
STEP 1. Use attached file
STEP 2. Find rich:messages component
STEP 3. Set labelClass attribute with the name value of non-existing class
RESULT: Styles of *Class attributes are not overriding by styles from *LableClass attributes, but they have to do it
2) Text-align isn't applyed correctly (screenshot-2), because we use representation of the component as a table with two collumns (for markers, and for labels), something like that:
<TABLE>
<TR>
<TD>
<DIV>
<SPAN>
Warning
</SPAN>
</DIV>
</TD>
<TD>
Warning message
</TD>
</TR>
......
</TABLE>
But mozilla browser build only one collumn, something like that:
<TABLE>
<TR>
<TD>
<SPAN>Warning</SPAN>
<SPAN>Warning message</SPAN>
</TD>
<TR>
......
</TABLE>
--
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
12 years
[JBoss JIRA] Created: (JBIDE-4233) Support for fine grained pages.xml editing
by Max Rydahl Andersen (JIRA)
Support for fine grained pages.xml editing
------------------------------------------
Key: JBIDE-4233
URL: https://jira.jboss.org/jira/browse/JBIDE-4233
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Seam
Reporter: Max Rydahl Andersen
Assignee: Alexey Kazakov
Priority: Critical
Fix For: 3.1.0.M3
Add support for fine grained page.xml (now we have support for coarse grained pages.xml) in the graphical pages.xml editor.
I imagine an additonal tab or a toggle on the current tab that when enabled shows not just the pages that are in the single file, but also includes any info from other *.page.xml files.
In the first iteration we can just make this a read only mode for any external files and then double click for editing (maybe that will be too cumbersome for the users ?)
--
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
12 years, 1 month