Geoff,

One more thing, I changed NavBar.java to add a check if the tab is null:

public boolean isSecurityTabActive() {
                if(tab==null)
                        return false;
                return tab.equals("Security");
        }

Now the app appears to work, but I sure wish I understood better how
the tab param should have been passed in the first place!

-George

On Fri, Sep 23, 2011 at 2:21 PM, George Ludwig <georgelud...@gmail.com> wrote:
> Geoff,
>
> I'm running jumpstart 5.4.14 in Eclipse 3.7 on OSX 10.5.8.
>
> However, as Jonathan mentioned if I ignore the error, the debugger
> takes me to the correct line in NavBar.java  But all I can see is that
> the tab parameter is null. :)
>
> I can't see the source in any of the tapestry jars, so that's about as
> far as I can go in the debugger. Is there a way to use ant to download
> the sources and make Eclipse aware of them? Is it even worth the
> trouble?
>
> It's been a long time since I used Ant...
>
> It just occurred to me to try this on my machine at home, which is a
> Vista box. Will let you know if it changes anything.
>
> Best,
>
> George
>
>
>
> On Fri, Sep 23, 2011 at 2:02 AM, Geoff Callender
> <geoff.callender.jumpst...@gmail.com> wrote:
>> What version of JumpStart are you running and what OS are you on? I'll try 
>> to have a look in the next 24 hours at what's gone awry.
>>
>> On 23/09/2011, at 12:31 PM, Jonathan Barker wrote:
>>
>>> I hit this as well today.
>>>
>>> Strangely, I said to ignore it, and after the usual prompting for a location
>>> to find source files, debugging worked just fine.
>>>
>>>
>>>
>>> On Thu, Sep 22, 2011 at 6:37 PM, georgeludwig <georgelud...@gmail.com>wrote:
>>>
>>>> I have jumpstart running in Eclipse as a java app, and it works with the
>>>> exception of the login. When I log in as admin, I get a null pointer
>>>> exception:
>>>> jumpstart.web.components.theapp.NavBar.isSecurityTabActive(NavBar.java:18)
>>>>
>>>> I set a break point in eclipse on line 18 in NavBar.java, and when I run it
>>>> in Eclipse, Eclipse tells me that it cannot install a a break point because
>>>> the class files were compiled without line numbers.
>>>>
>>>> So I enabled the line numbers in the Eclipse environment, but that didn't
>>>> help.
>>>>
>>>> I'm unfamiliar with many of the tools used in this project, and can't
>>>> figure
>>>> out how the collapser gets invoked during app launch, much less how to
>>>> ensure line numbers are included!
>>>>
>>>> Any idea how can I enable this?
>>>>
>>>> --
>>>> View this message in context:
>>>> http://tapestry.1045711.n5.nabble.com/debugging-jumpstart-in-Eclipse-missing-line-numbers-tp4831779p4831779.html
>>>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>>
>>>>
>>>
>>>
>>> --
>>> Jonathan Barker
>>> ITStrategic
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to