WTP - IllegalArgumentException and project dependencies [message #73133] |
Fri, 11 February 2005 10:59 |
Juan Jimenez Messages: 15 Registered: July 2009 |
Junior Member |
|
|
First of all, thank you to Lawrence and Dilshad for helping me to get
started with WTP.
Now, I have observed two 'oddities' and I would like to confirm that they
are well known problems.
1) Having followed the 'Building a School Schedule Web Application' tutorial
to the letter and successfully tested it, subsequently closing all open
projects, exiting Eclipse and re-starting again I noticed that:
a) all projects appear under 'Other Projects' (in Project Explorer)
until you open one of them. For example, upon opening SchoolSchedule it
will re-appear under Dynamic Web Projects;
b) more importantly, there is a project named 'Servers' under 'Other
Projects' which must also be opened if you want to successfully run
Schedule.jsp.
Is there a way of creating a dependency between these two projects so that
they are opened and closed together?
2) Even though the SchoolSchedule example works fine, some exceptions keep
appearing in Eclipse .log file
Is this a known problem?
This is what appears in the log:
!SESSION 2005-02-11
10:34:23.901 -----------------------------------------------
eclipse.buildId=I20041216-2000
java.version=1.4.2_07
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 -data
C:\Data\ProgramData\eclipse30M6
!ENTRY org.eclipse.core.runtime 4 2 2005-02-11 10:34:23.901
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.core.runtime".
!STACK 0
java.lang.IllegalArgumentException
at
org.eclipse.wst.internet.monitor.core.MonitorCore.parse(Moni torCore.java:235
)
at
org.eclipse.wst.internet.monitor.ui.internal.viewers.HeaderV iewer.getView(He
aderViewer.java:181)
at
org.eclipse.wst.internet.monitor.ui.internal.viewers.HeaderV iewer.setRequest
Response(HeaderViewer.java:113)
at
org.eclipse.wst.internet.monitor.ui.internal.view.ViewerMana ger.setRequest(V
iewerManager.java:115)
at org.eclipse.wst.internet.monitor.ui.internal.view.MonitorVie w$8.selectio
nChanged(MonitorView.java:386)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:163)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java
:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer .java:161)
at
org.eclipse.jface.viewers.StructuredViewer.updateSelection(S tructuredViewer.
java:1667)
at
org.eclipse.jface.viewers.StructuredViewer.setSelection(Stru cturedViewer.jav
a:1349)
at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:38 0)
at
org.eclipse.wst.internet.monitor.ui.internal.view.MonitorVie w.setSelection(M
onitorView.java:124)
at
org.eclipse.wst.internet.monitor.ui.internal.view.MonitorVie w$16.run(Monitor
View.java:535)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:118)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2780)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2451)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1569)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1540)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:285)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:144)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:102)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
java:220)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:710)
at org.eclipse.core.launcher.Main.main(Main.java:694)
!ENTRY org.eclipse.core.runtime 4 2 2005-02-11 10:34:23.951
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.core.runtime".
!STACK 0
java.lang.IllegalArgumentException
at
org.eclipse.wst.internet.monitor.core.MonitorCore.parse(Moni torCore.java:235
)
at
org.eclipse.wst.internet.monitor.ui.internal.viewers.HeaderV iewer.getView(He
aderViewer.java:181)
at
org.eclipse.wst.internet.monitor.ui.internal.viewers.HeaderV iewer.setRequest
Response(HeaderViewer.java:113)
at
org.eclipse.wst.internet.monitor.ui.internal.view.ViewerMana ger.setRequest(V
iewerManager.java:115)
at
org.eclipse.wst.internet.monitor.ui.internal.view.MonitorVie w$8.selectionCha
nged(MonitorView.java:386)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:163)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java
:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer .java:161)
at
org.eclipse.jface.viewers.StructuredViewer.updateSelection(S tructuredViewer.
java:1667)
at
org.eclipse.jface.viewers.StructuredViewer.setSelection(Stru cturedViewer.jav
a:1349)
at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:38 0)
at
org.eclipse.wst.internet.monitor.ui.internal.view.MonitorVie w$3.run(MonitorV
iew.java:93)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:118)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2780)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2451)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:718 )
at org.eclipse.jface.window.Window.open(Window.java:696)
at
org.eclipse.jface.dialogs.MessageDialog.openError(MessageDia log.java:319)
at
org.eclipse.jface.util.SafeRunnable.handleException(SafeRunn able.java:53)
at
org.eclipse.core.internal.runtime.InternalPlatform.handleExc eption(InternalP
latform.java:714)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java
:1046)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer .java:161)
at
org.eclipse.jface.viewers.StructuredViewer.updateSelection(S tructuredViewer.
java:1667)
at
org.eclipse.jface.viewers.StructuredViewer.setSelection(Stru cturedViewer.jav
a:1349)
at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:38 0)
at
org.eclipse.wst.internet.monitor.ui.internal.view.MonitorVie w.setSelection(M
onitorView.java:124)
at
org.eclipse.wst.internet.monitor.ui.internal.view.MonitorVie w$16.run(Monitor
View.java:535)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:118)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2780)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2451)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1569)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1540)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:285)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:144)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:102)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
java:220)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:710)
at org.eclipse.core.launcher.Main.main(Main.java:694)
|
|
|
Re: WTP - IllegalArgumentException and project dependencies [message #73312 is a reply to message #73133] |
Fri, 11 February 2005 21:32 |
Michael D. Elder Messages: 62 Registered: July 2009 |
Member |
|
|
Hi Juan,
Some of what you've found is how the software was designed, and the
exceptions look like a defect.
Whenever you close a project, the project metadat is unavailable to the
tooling, which is why it is moved to the "Other Projects" grouping. This is
as designed.
The other exceptions look like a possible issue with wst.server. Perhaps you
might find more information by searching bugzilla:
https://bugs.eclipse.org/bugs/
Kind Regards,
Michael D. Elder
"Juan Jimenez" <juan.jimenez@pobox.com> wrote in message
news:cui3ar$akg$1@www.eclipse.org...
> First of all, thank you to Lawrence and Dilshad for helping me to get
> started with WTP.
>
> Now, I have observed two 'oddities' and I would like to confirm that they
> are well known problems.
>
> 1) Having followed the 'Building a School Schedule Web Application'
tutorial
> to the letter and successfully tested it, subsequently closing all open
> projects, exiting Eclipse and re-starting again I noticed that:
> a) all projects appear under 'Other Projects' (in Project Explorer)
> until you open one of them. For example, upon opening SchoolSchedule it
> will re-appear under Dynamic Web Projects;
> b) more importantly, there is a project named 'Servers' under 'Other
> Projects' which must also be opened if you want to successfully run
> Schedule.jsp.
>
> Is there a way of creating a dependency between these two projects so that
> they are opened and closed together?
>
> 2) Even though the SchoolSchedule example works fine, some exceptions keep
> appearing in Eclipse .log file
>
> Is this a known problem?
>
> This is what appears in the log:
>
> !SESSION 2005-02-11
> 10:34:23.901 -----------------------------------------------
> eclipse.buildId=I20041216-2000
> java.version=1.4.2_07
> 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 -data
> C:\Data\ProgramData\eclipse30M6
>
> !ENTRY org.eclipse.core.runtime 4 2 2005-02-11 10:34:23.901
> !MESSAGE Problems occurred when invoking code from plug-in:
> "org.eclipse.core.runtime".
> !STACK 0
> java.lang.IllegalArgumentException
> at
>
org.eclipse.wst.internet.monitor.core.MonitorCore.parse(Moni torCore.java:235
> )
> at
>
org.eclipse.wst.internet.monitor.ui.internal.viewers.HeaderV iewer.getView(He
> aderViewer.java:181)
> at
>
org.eclipse.wst.internet.monitor.ui.internal.viewers.HeaderV iewer.setRequest
> Response(HeaderViewer.java:113)
> at
>
org.eclipse.wst.internet.monitor.ui.internal.view.ViewerMana ger.setRequest(V
> iewerManager.java:115)
> at
org.eclipse.wst.internet.monitor.ui.internal.view.MonitorVie w$8.selectio
> nChanged(MonitorView.java:386)
> at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:163)
> at
>
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java
> :1044)
> at org.eclipse.core.runtime.Platform.run(Platform.java:747)
> at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer .java:161)
> at
>
org.eclipse.jface.viewers.StructuredViewer.updateSelection(S tructuredViewer.
> java:1667)
> at
>
org.eclipse.jface.viewers.StructuredViewer.setSelection(Stru cturedViewer.jav
> a:1349)
> at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:38 0)
> at
>
org.eclipse.wst.internet.monitor.ui.internal.view.MonitorVie w.setSelection(M
> onitorView.java:124)
> at
>
org.eclipse.wst.internet.monitor.ui.internal.view.MonitorVie w$16.run(Monitor
> View.java:535)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
>
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:118)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2780)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2451)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1569)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1540)
> at
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:285)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:144)
> at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:102)
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
> java:220)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> )
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
> at org.eclipse.core.launcher.Main.run(Main.java:710)
> at org.eclipse.core.launcher.Main.main(Main.java:694)
>
> !ENTRY org.eclipse.core.runtime 4 2 2005-02-11 10:34:23.951
> !MESSAGE Problems occurred when invoking code from plug-in:
> "org.eclipse.core.runtime".
> !STACK 0
> java.lang.IllegalArgumentException
> at
>
org.eclipse.wst.internet.monitor.core.MonitorCore.parse(Moni torCore.java:235
> )
> at
>
org.eclipse.wst.internet.monitor.ui.internal.viewers.HeaderV iewer.getView(He
> aderViewer.java:181)
> at
>
org.eclipse.wst.internet.monitor.ui.internal.viewers.HeaderV iewer.setRequest
> Response(HeaderViewer.java:113)
> at
>
org.eclipse.wst.internet.monitor.ui.internal.view.ViewerMana ger.setRequest(V
> iewerManager.java:115)
> at
>
org.eclipse.wst.internet.monitor.ui.internal.view.MonitorVie w$8.selectionCha
> nged(MonitorView.java:386)
> at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:163)
> at
>
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java
> :1044)
> at org.eclipse.core.runtime.Platform.run(Platform.java:747)
> at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer .java:161)
> at
>
org.eclipse.jface.viewers.StructuredViewer.updateSelection(S tructuredViewer.
> java:1667)
> at
>
org.eclipse.jface.viewers.StructuredViewer.setSelection(Stru cturedViewer.jav
> a:1349)
> at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:38 0)
> at
>
org.eclipse.wst.internet.monitor.ui.internal.view.MonitorVie w$3.run(MonitorV
> iew.java:93)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
>
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:118)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2780)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2451)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:718 )
> at org.eclipse.jface.window.Window.open(Window.java:696)
> at
> org.eclipse.jface.dialogs.MessageDialog.openError(MessageDia log.java:319)
> at
> org.eclipse.jface.util.SafeRunnable.handleException(SafeRunn able.java:53)
> at
>
org.eclipse.core.internal.runtime.InternalPlatform.handleExc eption(InternalP
> latform.java:714)
> at
>
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java
> :1046)
> at org.eclipse.core.runtime.Platform.run(Platform.java:747)
> at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer .java:161)
> at
>
org.eclipse.jface.viewers.StructuredViewer.updateSelection(S tructuredViewer.
> java:1667)
> at
>
org.eclipse.jface.viewers.StructuredViewer.setSelection(Stru cturedViewer.jav
> a:1349)
> at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:38 0)
> at
>
org.eclipse.wst.internet.monitor.ui.internal.view.MonitorVie w.setSelection(M
> onitorView.java:124)
> at
>
org.eclipse.wst.internet.monitor.ui.internal.view.MonitorVie w$16.run(Monitor
> View.java:535)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
>
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:118)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2780)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2451)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1569)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1540)
> at
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:285)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:144)
> at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:102)
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
> java:220)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> )
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
> at org.eclipse.core.launcher.Main.run(Main.java:710)
> at org.eclipse.core.launcher.Main.main(Main.java:694)
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03369 seconds