Application.cfc and onSessionEnd exception: java.lang.NullPointerException
Hi CF-Talk guys, after the CFMX 7.01 upgrade, I costantly receive an error (perhaps) raised from the onSessionEnd event in Application.cfc: An exception occurred when invoking a event handler method from Application.cfc The method name is: onSessionEnd. Since it is really difficult to debug errors on events like this, I'm not sure the cause is in the onSessionEnd event. Session methods are very simple but despite this, the exception is always raised. cffunction name=onSessionStart returnType=void output=false /cffunction cffunction name=onSessionEnd returnType=void output=false cfargument name = SessionScope required=true /cffunction If i comment the onSessionEnd method, ColdFusion still raises the same onSessionEnd exception (!). If I comment onSessionStart and onSessionEnd methods, the error is gone. What's is happening on my server? I'm using J2EE session variables on my server. Server Product ColdFusion MX Version 7,0,1,116466 Java Version1.4.2_05 Operating SystemWindows 2003 OS Version 5.2 More details from the error below --- Detail An exception occurred when invoking a event handler method from Application.cfc The method name is: onSessionEnd. Message Event Handler Exception. RootCause Error scope - struct Message [empty string] StackTrace java.lang.NullPointerException at coldfusion.runtime.AppEventInvoker.onSessionEnd(AppEventInvoker.java:145) at coldfusion.runtime.SessionTracker.cleanUp(SessionTracker.java:168) at coldfusion.runtime.SessionCleanUpAgent.run(SessionTracker.java:259) at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201) at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:70) TagContext Error scope - array [empty] Typejava.lang.NullPointerException StackTrace coldfusion.runtime.EventHandlerException: Event Handler Exception. at coldfusion.runtime.AppEventInvoker.onSessionEnd(AppEventInvoker.java:147) at coldfusion.runtime.SessionTracker.cleanUp(SessionTracker.java:168) at coldfusion.runtime.SessionCleanUpAgent.run(SessionTracker.java:259) at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201) at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:70) TagContext Error scope - array [empty] TypeExpression nameonSessionEnd -- Giampaolo Bellavite - Berlin [EMAIL PROTECTED] (PGP key available) ICQ# 9936 - MSN: [EMAIL PROTECTED] ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220655 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
New bellaalbum 3, CF open source app
I've just released the new version of a little open source application for making static HTML image albums. Download, screenshot and a demo here: http://www.bellavite.com/bellaalbum.cfm It uses extensively the tmt_img CFC developed by Massimo Foti for manipulating images with the CF java built-in support. Works on CF 6.1 or 7. Since it's open, code hints and suggestions are welcome :) -- Giampaolo Bellavite - Milano http://www.bellavite.com (PGP key available) ICQ# 9936 - MSN: [EMAIL PROTECTED] ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194268 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: New bellaalbum 3, CF open source app
Hello Bryan, Friday, February 11, 2005, 6:33:52 PM, you wrote: Do you have an example of the output posted somewhere? An output example is here: http://www.bellavite.com/bellaalbum/trial/demo/various_pics/ The application works with predefined simple templates (used for outputting the final HTML source code) and visual themes (via CSS). You can change them to make albums working with any server side language and giving them the skin you want. You can also try out the demo. -- Giampaolo Bellavite, Milano (Italy) [EMAIL PROTECTED] Team Macromedia Volunteer for ColdFusion * http://www.macromedia.com/support/forums/team_macromedia/ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194298 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: New bellaalbum 3, CF open source app
Hello Deanna, Friday, February 11, 2005, 7:22:09 PM, you wrote: My first reaction is that the admin interface is goreous - clean, easy to use, works slick, and that the resulting html album pales in comparison. :) That's why I made templates. I'm sure anybody would make the resulting album better than me (it's quite boring, though!) :) -- Giampaolo Bellavite, Milano (Italy) [EMAIL PROTECTED] ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194374 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: New bellaalbum 3, CF open source app
Hello dave, Friday, February 11, 2005, 9:36:22 PM, you wrote: same here interface is really nice! but the impotant part is the photos and it lacks any kind of real structure. I know, hope having the free time for doing something better. But i'm sure that can be customized. I was thinking of using mossimos tag for a site im doing, how was it to work with? Massimo's CFCs are one of the best public pieces of CFML code you can have to work with :) i basically need something that works on cfmx, linux, shared server (basic sizing) and of course a cfc would be super! but havent looked too mauch at it yet So check his CF goodies: http://www.olimpo.ch/tmt/ -- Giampaolo Bellavite, Milano (Italy) [EMAIL PROTECTED] ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194376 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Complex COM Objects (Graphics Mill)
I'm trying to use the Graphics Mill 2.0 COM Object (from http://www.aurigma.com) with ColdFusion MX and I'm getting a little frustrated. Using the older version, the Graphics Processor, I haven't had any problem at all. Now they updated their component and I cannot use that component, due to a more complex object structure (I guess) For example, the main object, called Bitmap, has an interface ITransforms containing methods for bitmap transformations. While I can access the main object methods - like objBitmap.LoadFromFile(theFileName) - I cannot use any methods contained into the ITrasforms interface. Obviously ColdFusion says there is no method called Resize when I execute cfset objBitmap.ITransforms.Resize(100) Actually the cfdump for the object doesn't show any ITransforms method. How could I solve my issue? I tried compiling a bridge COM Java using jintegra, following the technote found here: http://www.macromedia.com/support/coldfusion/ts/documents/tn18211.htm but it doesn't work. -- Giampaolo Bellavite - Milano [EMAIL PROTECTED] (PGP key available) ICQ# 9936 - MSN: [EMAIL PROTECTED] ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=38 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182307 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: More Unicode Fun
Hello Deanna, Friday, February 27, 2004, 4:16:51 PM, you wrote: cfoutputBullet: #chr(2022)#/cfoutput Should I see a bullet? Or a square? The live docs say that the chr() function should work with unicode in MX, but I see a square. I can get the bullet if I use#chr(2197)#. Don't ask me why. -- Giampaolo Bellavite, Milano (Italy) [EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: More Unicode Fun
Hello Deanna, Friday, February 27, 2004, 5:10:43 PM, you wrote: - Original Message - From: Giampaolo Bellavite Friday, February 27, 2004, 4:16:51 PM, you wrote: I can get the bullet if I use#chr(2197)#. Don't ask me why. Nope, still a square. *sigh* Ok, i solved my oddities about the bullet: this code works ok for me in WindowsXP and Firefox: !--- start --- cfcontent type=text/html; charset=utf-8 cfprocessingdirective pageencoding=utf-8 h1Bullets/h1 pre XML Character Reference (DEC) amp;#8226 = #8226; XML Character Reference (Hex) amp;#x2022; = #x2022; ColdFusion Chr(8226) = cfoutput#chr(8226)#/cfoutput ColdFusion Chr(inputBaseN('2022', 16)) = cfoutput#Chr(inputBaseN('2022', 16))#/cfoutput /pre !--- end --- My tips for you are: - use Dreamweaver MX and in page properties change the encoding to utf-8 - use the cfcontent tag in the Application.cfm - try to use cfprocessingdirective in every page if your page don't works. - ensure you are using a font that supports extended characters. But if it works with XML character references, it surely has those chars. -- Giampaolo Bellavite, Milano (Italy) [EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Calling Italian CF'ers
Hello Jack, Monday, February 23, 2004, 10:22:04 AM, you wrote: The biggest question that I'm still not sure I have the right answer to is: How do young people, age 18-28, pay for things they're purchasing online? The obvious answer would be Visa/Mastercard and so on, but what I'm hearing everywhere is that young people simply don't have those credit cards, so what do they do instead? Usually credit cards alternative are delivery payment (cash) or bank transfer. It's my understanding so far that the Bancomat card cannot be used online at all, is that true? Yes. The CartaSi card, does everyone have that? And can the CartaSi card be used online if there isn't Visa, Mastercard or similar on it? CartaSi works only where Visa, Mastercard or (depending from the card) Maestro works. Not everyone have the cartaSi, but other cards that usually support Visa and Mastercard too. What about CartaFacile? CartaFacile is not a Credit Card, is a pre-payed card of the Banca Popolare di Milano. If the university you were spoken about is in Milan, it could be a good choice for Milan students. You have to contact the Banca Popolare di Milano in order to enable it on your site. -- Giampaolo Bellavite, Milano (Italy) [EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: IIS Settings from one server to another
Hello Eric,Friday, September 26, 2003, 3:54:38 AM, you wrote: Is there a quick way to transfer IIS settings from one server to another? (transferring all websites from one box to another.)Did you try the IIS Migration Wizard Tool?http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/iis_migration_wizard-o.asp-- Giampaolo Bellavite, Milano (Italy)[EMAIL PROTECTED]Team Macromedia Volunteer for ColdFusion* http://www.macromedia.com/support/forums/team_macromedia/ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: New Allaire/Macromedia Site
I like very much the new style (nice, linear and clear) and this kind use of Flash. But the DevExchange is slow as ever... Giampaolo Bellavite, Milano (Italy) * http://www.bellavite.com - Original Message - From: Jon Hall [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, January 14, 2002 9:35 PM Subject: Re: New Allaire/Macromedia Site Amen.and it looks like they sunk all of 15 minutes into designing the new dev exchange too. I'm all for minimalist web design's but I just keep thinking it looks more like Fischer Prices, Welcome to my first cfoutput... __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists