[fileupload]FileCleanerCleanup causes null pointer exception in contextDestroyed()
Hello, I'm facing a problem which has already been reported some time back (FileCleanerCleanup causes null pointer exception in contextDestroyed() see http://mail-archives.apache.org/mod_mbox/commons-user/200811.mbox/%3c1bcb7c7f0811211256h7cd7f07bicd4aed9a253e6...@mail.gmail.com%3e ). It looks like the contextDestroyed() method is trying to get the FileCleaningTracker by using the ServletContext.getAttribute() method. But if I can believe the following post (http://forums.sun.com/thread.jspa?threadID=597964), the attributes are removed before the contextDetroyed(), hence the NPE. Arnaud Q - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org
Re: Release codec 1.4?
On Fri, Jul 31, 2009 at 5:51 PM, Julius Daviesjuliusdav...@gmail.com wrote: Hi, Tom, Codec-1.4 rc2 is here if you want play around: http://people.apache.org/~niallp/codec-1.4-rc2/ Note: rc2 definitely won't be the final release. There will at least be an rc3. snip/ Yup, to clarify, rc = release candidate. Please note that the above are merely code snapshots, and not released artifacts (i.e. not for general/production use at all). -Rahul - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org
Re: Release codec 1.4?
On Fri, Jul 31, 2009 at 9:20 PM, Gary Gregoryggreg...@seagullsoftware.com wrote: Hi Tom: I need to look at the patch for [CODEC-59] and then make sure our test coverage is a good as before the patch. Then we can cut another RC and people can look at the bits and vote. My intention is to look at [CODEC-59] later today or over the weekend. I'm going on holiday in just over a week so perhaps better if someone else does the RM role. If noone else wants to do it, then I could probably do it if its ready to go in the next day or so - or after I get back. Niall Gary -Original Message- From: TomStrummer [mailto:tomstrum...@gmail.com] Sent: Friday, July 31, 2009 1:10 PM To: user@commons.apache.org Subject: RE: Release codec 1.4? Not to bug you Gary, but any update on this? I'm really looking for CODEC-69 (Streaming Base64). Are the current 1.4-SNAPSHOT builds published anywhere? The project website says the current version is 1.4-SNAPSHOT but I only see downloads for 1.3. The http://people.apache.org/repo/m2-snapshot-repository/ doesn't seem to have anything from commons-codec. Thanks. -Tom Gary Gregory wrote: Julius, I will look at CODEC-75 this week. Gary -Original Message- From: Julius Davies [mailto:juliusdav...@gmail.com] Sent: Monday, July 13, 2009 11:05 AM To: Commons Users List Subject: Re: Release codec 1.4? Hi, I'm mostly happy with the state of the CODEC in the repository. Base64 can be properly streamed when using the repository version, and I believe it's at least 33% faster than any of these: 1. http://iharder.sourceforge.net/base64/ (2 times faster) 2. sun.misc.BASE64Decoder (2 times faster) 3. openssl enc -base64 -d (about 33% faster?) Obviously I wish the patch I submitted for CODEC-75 would be applied (I'm privately forking for my own needs). yours, Julius On Sun, Jul 12, 2009 at 4:55 PM, da...@davidkarlsen.com wrote: On Sun, 12 Jul 2009, Gary Gregory wrote: Note that due to the Caverphone class, the requirement for a Codec 1.4 release will be changed from Java 1.3.1 to 1.4.2. I think this is fine and reworking Caverphone to be Java 1.3 compliant is not worth the effort. Is that an issue for anyone? Not for me - and can't really imagine for any else either, actually 1.4 was EOSL October last year: http://java.sun.com/j2se/1.4.2/download.html If they haven't moved yet they'll have bigger problems than commons codec requiring it from v1.4 :) And - a big thanks! -- David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http://mp3.davidkarlsen.com - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org -- yours, Julius Davies 250-592-2284 (Home) 250-893-4579 (Mobile) http://juliusdavies.ca/logging.html - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org -- View this message in context: http://www.nabble.com/Release-codec-1.4-- tp2263p24762389.html Sent from the Commons - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org
RE: Release codec 1.4?
WRT: [CODEC-59] Add methods to Base64 which work with String instead of byte[]. Patch applied with one added test code line to keep line code coverage at 100%. Branch coverage is up to 92% from 91%. I would still like to see code coverage (especially in the language package) improved as indicated in previous messages, but not much luck getting volunteers. Other than that, Niall can cut another RC. Gary -Original Message- From: Niall Pemberton [mailto:niall.pember...@gmail.com] Sent: Friday, July 31, 2009 3:13 PM To: Commons Users List Subject: Re: Release codec 1.4? On Fri, Jul 31, 2009 at 9:20 PM, Gary Gregoryggreg...@seagullsoftware.com wrote: Hi Tom: I need to look at the patch for [CODEC-59] and then make sure our test coverage is a good as before the patch. Then we can cut another RC and people can look at the bits and vote. My intention is to look at [CODEC-59] later today or over the weekend. I'm going on holiday in just over a week so perhaps better if someone else does the RM role. If noone else wants to do it, then I could probably do it if its ready to go in the next day or so - or after I get back. Niall Gary -Original Message- From: TomStrummer [mailto:tomstrum...@gmail.com] Sent: Friday, July 31, 2009 1:10 PM To: user@commons.apache.org Subject: RE: Release codec 1.4? Not to bug you Gary, but any update on this? I'm really looking for CODEC-69 (Streaming Base64). Are the current 1.4-SNAPSHOT builds published anywhere? The project website says the current version is 1.4-SNAPSHOT but I only see downloads for 1.3. The http://people.apache.org/repo/m2-snapshot-repository/ doesn't seem to have anything from commons-codec. Thanks. -Tom Gary Gregory wrote: Julius, I will look at CODEC-75 this week. Gary -Original Message- From: Julius Davies [mailto:juliusdav...@gmail.com] Sent: Monday, July 13, 2009 11:05 AM To: Commons Users List Subject: Re: Release codec 1.4? Hi, I'm mostly happy with the state of the CODEC in the repository. Base64 can be properly streamed when using the repository version, and I believe it's at least 33% faster than any of these: 1. http://iharder.sourceforge.net/base64/ (2 times faster) 2. sun.misc.BASE64Decoder (2 times faster) 3. openssl enc -base64 -d (about 33% faster?) Obviously I wish the patch I submitted for CODEC-75 would be applied (I'm privately forking for my own needs). yours, Julius On Sun, Jul 12, 2009 at 4:55 PM, da...@davidkarlsen.com wrote: On Sun, 12 Jul 2009, Gary Gregory wrote: Note that due to the Caverphone class, the requirement for a Codec 1.4 release will be changed from Java 1.3.1 to 1.4.2. I think this is fine and reworking Caverphone to be Java 1.3 compliant is not worth the effort. Is that an issue for anyone? Not for me - and can't really imagine for any else either, actually 1.4 was EOSL October last year: http://java.sun.com/j2se/1.4.2/download.html If they haven't moved yet they'll have bigger problems than commons codec requiring it from v1.4 :) And - a big thanks! -- David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http://mp3.davidkarlsen.com -- --- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org -- yours, Julius Davies 250-592-2284 (Home) 250-893-4579 (Mobile) http://juliusdavies.ca/logging.html - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org -- View this message in context: http://www.nabble.com/Release-codec-1.4-- tp2263p24762389.html Sent from the Commons - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org