[jira] [Created] (BEANUTILS-421) NullPointerException in
Maxim Kramarenko created BEANUTILS-421: -- Summary: NullPointerException in Key: BEANUTILS-421 URL: https://issues.apache.org/jira/browse/BEANUTILS-421 Project: Commons BeanUtils Issue Type: Bug Affects Versions: 1.8.3 Reporter: Maxim Kramarenko Priority: Blocker I got the following exception on some servers: javax.servlet.ServletException: BeanUtils.populate at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:475) at org.apache.struts.chain.commands.servlet.PopulateActionForm.populate(PopulateActionForm.java:50) at org.apache.struts.chain.commands.AbstractPopulateActionForm.execute(AbstractPopulateActionForm.java:60) at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51) at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191) at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305) at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191) at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) Caused by: java.lang.NullPointerException at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:982) at org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:830) at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:433) at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:473) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (BEANUTILS-421) NullPointerException in
[ https://issues.apache.org/jira/browse/BEANUTILS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13565285#comment-13565285 ] Maxim Kramarenko commented on BEANUTILS-421: Problem looks like BEANUTILS-368, but occurs in 1.8.3 NullPointerException in Key: BEANUTILS-421 URL: https://issues.apache.org/jira/browse/BEANUTILS-421 Project: Commons BeanUtils Issue Type: Bug Affects Versions: 1.8.3 Reporter: Maxim Kramarenko Priority: Blocker I got the following exception on some servers: javax.servlet.ServletException: BeanUtils.populate at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:475) at org.apache.struts.chain.commands.servlet.PopulateActionForm.populate(PopulateActionForm.java:50) at org.apache.struts.chain.commands.AbstractPopulateActionForm.execute(AbstractPopulateActionForm.java:60) at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51) at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191) at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305) at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191) at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) Caused by: java.lang.NullPointerException at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:982) at org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:830) at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:433) at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:473) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (BEANUTILS-421) NullPointerException in BeanUtilsBean.setProperty
[ https://issues.apache.org/jira/browse/BEANUTILS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maxim Kramarenko updated BEANUTILS-421: --- Summary: NullPointerException in BeanUtilsBean.setProperty (was: NullPointerException in ) NullPointerException in BeanUtilsBean.setProperty - Key: BEANUTILS-421 URL: https://issues.apache.org/jira/browse/BEANUTILS-421 Project: Commons BeanUtils Issue Type: Bug Affects Versions: 1.8.3 Reporter: Maxim Kramarenko Priority: Blocker I got the following exception on some servers: javax.servlet.ServletException: BeanUtils.populate at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:475) at org.apache.struts.chain.commands.servlet.PopulateActionForm.populate(PopulateActionForm.java:50) at org.apache.struts.chain.commands.AbstractPopulateActionForm.execute(AbstractPopulateActionForm.java:60) at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51) at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191) at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305) at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191) at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) Caused by: java.lang.NullPointerException at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:982) at org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:830) at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:433) at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:473) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (BEANUTILS-421) NullPointerException in BeanUtilsBean.setProperty
[ https://issues.apache.org/jira/browse/BEANUTILS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13565313#comment-13565313 ] Maxim Kramarenko commented on BEANUTILS-421: Here is the log: 2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.BeanUtils:populate:814 - BeanUtils.populate(com.trackstudio.form.TaskForm@d4afbb, {id=[Ljava.lang.String;@15d2cc6, session=[Ljava.lang.String;@26a3de, description=[Ljava.lang.String;@d07c51, workflowId=[Ljava.lang.String;@191bfcc, name=[Ljava.lang.String;@1c71a12, method=[Ljava.lang.String;@8099c8, parentForCancel=[Ljava.lang.String;@f03880, file[0]=}) 2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.ConvertUtils:convert:460 - Convert string 'ff8080812bd3d88d012bd3e2f5320076' to class 'java.lang.String' 2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.converters.StringConverter:convert:127 - Converting 'String' value 'ff8080812bd3d88d012bd3e2f5320076' to type 'String' 2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.ConvertUtils:convert:460 - Convert string 'session' to class 'java.lang.String' 2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.converters.StringConverter:convert:127 - Converting 'String' value 'session' to type 'String' 2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.ConvertUtils:convert:460 - Convert string 'div style=color: #00; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #ff; margin: 8px; ... /div' to class 'java.lang.String' 2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.converters.StringConverter:convert:127 - Converting 'String' value 'div style=color: #00; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #ff; margin: 8px; ... /div' to type 'String' 2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.ConvertUtils:convert:460 - Convert string '4028808a192e43e801192e527cee013f' to class 'java.lang.String' 2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.converters.StringConverter:convert:127 - Converting 'String' value '4028808a192e43e801192e527cee013f' to type 'String' 2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.ConvertUtils:convert:460 - Convert string 'Dashboard' to class 'java.lang.String' 2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.converters.StringConverter:convert:127 - Converting 'String' value 'Dashboard' to type 'String' 2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.ConvertUtils:convert:460 - Convert string 'saveDocument' to class 'java.lang.String' 2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.converters.StringConverter:convert:127 - Converting 'String' value 'saveDocument' to type 'String' 2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.ConvertUtils:convert:460 - Convert string '4028808a192e43e801192e4dc70f013a' to class 'java.lang.String' 2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.converters.StringConverter:convert:127 - Converting 'String' value '4028808a192e43e801192e4dc70f013a' to type 'String' 2013-01-29 03:19:05,867 WARN org.apache.struts.chain.commands.AbstractExceptionHandler:execute:95 - Unhandled exception javax.servlet.ServletException: BeanUtils.populate at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:475) at org.apache.struts.chain.commands.servlet.PopulateActionForm.populate(PopulateActionForm.java:50) at org.apache.struts.chain.commands.AbstractPopulateActionForm.execute(AbstractPopulateActionForm.java:60) at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51) So, it looks like it cannot process file attachment. NullPointerException in BeanUtilsBean.setProperty - Key: BEANUTILS-421 URL: https://issues.apache.org/jira/browse/BEANUTILS-421 Project: Commons BeanUtils Issue Type: Bug Affects Versions: 1.8.3 Reporter: Maxim Kramarenko Priority: Blocker I got the following exception on some servers: javax.servlet.ServletException: BeanUtils.populate at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:475) at org.apache.struts.chain.commands.servlet.PopulateActionForm.populate(PopulateActionForm.java:50) at org.apache.struts.chain.commands.AbstractPopulateActionForm.execute(AbstractPopulateActionForm.java:60) at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51) at
[jira] [Reopened] (DAEMON-261) Can't start service created with name space
[ https://issues.apache.org/jira/browse/DAEMON-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alain Perreault reopened DAEMON-261: Thanks for the job. How can I get the Procrun version 1.10.11 Can't start service created with name space --- Key: DAEMON-261 URL: https://issues.apache.org/jira/browse/DAEMON-261 Project: Commons Daemon Issue Type: Bug Components: Procrun Affects Versions: 1.0.10 Environment: Microsoft Windows XP Pro Service Pack 3 Reporter: Alain Perreault Fix For: 1.0.11 I can create a service with a space in its name with prunsrv.exe (1.0.10) using quotes like this //IS//Service Name, but the service does not start. The execution path of service is C:\apache-tomcat\bin\tomcat7.exe //RS//Service Name(no quotes!) When I try to start it I get an error windows 1053. If I put quotes by registry the service starts fine. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (DAEMON-261) Can't start service created with name space
[ https://issues.apache.org/jira/browse/DAEMON-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mladen Turk resolved DAEMON-261. Resolution: Implemented Please do not use JIRA for those kind of questions. BTW, we have recently released 1.0.12, so us that version instead Can't start service created with name space --- Key: DAEMON-261 URL: https://issues.apache.org/jira/browse/DAEMON-261 Project: Commons Daemon Issue Type: Bug Components: Procrun Affects Versions: 1.0.10 Environment: Microsoft Windows XP Pro Service Pack 3 Reporter: Alain Perreault Fix For: 1.0.11 I can create a service with a space in its name with prunsrv.exe (1.0.10) using quotes like this //IS//Service Name, but the service does not start. The execution path of service is C:\apache-tomcat\bin\tomcat7.exe //RS//Service Name(no quotes!) When I try to start it I get an error windows 1053. If I put quotes by registry the service starts fine. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CONFIGURATION-518) Rework interpolation API
[ https://issues.apache.org/jira/browse/CONFIGURATION-518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Heger resolved CONFIGURATION-518. Resolution: Fixed Some changes have been committed to address the issues mentioned in this ticket. Rework interpolation API Key: CONFIGURATION-518 URL: https://issues.apache.org/jira/browse/CONFIGURATION-518 Project: Commons Configuration Issue Type: Improvement Components: Interpolation Affects Versions: 1.9 Reporter: Oliver Heger Assignee: Oliver Heger Fix For: 2.0 The current implementation of the interpolation features has some shortcomongs: * Internally used class from commons-lang are directly exposed in the public API. This causes a tight connection to this project. * It is not thread-safe. This ticket is about (slightly) redesigning the affected class to fix the mentioned problems. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CODEC-161) Add Match Rating Approach (MRA) phonetic algorithm encoder
[ https://issues.apache.org/jira/browse/CODEC-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13566156#comment-13566156 ] Gary Gregory commented on CODEC-161: Hello, sorry about the delay. I just looked at the Jab 24 patch https://issues.apache.org/jira/secure/attachment/12566307/CODEC-161-24Jan2013.patch I am not a fan of changing all of the if/else's to if's because in the worst case all if's must be evaluated. I'm going resolve this issue and let other committers make any changes if they feel like it. Add Match Rating Approach (MRA) phonetic algorithm encoder -- Key: CODEC-161 URL: https://issues.apache.org/jira/browse/CODEC-161 Project: Commons Codec Issue Type: New Feature Affects Versions: 1.6 Reporter: Colm Rice Priority: Minor Labels: newbie Fix For: 1.8 Attachments: CODEC-161-18Jan2013.patch, CODEC-161-23Jan2013.patch, CODEC-161-24Jan2013.patch, CODEC-161-MatchRatingApproach.patch, CODEC-161.patch, CODEC-161.patch, CODEC-161.patch, CODEC-161.patch, CODEC-161.patch, Code_Coverage_EclEmma_MRA_TargetAlgo_03Dec2012.jpg, CODED-161.patch, MRA_Cobertura_CodeCoverage_18Jan2013.jpg, MRA_Cobertura_Code_Coverage_DeMorganElseIfWorkaround.jpg, MRA_Cobertura_ScreenShot_01Jan2013.jpg, MRA_eCobertura_Output.jpg Original Estimate: 168h Remaining Estimate: 168h I want to add MatchRatingApproach algorithm to the Lucene project via commons codec. What I have at the moment is a class called org.apache.lucene.analysis.phoenetic.MatchRatingApproach implementing StringEncoder I have a pretty comprehensive test file located at: org.apache.lucene.analysis.phonetic.MatchRatingApproachTests It's not exactly existing pattern so I'm going to need a bit of advice here. Thanks! Feel free to email. FYI: It my first contribution so be gentle :-) C# is my native. I had incorrectly added this to Lucene solution as LUCENE-4494 but received some good advice to move it to here. I'm doing that now. Reference: http://en.wikipedia.org/wiki/Match_rating_approach -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CODEC-161) Add Match Rating Approach (MRA) phonetic algorithm encoder
[ https://issues.apache.org/jira/browse/CODEC-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13566157#comment-13566157 ] Gary Gregory commented on CODEC-161: ah, the issue is already resolved! Add Match Rating Approach (MRA) phonetic algorithm encoder -- Key: CODEC-161 URL: https://issues.apache.org/jira/browse/CODEC-161 Project: Commons Codec Issue Type: New Feature Affects Versions: 1.6 Reporter: Colm Rice Priority: Minor Labels: newbie Fix For: 1.8 Attachments: CODEC-161-18Jan2013.patch, CODEC-161-23Jan2013.patch, CODEC-161-24Jan2013.patch, CODEC-161-MatchRatingApproach.patch, CODEC-161.patch, CODEC-161.patch, CODEC-161.patch, CODEC-161.patch, CODEC-161.patch, Code_Coverage_EclEmma_MRA_TargetAlgo_03Dec2012.jpg, CODED-161.patch, MRA_Cobertura_CodeCoverage_18Jan2013.jpg, MRA_Cobertura_Code_Coverage_DeMorganElseIfWorkaround.jpg, MRA_Cobertura_ScreenShot_01Jan2013.jpg, MRA_eCobertura_Output.jpg Original Estimate: 168h Remaining Estimate: 168h I want to add MatchRatingApproach algorithm to the Lucene project via commons codec. What I have at the moment is a class called org.apache.lucene.analysis.phoenetic.MatchRatingApproach implementing StringEncoder I have a pretty comprehensive test file located at: org.apache.lucene.analysis.phonetic.MatchRatingApproachTests It's not exactly existing pattern so I'm going to need a bit of advice here. Thanks! Feel free to email. FYI: It my first contribution so be gentle :-) C# is my native. I had incorrectly added this to Lucene solution as LUCENE-4494 but received some good advice to move it to here. I'm doing that now. Reference: http://en.wikipedia.org/wiki/Match_rating_approach -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CODEC-158) Add Codec, StringCodec, and BinaryCodec interfaces that extend both encoder and decoder
[ https://issues.apache.org/jira/browse/CODEC-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13566162#comment-13566162 ] Gary Gregory commented on CODEC-158: I'd like to see any new interface work involve generics. So instead of adding more typeless interfaces that would make 2.0 more difficult as a target for porting or compatibility. For example an Encoder interface would have two types input and output: EncoderI, O, same for a Decoder interface. EncoderI,O would implement O encode(I input). We could then have a symmetric Encoder and Decoder interface, ones where the I and O are the same: SymetricEncoderT extends EncoderT,T. Then a CodecI,O interface would extend both Encoder and Decoder. The problem today is that because of type erasure and if we had generics, we cannot end up with more than more encode() method. See the generics branch I created for a generics implementation of [codec]. So I'd like to talk about how to solve the generics issue and then backtrack to how this could be back-ported to 1.x in a forward compatible manner if at all possible, I am guessing not though. Add Codec, StringCodec, and BinaryCodec interfaces that extend both encoder and decoder --- Key: CODEC-158 URL: https://issues.apache.org/jira/browse/CODEC-158 Project: Commons Codec Issue Type: Improvement Affects Versions: 1.7 Reporter: Mirko Raner Priority: Minor Attachments: CODEC-158.patch, CODEC-158.patch Original Estimate: 1h Remaining Estimate: 1h Currently, there are no common interfaces that extend both the encoder and the decoder interfaces. This makes it hard to deal with a codec as a single entity and requires separate treatment of encoder and decoder parts. For example, let's say you want to develop a storage abstraction that uses an encoding. Right now, you would need to write class Storage { @Inject Encoder encoder; @Inject Decoder decoder; //... } In practice, encoder and decoder need to match, and most likely both encoder and decoder would be bound to the same implementation, like Base64 or URLCodec. Because of the lack of a common superinterface they need to be specified separately. There are some classes like BaseNCodec that can be used to unify some of the encoders and decoders, but they are too specific and restrictive. Ideally, I would like to write: class Storage { @Inject Codec codec; //... } Assuming that combined encoder/decoder classes like Base64 would implement that Codec interface, this could be directly bound to a combined encoder/decoder implementation. It would be nice if these interfaces were added and the existing codec classes (BaseNCodec, Hex, QCodec, QuotedPrintableCodec, URLCodec) could be modified to implement these new interfaces. I'm happy to contribute a patch if there is interest in this feature. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira