[ phpeclipse-Bugs-1234102 ] Open individual templates with phpeditor
"SourceForge.net" <[email protected]> Thu, 10 May 2007 22:11:59 -0700
| Newsgroups | gmane.comp.ide.eclipse.phpeclipse.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1234102, was opened at 2005-07-07 05:47
Message generated for change (Comment added) made by emann
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1234102&group_id=57621
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PHP Editor
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Open individual templates with phpeditor
Initial Comment:
My eclipse version is 3.10
Error occours on opening file with special template
webfile:
<table id ="sds" width="100%"><tr><td>
<!--$Id: DBChangeLog.html,v 1.19 2005/07/06 09:13:51
pr Exp $-->
<link rel="stylesheet" type="text/css"
href="../Frontends/<!--imagepath-->/css/styles.css">
<!--Begin: Courtesy of ChrisGo-->
<table width="100%" cellspacing="0" cellpadding="0"
border="0">
<tr><td colspan="2"><img src="<!--HTTP:CrmUrl--
>/Frontends/<!--imagepath-->/img/spacer.gif" width=10
height=5 border=0 alt=""></td></tr>
<tr>
<td><img src="<!--HTTP:CrmUrl-->/Frontends/<!--
imagepath-->/img/ueberschriftgrafikvortext.gif"
border="0" alt=""> <span
class="modulueberschrift">Datenbank-Änderung:
Bisher hinzugefügte Änderungen
</span></td>
<td align="right" valign="middle">
<img src="<!--HTTP:CrmUrl-->/Frontends/<!--
imagepath-->/img/spacer.gif" width=10 height=5
border=0 alt="">
<input type="image" src="<!--HTTP:CrmUrl--
>/Frontends/<!--imagepath-->/img/icon_min.gif"
width="12" height="12" border="0" alt="Sicht
verkleinern" onClick="minimizeContentDiv(this);">
<img src="<!--HTTP:CrmUrl-->/Frontends/<!--
imagepath-->/img/spacer.gif" width=5 height=5 border=0
alt="">
<input type="image" src="<!--HTTP:CrmUrl--
>/Frontends/<!--imagepath-->/img/icon_max.gif"
width="12" height="12" border="0" alt="Sicht
vergrößern" onClick="maximizeContentDiv
(this);">
<img src="<!--HTTP:CrmUrl-->/Frontends/<!--
imagepath-->/img/spacer.gif" width=5 height=5 border=0
alt="">
<input type="image" src="<!--HTTP:CrmUrl--
>/Frontends/<!--imagepath-->/img/icon_2io.gif"
width="12" height="12" border="0" alt="Sicht
wiederherstellen" onClick="normalizeContentDiv(this);">
<img src="<!--HTTP:CrmUrl-->/Frontends/<!--
imagepath-->/img/spacer.gif" width=10 height=5
border=0 alt="">
</td>
</tr>
</table>
then ui is createing error!
logfile is:
!ENTRY org.eclipse.ui.workbench 4 2 2005-07-07
12:42:43.890
!MESSAGE Problems occurred when invoking code
from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.ClassCastException
at
net.sourceforge.phpeclipse.phpeditor.JavaOutlinePage.<i
nit>(JavaOutlinePage.java:888)
at
net.sourceforge.phpeclipse.phpeditor.PHPEditor.createO
utlinePage(PHPEditor.java:3513)
at
net.sourceforge.phpeclipse.phpeditor.PHPEditor.getAdap
ter(PHPEditor.java:3726)
at
net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor.get
Adapter(PHPUnitEditor.java:2558)
at
org.eclipse.ui.views.contentoutline.ContentOutline.doCre
atePage(ContentOutline.java:128)
at
org.eclipse.ui.part.PageBookView.createPage
(PageBookView.java:315)
at
org.eclipse.ui.part.PageBookView.partActivated
(PageBookView.java:613)
at
org.eclipse.ui.views.contentoutline.ContentOutline.partBr
oughtToTop(ContentOutline.java:206)
at
org.eclipse.ui.internal.PartListenerList$2.run
(PartListenerList.java:87)
at
org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run
(Platform.java:783)
at
org.eclipse.ui.internal.PartListenerList.fireEvent
(PartListenerList.java:58)
at
org.eclipse.ui.internal.PartListenerList.firePartBroughtToT
op(PartListenerList.java:85)
at
org.eclipse.ui.internal.PartService.firePartBroughtToTop
(PartService.java:87)
at
org.eclipse.ui.internal.WorkbenchPagePartList.firePartBr
oughtToTop(WorkbenchPagePartList.java:75)
at
org.eclipse.ui.internal.WorkbenchPagePartList.fireActive
EditorChanged(WorkbenchPagePartList.java:51)
at
org.eclipse.ui.internal.PartList.setActiveEditor
(PartList.java:126)
at
org.eclipse.ui.internal.WorkbenchPage.makeActiveEditor
(WorkbenchPage.java:1121)
at
org.eclipse.ui.internal.WorkbenchPage.bringToTop
(WorkbenchPage.java:763)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorB
atched(WorkbenchPage.java:2336)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor
(WorkbenchPage.java:2258)
at
org.eclipse.ui.internal.WorkbenchPage.access$9
(WorkbenchPage.java:2250)
at
org.eclipse.ui.internal.WorkbenchPage$9.run
(WorkbenchPage.java:2236)
at
org.eclipse.swt.custom.BusyIndicator.showWhile
(BusyIndicator.java:69)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor
(WorkbenchPage.java:2231)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor
(WorkbenchPage.java:2212)
at org.eclipse.ui.ide.IDE.openEditor
(IDE.java:371)
at org.eclipse.ui.ide.IDE.openEditor
(IDE.java:334)
at
org.eclipse.ui.actions.OpenFileAction.openFile
(OpenFileAction.java:98)
at
org.eclipse.ui.actions.OpenSystemEditorAction.run
(OpenSystemEditorAction.java:98)
at
org.eclipse.ui.views.navigator.OpenActionGroup.runDefau
ltAction(OpenActionGroup.java:120)
at
org.eclipse.ui.views.navigator.MainActionGroup.runDefaul
tAction(MainActionGroup.java:326)
at
org.eclipse.ui.views.navigator.ResourceNavigator.handle
Open(ResourceNavigator.java:650)
at
org.eclipse.ui.views.navigator.ResourceNavigator$6.open
(ResourceNavigator.java:409)
at
org.eclipse.jface.viewers.StructuredViewer$2.run
(StructuredViewer.java:741)
at
org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run
(Platform.java:783)
at org.eclipse.ui.internal.JFaceUtil$1.run
(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run
(SafeRunnable.java:148)
at
org.eclipse.jface.viewers.StructuredViewer.fireOpen
(StructuredViewer.java:739)
at
org.eclipse.jface.viewers.StructuredViewer.handleOpen
(StructuredViewer.java:968)
at
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen
(StructuredViewer.java:1067)
at
org.eclipse.jface.util.OpenStrategy.fireOpenEvent
(OpenStrategy.java:243)
at
org.eclipse.jface.util.OpenStrategy.access$2
(OpenStrategy.java:238)
at
org.eclipse.jface.util.OpenStrategy$1.mouseSelectItem
(OpenStrategy.java:402)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent
(OpenStrategy.java:340)
at
org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent
(Widget.java:843)
at
org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:3080)
at
org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:2713)
at
org.eclipse.ui.internal.Workbench.runEventLoop
(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI
(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbe
nch(Workbench.java:367)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench
(PlatformUI.java:143)
at
org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:163)
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.core.launcher.Main.invokeFramework
(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun
(Main.java:278)
at org.eclipse.core.launcher.Main.run
(Main.java:973)
at org.eclipse.core.launcher.Main.main
(Main.java:948)
----------------------------------------------------------------------
>Comment By: Edward Mann (emann)
Date: 2007-05-11 00:11
Message:
Logged In: YES
user_id=430467
Originator: NO
I could not get this error to occur. i believe it is fixed. I will have a
dev member confirm.
File Added: 1234102_sample_code.html
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1234102&group_id=57621
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/