RE: Problems view. How do I clear this view?

From: Watkins, Garry (gwatkin..otleyrice.com)
Date: Thu Sep 15 2005 - 15:10:31 EDT

  • Next message: Watkins, Garry: "RE: Debugging frameworks - [Possible SPAM] Bayesian Filter detected spam"

    No problem take your time. I am just evaluating whether the code is
    stable enough to switch over to as of yet. I think that it is getting
    close. Once these problems are solved, and the WORuntimeClassProvider
    stuff get's done. I think it will be pretty usable.
     
    Once again thanks for all of your effort that you are putting into this
    project. Let me know if I can help some how.
     
    Garry

      _____

    From: Mike Schrag [mailto:mschra..dimension.com]
    Sent: Thursday, September 15, 2005 2:59 PM
    To: woproject-de..bjectstyle.org
    Subject: Re: Problems view. How do I clear this view?

    So you're getting some wacky encoding exception when trying to parse one
    of the .api files that it's finding for some component that's being
    referenced. Issue #1 is why you can't parse one of the api files and
    which one is it (is that two questions?), issue #2 is that WOD editor
    doesn't gracefully handle that case -- it appears that ApiModel ends up
    with a null document when the parse fails. I think I'd rather see it
    throw the exceptions out instead. I won't be able to look into it until
    after work today, though.

    On Sep 15, 2005, at 2:34 PM, Watkins, Garry wrote:

            I created a new project as directed.
                1) I added a new webobject tag in the HTML file within the
    HTML editor (not WOComponentEditor (WCE)).
                2) I saved the file. No errors show up.
                3) I ran clean on the project. Error shows up in problems
    list.
                4) Opened up component in WCE added item to WOD file.
                5) Hit save, it did not clear the error.
                6) Cleaned again. It cleared the error.
                7) Opened up component again in WCE. Added new WOTag to
    html section.
                8) Hit save. No error.
                9) Cleaned again. Error appears
                10) Fixed item in WOD.
                11) Saved item. Error still there.
                12) Cleaned again. No errors.
             
            Here are some stack traces from my log file. I did not copy the
    entire stack trace because they are really long. I just went to the
    org.objectstyle... line.
             
            !ENTRY org.eclipse.ui.workbench 4 0 2005-09-15 14:20:12.36
            !MESSAGE WARNING: Prevented recursive attempt to activate part
    org.objectstyle.wolips.wodclipse.mpe.ComponentEditor while still in the
    middle of activating part org.objectstyle.wolips.wodclipse.wod.WodEditor
            !STACK 0
            java.lang.RuntimeException: WARNING: Prevented recursive attempt
    to activate part org.objectstyle.wolips.wodclipse.mpe.ComponentEditor
    while still in the middle of activating part
    org.objectstyle.wolips.wodclipse.wod.WodEditor
             at
    org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2
    831)
             at
    org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.ja
    va:2484)
             at
    org.eclipse.ui.part.MultiEditor.activateEditor(MultiEditor.java:168)
             at
    org.eclipse.ui.part.MultiEditor$1.handleEvent(MultiEditor.java:74)
             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.Widget.sendEvent(Widget.java:867)
             at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:848)
             at
    org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:998)
             at
    org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:1855)
             at org.eclipse.swt.widgets.Widget.wmSetFocus(Widget.java:1961)
             at
    org.eclipse.swt.widgets.Control.WM_SETFOCUS(Control.java:3630)
             at org.eclipse.swt.widgets.Canvas.WM_SETFOCUS(Canvas.java:247)
             at
    org.eclipse.swt.widgets.Control.windowProc(Control.java:3102)
             at
    org.eclipse.swt.widgets.Display.windowProc(Display.java:3706)
             at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method)
             at org.eclipse.swt.widgets.Control.forceFocus(Control.java:651)
             at org.eclipse.swt.widgets.Control.setFocus(Control.java:2134)
             at
    org.eclipse.swt.widgets.Composite.setFocus(Composite.java:703)
             at
    org.eclipse.ui.texteditor.AbstractTextEditor.setFocus(AbstractTextEditor
    .java:4785)
             at
    org.objectstyle.wolips.wodclipse.mpe.ComponentEditor.setFocus(ComponentE
    ditor.java:281)
             
            !ENTRY org.eclipse.core.resources 4 566 2005-09-15 10:13:37.459
            !MESSAGE An error occurred while traversing resources.
            !STACK 0
            java.lang.NullPointerException
             at
    org.objectstyle.wolips.core.resources.types.api.ApiModel.getWODefinition
    s(ApiModel.java:131)
             at
    org.objectstyle.wolips.wodclipse.wod.completion.WodBindingUtils.findApiM
    odelWo(WodBindingUtils.java:292)
             at
    org.objectstyle.wolips.wodclipse.wod.model.WodModelUtils.getSemanticProb
    lems(WodModelUtils.java:147)
             at
    org.objectstyle.wolips.wodclipse.wod.WodReconcilingStrategy.reconcileWod
    Model(WodReconcilingStrategy.java:123)
             at
    org.objectstyle.wolips.wodclipse.builder.WodBuilder.visit(WodBuilder.jav
    a:102)
             at
    org.objectstyle.wolips.wodclipse.builder.WodBuilder$WodBuilderResourceVi
    sitor.visit(WodBuilder.java:131)
             at
    org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:103)
             at
    org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.jav
    a:50)
             at
    org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Element
    TreeIterator.java:81)
             at
    org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Element
    TreeIterator.java:85)
             at
    org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Element
    TreeIterator.java:85)
             at
    org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTree
    Iterator.java:126)
             at
    org.eclipse.core.internal.resources.Resource.accept(Resource.java:60)
             at
    org.eclipse.core.internal.resources.Resource.accept(Resource.java:101)
             at
    org.eclipse.core.internal.resources.Resource.accept(Resource.java:80)
             at
    org.objectstyle.wolips.wodclipse.builder.WodBuilder.buildStarted(WodBuil
    der.java:30)
             at
    org.objectstyle.wolips.core.resources.internal.build.Builder.notifyBuild
    erBuildStarted(Builder.java:124)
             at
    org.objectstyle.wolips.core.resources.internal.build.Builder.build(Build
    er.java:94)
            
            !ENTRY org.objectstyle.wolips.core.CorePluginResources 2 2
    2005-09-15 10:13:37.459
            !MESSAGE
    org.objectstyle.wolips.core.resources.types.api.ApiModelError while
    parsing .wolips
            !STACK 0
            java.io.UnsupportedEncodingException: macintosh
             at sun.io.Converters.getConverterClass(Unknown Source)
             at sun.io.Converters.newConverter(Unknown Source)
             at sun.io.ByteToCharConverter.getConverter(Unknown Source)
             at sun.nio.cs.StreamDecoder$ConverterSD.<init>(Unknown Source)
             at sun.nio.cs.StreamDecoder$ConverterSD.<init>(Unknown Source)
             at sun.nio.cs.StreamDecoder.forInputStreamReader(Unknown
    Source)
             at java.io.InputStreamReader.<init>(Unknown Source)
             at org.apache.crimson.parser.XmlReader.createReader(Unknown
    Source)
             at org.apache.crimson.parser.XmlReader.setEncoding(Unknown
    Source)
             at org.apache.crimson.parser.XmlReader.useEncodingDecl(Unknown
    Source)
             at org.apache.crimson.parser.XmlReader.<init>(Unknown Source)
             at org.apache.crimson.parser.XmlReader.createReader(Unknown
    Source)
             at org.apache.crimson.parser.InputEntity.init(Unknown Source)
             at org.apache.crimson.parser.Parser2.parseInternal(Unknown
    Source)
             at org.apache.crimson.parser.Parser2.parse(Unknown Source)
             at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown
    Source)
             at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(Unknown
    Source)
             at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
             at
    org.objectstyle.wolips.core.resources.types.api.ApiModel.parse(ApiModel.
    java:117)
             at
    org.objectstyle.wolips.core.resources.types.api.ApiModel.<init>(ApiModel
    .java:92)
             at
    org.objectstyle.wolips.wodclipse.wod.completion.WodBindingUtils.findApiM
    odelWo(WodBindingUtils.java:276)
             at
    org.objectstyle.wolips.wodclipse.wod.model.WodModelUtils.getSemanticProb
    lems(WodModelUtils.java:147)
             at
    org.objectstyle.wolips.wodclipse.wod.WodReconcilingStrategy.reconcileWod
    Model(WodReconcilingStrategy.java:123)
             at
    org.objectstyle.wolips.wodclipse.builder.WodBuilder.visit(WodBuilder.jav
    a:102)
             at
    org.objectstyle.wolips.wodclipse.builder.WodBuilder$WodBuilderResourceVi
    sitor.visit(WodBuilder.java:131)
             at
    org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:103)
             at
    org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.jav
    a:50)
             at
    org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Element
    TreeIterator.java:81)
             at
    org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Element
    TreeIterator.java:85)
             at
    org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Element
    TreeIterator.java:85)
             at
    org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTree
    Iterator.java:126)
             at
    org.eclipse.core.internal.resources.Resource.accept(Resource.java:60)
             at
    org.eclipse.core.internal.resources.Resource.accept(Resource.java:101)
             at
    org.eclipse.core.internal.resources.Resource.accept(Resource.java:80)
             at
    org.objectstyle.wolips.wodclipse.builder.WodBuilder.buildStarted(WodBuil
    der.java:30)
             at
    org.objectstyle.wolips.core.resources.internal.build.Builder.notifyBuild
    erBuildStarted(Builder.java:124)
             at
    org.objectstyle.wolips.core.resources.internal.build.Builder.build(Build
    er.java:94)
            
            
      _____

            From: Mike Schrag [mailto:mschra..dimension.com]
            Sent: Thursday, September 15, 2005 10:23 AM
            To: woproject-de..bjectstyle.org
            Subject: Re: Problems view. How do I clear this view?
            
            
            Can you try making a new blank WOApplication project and just do
    something that would cause an error in the Main.wod in there to see if
    the plugin is functioning at all for you? It's definitely working on
    mine at the moment ...
            
            
            On Sep 15, 2005, at 10:18 AM, Watkins, Garry wrote:

                    Looks like it might not be incrementally building at
    all. The project is set to build automatically.

      _____

                    From: Mike Schrag [mailto:mschra..dimension.com]
                    Sent: Thursday, September 15, 2005 10:15 AM
                    To: woproject-de..bjectstyle.org
                    Subject: Re: Problems view. How do I clear this view?
                    
                    
                    Does it add new ones and just not clear the old ones or
    is it not incrementally building at all?

                    On Sep 15, 2005, at 9:45 AM, Watkins, Garry wrote:

                            Doing a clean cleared the errors. However, it
    looks like it is not incrementally clearing the problem list when I fix
    an error and then save.
                             
                            Thanks
                            Garry

      _____

                            From: Mike Schrag
    [mailto:mschra..dimension.com]
                            Sent: Wednesday, September 14, 2005 4:33 PM
                            To: woproject-de..bjectstyle.org
                            Subject: Re: Problems view. How do I clear this
    view?
                            
                            
                            It SHOULD be the case that a clean build of that
    project (or opening, touching, and resaving the wod file) should remove
    those problems? You might try closing and reopening the project if that
    doesn't do it ... I've always been able to make them go away by doing a
    clean build or resaving the WOD. I don't get those anymore now that
    we're a builder, so let me know if you still see that going forward.

                            On Sep 14, 2005, at 2:28 PM, Watkins, Garry
    wrote:

                                    Yesterday I had this problem: "There is
    no element named 'CityState' in your component HTML file Claim_CE.wod
    CMP/Claim_CE.wo line 97"
                                     
                                    I installed the latest and greatest
    today, and it appears that the fix works. However, I still have a bunch
    of these error conditions in my problem view. How do I clear them out?
                                     
                                    Thanks
                                     
                                    Garry Watkins
                                    Programmer, IT Dept.
                                    Motley Rice LLC
                                    (843) 216-9639
                                     
                                    
                                     
                                    Confidential & Privileged

                                    Unless otherwise indicated or obvious
    from its nature, the information contained in this communication is
    attorney-client privileged and confidential information/work product.
    This communication is intended for the use of the individual or entity
    named above. If the reader of this communication is not the intended
    recipient, you are hereby notified that any dissemination, distribution
    or copying of this communication is strictly prohibited. If you have
    received this communication in error or are not sure whether it is
    privileged, please immediately notify us by return e-mail and destroy
    any copies--electronic, paper or otherwise--which you may have of this
    communication.

                            
                             
                            Confidential & Privileged

                            Unless otherwise indicated or obvious from its
    nature, the information contained in this communication is
    attorney-client privileged and confidential information/work product.
    This communication is intended for the use of the individual or entity
    named above. If the reader of this communication is not the intended
    recipient, you are hereby notified that any dissemination, distribution
    or copying of this communication is strictly prohibited. If you have
    received this communication in error or are not sure whether it is
    privileged, please immediately notify us by return e-mail and destroy
    any copies--electronic, paper or otherwise--which you may have of this
    communication.

                    
                     
                    Confidential & Privileged

                    Unless otherwise indicated or obvious from its nature,
    the information contained in this communication is attorney-client
    privileged and confidential information/work product. This communication
    is intended for the use of the individual or entity named above. If the
    reader of this communication is not the intended recipient, you are
    hereby notified that any dissemination, distribution or copying of this
    communication is strictly prohibited. If you have received this
    communication in error or are not sure whether it is privileged, please
    immediately notify us by return e-mail and destroy any
    copies--electronic, paper or otherwise--which you may have of this
    communication.

            
             
            Confidential & Privileged

            Unless otherwise indicated or obvious from its nature, the
    information contained in this communication is attorney-client
    privileged and confidential information/work product. This communication
    is intended for the use of the individual or entity named above. If the
    reader of this communication is not the intended recipient, you are
    hereby notified that any dissemination, distribution or copying of this
    communication is strictly prohibited. If you have received this
    communication in error or are not sure whether it is privileged, please
    immediately notify us by return e-mail and destroy any
    copies--electronic, paper or otherwise--which you may have of this
    communication.



    This archive was generated by hypermail 2.0.0 : Thu Sep 15 2005 - 15:19:21 EDT