Thanks for working on this Nitish! On Saturday, September 6, 2014 2:33:20 PM UTC-5, forcesofindia.com wrote: > > Andy and others, > > I have solved the issue but i get a feeling that it is a work around. > Still it works for me. > There are two things i changed. First one is key and second one minor. > > 1. The issue that i found : > The null pointer exception was coming in: > com/bluedragon/vision/functions/GetActiveSessions.class line 68 > Iterator<VisionLiveSession> it = > activeSessions.values().iterator(); > > activeSessions would always be null because > /com/bluedragon/vision/engine/CoreServer.class > was not getting enabled (BTW, <enabledisable /> tag is supposed to do that > but i have never used it). > > And how i fixed it: > > so i took the code from EnableDisable.class (of the same package) and > copied the CoreServer enabling bit to > com.bluedragon.vision.VisionExtensions.java right after line 92:: > cfEngine.thisInstance.registerRequestListener( > CoreServer.thisInst ); > coreserver.enable(true); > PluginManager.getPlugInManager().startRequestStats(); > > 2. To avoid debugger frames calls getting added to active debug sessions i > changed the Query string from _cfmdebug to _openbddebugger in > CoreServer.java at line 107. > This is not significant because any session getting added to debugger > activesessions only lasts as long as any request. And if you don't have a > breakpoint in any of the debugger cfm files these sessions get added to > activesessions and then removed a few milliseconds later. So no sweat. > > Attaching both the modified files. > > Happy Debugging Guys! > > Nitish Pandey > > > 2014-08-25 14:24 GMT+05:30 Andy Wu <[email protected] <javascript:>>: > >> Nitish, there's a lot of code there so I can understand it's bit hard to >> find but I believe what you're looking for is in com.bluedragon.vision. >> >> >> On 20/08/2014 13:32, nitish pandey wrote: >> >> @Andy the source does not have the source fo rthe debugger. If you or >> someone else can help me with it...i can try to fix it. >> >> >> 2014-08-17 21:45 GMT+05:30 nitish pandey <[email protected] >> <javascript:>>: >> >>> This source doesn't seem to include and build the cf-debugger jar. So i >>> can't get to fixing it. I hope it is not required and someone tell me how >>> to make use of it. >>> >>> >>> 2014-07-29 21:50 GMT+05:30 Andy Wu <[email protected] <javascript:>>: >>> >>> I'd suggest either downloading the source code. There is a link on the >>>> downloads page but here it is: >>>> >>>> http://openbd.org/download/3.1/openbluedragon-src-3.1.zip >>>> >>>> Or for the latest code from the nightly build >>>> >>>> http://openbd.org/download/nightly/openbluedragon-src.zip >>>> >>>> If you're familiar with svn, then grab it directly: >>>> >>>> http://openbd.org/manual/?/svn >>>> >>>> >>>> On 29/07/2014 16:28, nitish pandey wrote: >>>> >>>>> I could have gone further but the i couldn't locate the openbd source. >>>>> >>>> >>>> -- >>>> -- >>>> online documentation: http://openbd.org/manual/ >>>> http://groups.google.com/group/openbd?hl=en >>>> >>>> --- You received this message because you are subscribed to the Google >>>> Groups "Open BlueDragon" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected] <javascript:>. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> -Nitish >>> "Imagination is more powerful than Knowledge" >>> >> >> >> >> -- >> -Nitish >> "Imagination is more powerful than Knowledge" >> -- >> -- >> online documentation: http://openbd.org/manual/ >> http://groups.google.com/group/openbd?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Open BlueDragon" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- >> -- >> online documentation: http://openbd.org/manual/ >> http://groups.google.com/group/openbd?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Open BlueDragon" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > -Nitish > "Imagination is more powerful than Knowledge" >
-- -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en --- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
