Hi Kaj,
please file a bugreport. The user should get the info that the
PB.project is broken.
Ulrich
On Mittwoch, 27. August 2003, at 9:50 Uhr, Kaj Hejer wrote:
> Hi!
>
>
> Thanks for ansering!
>
> This is a old project we have imported into eclipse. I guess the ","
> is something we have instered ourself by a mistake when editing the
> PB.project file manualy.
>
> Should I file a bugreport anyway since this "," gives some exceptions?
>
>
>
> At 09:45 +0200 27-08-2003, Ulrich Köster wrote:
>> Hi Kaj,
>>
>> where does this "," came from? Please file a bugreport for it. The
>> user should get at least a message.
>>
>> Ulrich
>>
>> On Dienstag, 26. August 2003, at 23:26 Uhr, Kaj Hejer wrote:
>>
>>> At 23:15 +0200 26-08-2003, Kaj Hejer wrote:
>>>> Hi!
>>>>
>>>> I now tried to create a new component with WOLips 1.0.6, eclipse
>>>> 3.0 (I20030820) and osx 10.2.6. The component was created ok, but
>>>> it did not get into PB.project (neither .java, .api or .wo).
>>>
>>>
>>> Hi!
>>>
>>> I have found the reason for this behaviour. I had an error in my
>>> PB.projectfile.
>>>
>>> I had:
>>>
>>> FRAMEWORKS =
>>> (
>>> JavaWebObjects.framework,
>>> JavaFoundation.framework,
>>> JavaXML.framework,
>>> JavaWOExtensions.framework,
>>> JavaEOAccess.framework,
>>> JavaEOControl.framework,
>>> utilityfw.framework,
>>> uiofw.framework,
>>> languagefw.framework,
>>> JDBCEOAdaptor.framework,
>>> JavaJDBCAdaptor.framework,
>>> WOComponentElements.framework,
>>> );
>>>
>>> After removing the "," that shouldn't have been the after the last
>>> framework I tried to add a new component and it got into the
>>> PB.project just as it should.
>>>
>>> When having this error issue in my PB.project file i got som
>>> excptions in console.log when selecting update PB.project in
>>> eclipse. I include them bellow.
>>>
>>> Should I file a bugreport on this issue (exception when updating a
>>> PB.projectfile containing some errors)?
>>>
>>>
>>> !ENTRY org.objectstyle.wolips.logging 4 4 Aug 26, 2003 23:16:54.303
>>> !MESSAGE Internal Error
>>> !STACK 0
>>> java.lang.NullPointerException
>>> at
>>> org.objectstyle.wolips.core.project.PBProjectUpdater.syncClasses(Unkn
>>> own Source)
>>> at
>>> org.objectstyle.wolips.core.project.PBProjectUpdater.cleanTables(Unkn
>>> own Source)
>>> at
>>> org.objectstyle.wolips.core.project.WOLipsProject$PBProjectFilesAcces
>>> sor.cleanAllFileTables(Unknown Source)
>>> at org.objectstyle.wolips.ui.actions.PBAction.run(Unknown Source)
>>> at
>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:
>>> 263)
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
>>> (ActionContributionItem.java:542)
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.access$4(ActionContri
>>> butionItem.java:483)
>>> at
>>> org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionC
>>> ontributionItem.java:455)
>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
>>> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1027)
>>> at
>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2180)
>>> at
>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1878)
>>> at
>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1676)
>>> at org.eclipse.ui.internal.Workbench.run(Workbench.java:1659)
>>> at
>>> org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoa
>>> der.java:858)
>>> at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>>> java:39)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>>> sorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:324)
>>> at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
>>> at org.eclipse.core.launcher.Main.run(Main.java:747)
>>> at org.eclipse.core.launcher.Main.main(Main.java:583)
>>> Error parsing property list file:
>>> org.objectstyle.cayenne.wocompat.parser.ParseException: Encountered
>>> ")" at line 90, column 9.
>>> Was expecting one of:
>>> <INT> ...
>>> <FLOAT> ...
>>> "(" ...
>>> "{" ...
>>> <STRING> ...
>>> "\"" ...
>>> !ENTRY org.objectstyle.wolips.logging 4 4 Aug 26, 2003
>>> 23:17:18.889
>>> !MESSAGE Internal Error
>>> !STACK 0
>>> java.io.IOException: Error reading project file:
>>> /Users/kajh/src/webobjects/programvare/PB.project
>>> at org.objectstyle.woproject.pb.PBProject.update(Unknown Source)
>>> at org.objectstyle.woproject.pb.PBProject.<init>(Unknown Source)
>>> at
>>> org.objectstyle.wolips.core.project.PBProjectUpdater.getPBProject(Unk
>>> nown Source)
>>> at
>>> org.objectstyle.wolips.core.project.PBProjectUpdater.<init>(Unknown
>>> Source)
>>> at
>>> org.objectstyle.wolips.core.project.PBProjectUpdater.instance(Unknown
>>> Source)
>>> at
>>> org.objectstyle.wolips.core.project.WOLipsProject$PBProjectFilesAcces
>>> sor.cleanAllFileTables(Unknown Source)
>>> at org.objectstyle.wolips.ui.actions.PBAction.run(Unknown Source)
>>> at
>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:
>>> 263)
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
>>> (ActionContributionItem.java:542)
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.access$4(ActionContri
>>> butionItem.java:483)
>>> at
>>> org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionC
>>> ontributionItem.java:455)
>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
>>> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1027)
>>> at
>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2180)
>>> at
>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1878)
>>> at
>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1676)
>>> at org.eclipse.ui.internal.Workbench.run(Workbench.java:1659)
>>> at
>>> org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoa
>>> der.java:858)
>>> at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>>> java:39)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>>> sorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:324)
>>> at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
>>> at org.eclipse.core.launcher.Main.run(Main.java:747)
>>> at org.eclipse.core.launcher.Main.main(Main.java:583)
>>> !ENTRY org.objectstyle.wolips.logging 4 4 Aug 26, 2003 23:17:18.897
>>> !MESSAGE Internal Error
>>> !STACK 0
>>> java.lang.NullPointerException
>>> at
>>> org.objectstyle.wolips.core.project.PBProjectUpdater.syncClasses(Unkn
>>> own Source)
>>> at
>>> org.objectstyle.wolips.core.project.PBProjectUpdater.cleanTables(Unkn
>>> own Source)
>>> at
>>> org.objectstyle.wolips.core.project.WOLipsProject$PBProjectFilesAcces
>>> sor.cleanAllFileTables(Unknown Source)
>>> at org.objectstyle.wolips.ui.actions.PBAction.run(Unknown Source)
>>> at
>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:
>>> 263)
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
>>> (ActionContributionItem.java:542)
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.access$4(ActionContri
>>> butionItem.java:483)
>>> at
>>> org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionC
>>> ontributionItem.java:455)
>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
>>> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1027)
>>> at
>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2180)
>>> at
>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1878)
>>> at
>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1676)
>>> at org.eclipse.ui.internal.Workbench.run(Workbench.java:1659)
>>> at
>>> org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoa
>>> der.java:858)
>>> at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>>> java:39)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>>> sorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:324)
>>> at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
>>> at org.eclipse.core.launcher.Main.run(Main.java:747)
>>> at org.eclipse.core.launcher.Main.main(Main.java:583)
>
This archive was generated by hypermail 2.0.0 : Wed Aug 27 2003 - 03:45:16 EDT