Hi Krishna,

Glad you were able to get around this issue. It looks like there might be
some sort of escaping issue on our side as well. We'll take a look at the
bug that you mentioned.


Rajeev

On Mon, Mar 8, 2010 at 7:33 AM, Krishna <shrikrishna.sh...@gmail.com> wrote:

> OK, I traced this down to a bug in my code where I forgot to escape
> "?" in a regular expression. Am unsure why this triggered an error in
> the OOPHM code. The following error while loading the compiled code
> pointed out the problem:
>
> Uncaught SyntaxError: Invalid regular expression: /?/: Nothing to
> repeat
>
> Thanks,
>
> Krishna
>
> On Mar 8, 4:06 pm, Krishna <shrikrishna.sh...@gmail.com> wrote:
> > Hi,
> >
> > I just upgraded to GWT 2.0.3 from within Eclipse (I use the Google
> > eclipse plugin). However, I am unable to run my code after the
> > upgrade. Eclipse throws the following exception:
> >
> > java.lang.IllegalArgumentException: Argument not valid The entity
> > "circ" was referenced, but not declared.
> > at org.eclipse.swt.SWT.error(SWT.java:3865)
> > at
> >
> org.eclipse.ui.internal.forms.widgets.FormTextModel.parseInputStream(FormTe
> xtModel.java:
> > 133)
> > at
> >
> org.eclipse.ui.internal.forms.widgets.FormTextModel.parseTaggedText(FormTex
> tModel.java:
> > 111)
> > at org.eclipse.ui.forms.widgets.FormText.setText(FormText.java:673)
> > at
> >
> org.eclipse.ui.forms.widgets.ScrolledFormText.loadText(ScrolledFormText.jav
> a:
> > 156)
> > at
> >
> org.eclipse.ui.forms.widgets.ScrolledFormText.setText(ScrolledFormText.java
> :
> > 126)
> > at
> >
> com.google.gwt.eclipse.oophm.views.hierarchical.LogContent.updateDetailsPan
> e(LogContent.java:
> > 289)
> > at com.google.gwt.eclipse.oophm.views.hierarchical.LogContent.access
> > $1(LogContent.java:224)
> > at com.google.gwt.eclipse.oophm.views.hierarchical.LogContent
> > $5.selectionChanged(LogContent.java:201)
> > at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
> > at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> > at org.eclipse.core.runtime.Platform.run(Platform.java:888)
> > at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
> > at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
> > at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:
> > 160)
> > at
> >
> org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer
> .java:
> > 2132)
> > at
> >
> org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.ja
> va:
> > 1669)
> > at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:
> > 1124)
> > at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:392)
> > at com.google.gwt.eclipse.oophm.model.LogContentProvider
> > $2.run(LogContentProvider.java:127)
> > at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> > at
> > org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:
> > 134)
> > at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
> > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
> > 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(EclipseA
> ppLauncher.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(Unknown Source)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > at java.lang.reflect.Method.invoke(Unknown Source)
> > 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)
> >
> > It looks like there is at least one other person who has encountered
> > this issue:
> http://code.google.com/p/google-web-toolkit/issues/detail?id=4708
> >
> > I'd really like to know if there is a workaround or if I can rollback
> > the upgrades to the eclipse plugin. I am pretty much blocked on this
> > as I am unable to develop any new code.
> >
> > Thanks in advance for your help.
> >
> > Krishna
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to