Re: WOLips for Eclipse 4.3.1
Re: WOLips for Eclipse 4.3.1
- Subject: Re: WOLips for Eclipse 4.3.1
- From: Frank Cobia <email@hidden>
- Date: Thu, 06 Feb 2014 09:23:39 -0500
If we could get them back, that would be great. I am not sure how this even happened, so I am not sure how to get them back. Maybe someone has a copy of the repository from before the corruption.
Frank
On Feb 6, 2014, at 2:18 AM, Johann Werner <email@hidden> wrote:
>
> Am 04.02.2014 um 16:37 schrieb Frank Cobia <email@hidden>:
>
>> I will give this a try and see if that fixes things for me. I am not sure what sashWeights does, but I am not sure that is the problem. I have tried doing similar things to this in the past and it would work for a while and then go back to throwing the NPEs.
>>
>> Here are the two things I did in the source to fix things.
>>
>> 1) There are a lot of source files with garbled comments. I am not sure what happened there, but the comments seem to have been added years ago. I think the files got corrupted somehow. The java compiler complains about the characters not being UTF-8. Since they are not code and I don't know how to recover the un-garbbled comments, I just deleted them.
>
> Can those comments be resurrected from the repository history? Unfortunately besides those comments WOLips has no documentation (or is there?)
>
>> 2) There is a kind of race condition. When you open the editor, while preparing the editor, it makes a call that makes a call, that makes a call, etc. Eventually that gets to a line that call core eclipse code. The core eclipse code then tries to access the editor. The problem is that the editor is still in the process of opening. There is probably a more elegant way to fix this, since the problem is that it is trying to access a variable that has not been set yet. The data that will be set already exists in a temporary variable, so one possible fix could be to set the variable sooner, but I am not sure if that would cause larger problems. However, the line that was causing the problem, appeared, based on the comment, to fix an obscure seldom encountered problem. So I commented that line out and I have not had any problems.
>>
>> Even if deleting that file fixes the current problem, if you go to Jenkins, you will see that the source no longer compiles. So, the plugin still needs to be fixed.
>>
>> Frank
>>
>>
>> On Feb 4, 2014, at 10:20 AM, Hugi Thordarson <email@hidden> wrote:
>>
>>> This worked like a charm, thanks guys! :)
>>>
>>> Cheers,
>>> - hugi
>>>
>>>
>>>
>>> On 4.2.2014, at 14:56, Jean-François Veillette <email@hidden> wrote:
>>>
>>>> I do what Lars recommended and it work!
>>>>
>>>> I did a compare of the file before/after and the only diff is the number of that properties:
>>>> org.objectstyle.wolips.componenteditor.sashWeights=805,194
>>>> so you can simply remove that properties and it will work again.
>>>>
>>>> From what I looked at, the fix from Frank Cobia was commenting out the line culprit. I did not looked enough to conclude if it was a real fix, or a mere workaround for now.
>>>>
>>>> jfv
>>>>
>>>>>> De : Lars Sonchocky-Helldorf <email@hidden>
>>>>>> Objet : Workaround for annoying NPE bug when opening WOComponent Editor
>>>>>> Date : 22 octobre 2013 06:49:28 HAE
>>>>>> À : "email@hidden List List" <email@hidden>
>>>>>>
>>>>>> Hi List,
>>>>>>
>>>>>> I don't know if you're also affected by this, but all my coworkers experience from time to time those annoying cascades of NPEs when opening a WOComponent in the WOComponent Editor on Eclipse Kepler (4.3) and WOLips 4.3 which, once they're happening, never go away by themselves.
>>>>>>
>>>>>> Now my coworker Tommy has found a workaround for this:
>>>>>>
>>>>>> - shutdown Eclipse
>>>>>> - delete .metadata/.plugins/org.eclipse.core.runtime/.settings/org.objectstyle.wolips.wodclipse.core.prefs from your workspace
>>>>>> - restart Eclipse
>>>>>>
>>>>>> -> everything should work fine now. When the problem recurs just delete this file again.
>>>>>>
>>>>>>
>>>>>> I hope this was helpful to some of you.
>>>>>>
>>>>>> cheers,
>>>>>>
>>>>>> Lars
>>>>>
>>>>>
>>>>> Le 2014-02-04 à 09:05, Hugi Thordarson <email@hidden> a écrit :
>>>>>
>>>>>> I’m getting an error on 4.3 where if I open a component (the component editor), it just shows up empty and then proceeds to throw bazillion nullpointerexceptions at me.
>>>>>>
>>>>>> I seem to recall having seen this before, but can’t for the life of me remember what I did to fix it. Light any bulbs for anyone?
>>>>>>
>>>>>> Cheers,
>>>>>> - hugi
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 3.2.2014, at 13:55, Ken Anderson <email@hidden> wrote:
>>>>>>
>>>>>>> 3.x does the same thing...
>>>>>>>
>>>>>>> On Feb 3, 2014, at 8:47 AM, Frank Cobia <email@hidden> wrote:
>>>>>>>
>>>>>>>> Unfortunately I got side tracked this weekend, so I did not get a chance to clean up the code.
>>>>>>>>
>>>>>>>> However, I have not seen the issue you are describing in EOModeler. There are times when the properties panel does not populate, but you just have to click on something else and then click back. So it is just an annoyance and not a problem.
>>>>>>>>
>>>>>>>> Frank
>>>>>>>>
>>>>>>>>
>>>>>>>> On Jan 31, 2014, at 12:22 PM, Lon Varscsak <email@hidden> wrote:
>>>>>>>>
>>>>>>>>> There was some wonkiness in the EOModeler tool too. I vaguely remember you'd go to edit a field (like class name) and it would clear all the contents...so it was sort of impossible to work with. Did that ever get resolved?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Fri, Jan 31, 2014 at 7:44 AM, Pascal Robert <email@hidden> wrote:
>>>>>>>>> And Eclipse 4.x full support is one of the recurrent requests in the surveys!
>>>>>>>>>
>>>>>>>>> De: "David Avendasora" <email@hidden>
>>>>>>>>> À: "Frank Cobia" <email@hidden>
>>>>>>>>> Cc: "WebObjects-Dev Mailing List List" <email@hidden>
>>>>>>>>> Envoyé: Vendredi 31 Janvier 2014 09:41:56
>>>>>>>>> Objet: Re: WOLips for Eclipse 4.3.1
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Awesome! I would love to move forward!
>>>>>>>>>
>>>>>>>>> On Jan 31, 2014, at 9:33 AM, Frank Cobia <email@hidden> wrote:
>>>>>>>>>
>>>>>>>>> I have been using it for a few weeks now and it seems to be working. I will try to get it all cleaned up this weekend and then all I will need it help moving it from my personal guthub to the official project guthub.
>>>>>>>>>
>>>>>>>>> Frank
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Jan 29, 2014, at 10:17 AM, Ken Anderson <email@hidden> wrote:
>>>>>>>>>
>>>>>>>>> Frank,
>>>>>>>>>
>>>>>>>>> While I volunteered to look at this at the last meeting, I have not had the time. I would love to help, especially if you’ve gotten something going already which would alleviate the dreaded “figure it out first” problem.
>>>>>>>>>
>>>>>>>>> Ken
>>>>>>>>>
>>>>>>>>> On Jan 21, 2014, at 8:00 PM, Frank Cobia <email@hidden> wrote:
>>>>>>>>>
>>>>>>>>> I finally got tired of being stuck with Eclipse 3.x and sat dow to figure out what was causing the "NullPointerException."
>>>>>>>>>
>>>>>>>>> I found the problem and fixed it and built it locally. I have been running it for a couple of days now without any problems. However, there are a couple of problems with getting this out to everyone:
>>>>>>>>>
>>>>>>>>> 1) There were some libraries that were referenced with environment variables. I hard coded the paths (It was 4am). I could probably go back and fix this myself after a couple of days.
>>>>>>>>>
>>>>>>>>> 2) I took out support for JRebel and JProfiler, because I did not want to track down any libraries those are dependent on (again it was 4am). Does anyone have experience with these parts?
>>>>>>>>>
>>>>>>>>> 3) I am not very familiar with Git so I created my own repository (https://github.com/fcobia/wolips). Can someone help me get my changes moved into the official repository so that jenkins can be successful building for Eclipse 4.3?
>>>>>>>>>
>>>>>>>>> Is there anyone interested in having a functioning WOLips for Eclipse 4.3 that could help me at least with numbers 2 and 3?
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Frank
>>>>>>>>> _______________________________________________
>>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>>> Webobjects-dev mailing list (email@hidden)
>>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>>
>>>>>>>>> This email sent to email@hidden
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>>> Webobjects-dev mailing list (email@hidden)
>>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>>
>>>>>>>>> This email sent to email@hidden
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> —————————————————————————————
>>>>>>>>> WebObjects - so easy that even Dave Avendasora can do it!™
>>>>>>>>> —————————————————————————————
>>>>>>>>> David Avendasora
>>>>>>>>> Senior Software Abuser
>>>>>>>>> Nekesto, Inc.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>>> Webobjects-dev mailing list (email@hidden)
>>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>>
>>>>>>>>> This email sent to email@hidden
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>>> Webobjects-dev mailing list (email@hidden)
>>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>>
>>>>>>>>> This email sent to email@hidden
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>>> Webobjects-dev mailing list (email@hidden)
>>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>>
>>>>>>>>> This email sent to email@hidden
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>> Webobjects-dev mailing list (email@hidden)
>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>
>>>>>>>> This email sent to email@hidden
>>>>>>> _______________________________________________
>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>> Webobjects-dev mailing list (email@hidden)
>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>
>>>>>>> This email sent to email@hidden
>>>>>>
>>>>>> _______________________________________________
>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>> Webobjects-dev mailing list (email@hidden)
>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>
>>>>>> This email sent to email@hidden
>>>>>
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list (email@hidden)
>>>> Help/Unsubscribe/Update your Subscription:
>>>>
>>>> This email sent to email@hidden
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden