uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tong Fin <tong.f...@gmail.com>
Subject Re: [jira] Closed: (UIMA-1734) UIMA-AS Deployment Descriptor doesn't work with Eclipse 3.4.2
Date Sat, 07 Aug 2010 21:35:30 GMT
By commenting those few lines, the form will not use and will not show the
image of the background color of the managedForm.
The code is not caompatible across Eclipse versions (3.4.2 and 3.5).

-- Tong

On Sat, Aug 7, 2010 at 4:04 PM, Marshall Schor <msa@schor.com> wrote:

>  Hi Tong,
>
> Can you describe what is being lost by commenting out these lines?  Is it
> just
> the background color of the managedForm?
>
> Thanks.   -Marshall
>
> On 8/7/2010 11:24 AM, Tong Fin (JIRA) wrote:
> >      [
> https://issues.apache.org/jira/browse/UIMA-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
> >
> > Tong Fin closed UIMA-1734.
> > --------------------------
> >
> >     Resolution: Fixed
> >
> > Tested and verified by Eddie.
> >
> > Remove the dependency on the images from Eclipse's plugin by commenting
> out the following lines in OverviewPage.java:
> > //    ScrolledForm form = managedForm.getForm();
> > //    FormColors colors = toolkit.getColors();
> > //    colors.initializeSectionToolBarColors();
> > //    Color gbg = colors.getColor(FormColors.TB_GBG);
> > //    Color bg = colors.getBackground();
> > //    form.getForm().setTextBackground(new Color[] { bg, gbg }, new int[]
> { 100 }, true);
> >
> >
> >> UIMA-AS Deployment Descriptor doesn't work with Eclipse 3.4.2
> >> -------------------------------------------------------------
> >>
> >>                 Key: UIMA-1734
> >>                 URL: https://issues.apache.org/jira/browse/UIMA-1734
> >>             Project: UIMA
> >>          Issue Type: Bug
> >>          Components: Eclipse plugins
> >>    Affects Versions: 2.3
> >>            Reporter: Tong Fin
> >>            Assignee: Tong Fin
> >>
> >> There is a problem when running DDE in Eclipse 3.4.2:
> >> 3.4.2 Linux - fail
> >> 3.4.2 Windows - fail
> >> 3.5.1 Linux OK
> >> 3.5.1 Windows OK
> >> 3.3.2 Windows OK
> >> Look like there are some images used by the form are missing.
> >> These images are belong to some plugins that might not be the same for
> Eclipse 3.4.2 and 3.5.x.
> >> ---- Stack Trace -------------------
> >> eclipse.buildId=M20090211-1700
> >> java.version=1.6.0_16
> >> java.vendor=Sun Microsystems Inc.
> >> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> >> Command-line arguments:  -os win32 -ws win32 -arch x86 -clean
> >> !ENTRY org.eclipse.ui.workbench.texteditor 4 0 2010-02-04 09:07:23.657
> >> !MESSAGE The
> 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.JSPJavaHyperlinkDetector'
> extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the
> 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point
> will be ignored because it contains invalid attributes.
> >> !ENTRY org.eclipse.ui.workbench.texteditor 4 0 2010-02-04 09:07:23.657
> >> !MESSAGE The
> 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector'
> extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the
> 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point
> will be ignored because it contains invalid attributes.
> >> !ENTRY org.eclipse.ui 4 0 2010-02-04 09:07:46.388
> >> !MESSAGE Unable to create editor ID
> taeconfigurator.editors.MultiPageEditor: An unexpected exception was thrown.
> >> !STACK 0
> >> java.lang.NullPointerException
> >>    at
> org.eclipse.ui.internal.forms.widgets.FormImages$ImageIdentifier.hashCode(FormImages.java:69)
> >>    at
> org.eclipse.ui.internal.forms.widgets.FormImages$ComplexImageIdentifier.hashCode(FormImages.java:138)
> >>    at java.util.HashMap.get(HashMap.java:300)
> >>    at
> org.eclipse.ui.internal.forms.widgets.FormImages.getGradient(FormImages.java:187)
> >>    at
> org.eclipse.ui.internal.forms.widgets.FormHeading.updateGradientImage(FormHeading.java:868)
> >>    at
> org.eclipse.ui.internal.forms.widgets.FormHeading.setTextBackground(FormHeading.java:718)
> >>    at org.eclipse.ui.forms.widgets.Form.setTextBackground(Form.java:315)
> >>    at
> org.apache.uima.dde.internal.page.OverviewPage.createFormContent(OverviewPage.java:375)
> >>    at org.eclipse.ui.forms.editor.FormPage$1.run(FormPage.java:151)
> >>    at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> >>    at
> org.eclipse.ui.forms.editor.FormPage.createPartControl(FormPage.java:149)
> >>    at
> org.eclipse.ui.forms.editor.FormEditor.pageChange(FormEditor.java:488)
> >>    at
> org.apache.uima.taeconfigurator.editors.MultiPageEditor.pageChangeSuper(MultiPageEditor.java:615)
> >>    at
> org.apache.uima.dde.internal.DeploymentDescriptorEditor.pageChangeForCurrentEditor(DeploymentDescriptorEditor.java:308)
> >>    at
> org.apache.uima.taeconfigurator.editors.MultiPageEditor.pageChange(MultiPageEditor.java:1118)
> >>    at
> org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:973)
> >>    at
> org.eclipse.ui.forms.editor.FormEditor.setActivePage(FormEditor.java:623)
> >>    at
> org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:314)
> >>    at
> org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
> >>    at
> org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
> >>    at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
> >>    at
> org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)
> >>    at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820)
> >>    at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
> >>    at
> org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
> >>    at
> org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
> >>    at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> >>    at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
> >>    at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
> >>    at
> org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:337)
> >>    at
> org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:325)
> >>    at
> org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:187)
> >>    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.Display.runDeferredEvents(Display.java:3823)
> >>    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> >>    at
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
> >>    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
> >>    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
> >>    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
> >>    at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> >>    at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
> >>    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:597)
> >>    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)
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message