Re: Stack Overflow in JXTAService example

Bruce Rosenthal <[email protected]> Sat, 03 Sep 2005 11:20:09 -0700
Newsgroups gmane.comp.java.jxta.user
Message-ID <[email protected]>
Jar conflict - my mea culpa. Resolved and forward march.

Thanks John Blair, John Barry and of course Harrie for finding the root 
cause.

This thread is >null

Bruce Rosenthal wrote:

> OK. So I just looked at the source from what I checked out yesterday ( 
> \cvs\platform\binding\java\impl\src\net\jxta\impl\protocol\PipeAdv.java 
> - this is where the source is on my system) and see that the clone() 
> method is returning clone; vs. clone().
>
> I built platform and copied jxta.jar and jxtaext.jar to the lib of my 
> project (using NB 4.1). When I compile/run in debug mode I can see 
> that the IDE is scanning the new jars. I still get the same stack 
> overflow.
>
> I tried looking at the PipeAdv class in the 
> <PROJECT_HOME>/lib/jxta.jar, but I can't see anything of course. 
> Really frustrating problem at this point. I would like to move on into 
> further explorations with JXTA but really want to get this 
> functionality 100% because it will only come back to haunt me and 
> sooner then later I'm sure.
>
> John Barry wrote:
>
>> Sounds like issue #1357.
>>
>> -----Original Message-----
>> From: Bruce Rosenthal [mailto:[email protected]] Sent: Saturday, 
>> September 03, 2005 8:10 AM
>> To: [email protected]; [email protected]
>> Subject: Re: [JXTA user] Stack Overflow in JXTAService example
>>
>> So I did checkout the latest Platform and built jxta.jar and jxtaext.jar
>>
>> successfully.
>>
>> I then replaced my existing jxta.jar and jxtaext.jar (in my current 
>> project Classpath) and tried again. It still stack overflows at the same
>>
>> location with a call to
>> net.jxta.impl.protocol.PipeAdv.clone(PipeAdv.java:205)
>>
>> I did not checkout security and shell and build those. I will try 
>> that now but don't see what the dependency would be.
>>
>> Please advise what you think I should do differently
>>
>> John D. Blair wrote:
>>
>>  
>>
>>> I saw this problem with some of the example programs.  It went away 
>>> when I checked JXTA out of CVS and built the jar file myself.  I don't
>>>   
>>
>>
>>  
>>
>>> know if this is the only way to fix the problem, but it made it go 
>>> away for me.
>>>
>>> -j.
>>>
>>> On Sep 2, 2005, at 3:45 PM, Bruce Rosenthal wrote:
>>>
>>>   
>>>
>>>> Still have an unresolved issue with this example that I could sure 
>>>> use help resolving.
>>>>
>>>> Get a Stack Overflow in the server object when I reach adding the 
>>>> PipeAdvertisement into the ModuleSpecAdvertisement:
>>>>
>>>>           // Store the pipe advertisement in the spec adv.
>>>>           // This information will be retrieved by the client when 
>>>> it will
>>>>           // connect to the service
>>>>           mdadv.setPipeAdvertisement(pipeadv);
>>>>
>>>> I am running release 2.3.4
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>>     
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>>   
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>>
>>  
>>
>
>------------------------------------------------------------------------
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]