JDeveloper error - Craig please help..
I am getting this error when compiling jsp's with JDeveloper (I get it by using log4j): ERROR CompileThread org.apache.struts.util.MessageResourcesFactory - MessageResourcesFactory.createFactory java.lang.NullPointerException org.apache.struts.util.MessageResources org.apache.struts.util.MessageResources.getMessageResources(java.lang.String ) void org.apache.struts.util.RequestUtils.clinit() org.apache.struts.util.MessageResourcesFactory org.apache.struts.util.MessageResourcesFactory.createFactory() org.apache.struts.util.MessageResources org.apache.struts.util.MessageResources.getMessageResources(java.lang.String ) void org.apache.struts.taglib.html.BaseHandlerTag.clinit() java.lang.reflect.Method[] java.lang.Class.getMethods0(int) java.lang.reflect.Method[] java.lang.Class.getMethods() boolean oracle.jsp.parse.JspBeanInfo.determineSetPropertyOverloading(java.lang.Strin g) oracle.jsp.parse.JspBeanPropertyInfo oracle.jsp.parse.JspBeanInfo.getSetProperty(java.lang.String) oracle.jsp.parse.JspBeanPropertyInfo oracle.jsp.parse.JspBeanDictionary.getSetPropertyInfo(java.lang.String, java.lang.String) void oracle.jsp.parse.JspRTTag.getSetProperties() void oracle.jsp.parse.JspRTTag.validateTagParse(oracle.jsp.parse.JspParseState) void oracle.jsp.parse.JspParseTag.parse(oracle.jsp.parse.JspParseState) void oracle.jsp.parse.OpenJspTagHandler.parse(oracle.jsp.parse.JspParseState) oracle.jsp.parse.JspParseTag oracle.jsp.parse.JspParseTag.parseNextTag(oracle.jsp.parse.JspParseState) void oracle.jsp.parse.JspParseTag.parseBody(oracle.jsp.parse.JspParseState) void oracle.jsp.parse.OpenJspTagHandler.parseBody(oracle.jsp.parse.JspParseState) void oracle.jsp.parse.JspParseTag.parse(oracle.jsp.parse.JspParseState) void oracle.jsp.parse.OpenJspTagHandler.parse(oracle.jsp.parse.JspParseState) oracle.jsp.parse.JspParseTag oracle.jsp.parse.JspParseTag.parseNextTag(oracle.jsp.parse.JspParseState) void oracle.jsp.parse.JspParseTag.parseBody(oracle.jsp.parse.JspParseState) void oracle.jsp.parse.OpenJspTagHandler.parseBody(oracle.jsp.parse.JspParseState) void oracle.jsp.parse.JspParseTag.parse(oracle.jsp.parse.JspParseState) void oracle.jsp.parse.OpenJspTagHandler.parse(oracle.jsp.parse.JspParseState) oracle.jsp.parse.JspParseTag oracle.jsp.parse.JspParseTag.parseNextTag(oracle.jsp.parse.JspParseState) void oracle.jsp.parse.JspParseTagFile.parse(oracle.jsp.parse.JspParseState) int oracle.jsp.parse.OracleJsp2Java.transform(oracle.jsp.parse.Jsp2JavaParms, java.io.Reader, java.io.Writer, java.io.OutputStream, int) int oracle.jsp.parse.OracleJsp2Java.transform(oracle.jsp.parse.Jsp2JavaParms, java.io.Reader, java.io.Writer, int) oracle.ojc.interfaces.Storage oracle.jdevimpl.webapp.jsp.JspCompiler.translatePage(oracle.ojc.interfaces.S torage, boolean, int, oracle.jdeveloper.compiler.Translator$Log, java.lang.String, java.lang.String) oracle.ojc.interfaces.Storage oracle.jdevimpl.webapp.jsp.JspCompiler.translatePage(oracle.ojc.interfaces.S torage, boolean, int, oracle.jdeveloper.compiler.Translator$Log) int oracle.jdevimpl.webapp.jsp.JspCompiler.translate(java.util.ArrayList, java.util.ArrayList, java.lang.String, java.lang.String, java.lang.String, java.lang.String, oracle.jdeveloper.compiler.Translator$Log, boolean, boolean) int oracle.jdevimpl.webapp.jsp.JspTranslator.translate(oracle.ide.model.Project, boolean, java.util.ArrayList, java.util.ArrayList) void oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildGraph(java. util.ArrayList, oracle.ide.model.Project) void oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProject(ora cle.ide.model.Project, oracle.ide.model.Element[]) void oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildAll() void oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.run() There must be something wrong, possibly with JDeveloper itself. I'm battling this error for a long time, and only now I could see more details because JDeveloper itself only shows Error: java.lang.ExceptionInInitializerError: org.apache.struts.taglib.html.HiddenTag. I know there must be a workaround but I gave up trying to find one. Any light very appreciated... Thanks! Otavio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Bean Bug?
Don't know if this is your problem, but try to put the following in your resources file: org.apache.struts.taglib.bean.format.float=#,###.## Otavio - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, April 30, 2002 6:15 PM Subject: RE: Bean Bug? I'd be interested in how you can use ints for decimal numbers. The right way is to use BIG_DECIMAL, but I have to use the session bean method given me for my bean data. But this still does not address the issue of the bean:write behavior. Mark -Original Message- From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 6:00 PM First Principle of Economics: ever use float or double for money. Use ints. Or, for serious money, longs. 'The real problem is not the output but the whole idea. micael At 05:56 PM 4/30/02 -0400, you wrote: I'm using a simple bean:write name=phone property=price / which grabs a float price from the form bean. The display, however, is unpredictable. For a price of 25.00, e.g., can get returns of 25.00, 25.0 and 25. Anybody else experiencing this behavior? I've had to wrap the bean:write with JavaScript to get the formatting correct. Mark De recta non tolerandum sunt. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Anyone Using Struts with JDeveloper9i and/or BC4J?
Steve, JDeveloper keeps shooting the CPU to 100% on every stroke. Just how I had to kill its javaw process because it simply was not coming back. There should be a way to disable the auto-compile, auto-complete and everything that it tries to run in the background. I am using a 1Ghz/512M machine but it doesn't matter, I lost a lot of time already just trying to type my program! I know you might not be the right person to talk about this, but I couldn't find any way to do it through Oracle. I'd appreciate any feedback on this, and also I wanted to know if anyone out there is experiencing the same problems. Thanks, Otavio - Original Message - From: Steve Muench [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, April 24, 2002 11:25 AM Subject: Anyone Using Struts with JDeveloper9i and/or BC4J? With our JDeveloper 9.0.2 release nearly out the door, we are feverishly working on new features for our next release (9.0.3). One of these areas is making JDeveloper9i an even better environment to model, code, debug, profile, build, source-control, and deploy Struts applications that work with relational databases. A sub-part of this theme is making our Business Components for Java (BC4J) J2EE framework even easier to plug-in as the Model layer of a Struts application. I'm interested in (offlist or onlist) feedback in what troubles or triumphs people have had trying to use JDeveloper9i and/or BC4J with Struts so that we can fold that feedback into our next product version to polish any existing rough edges. Thanks. __ Steve Muench - Developer, Product Mgr, Evangelist, Author Simplify J2EE and EJB Development with BC4J http://otn.oracle.com/products/jdev/htdocs/j2ee_bc4j.html Building Oracle XML Apps, www.oreilly.com/catalog/orxmlapp -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: ExceptionInInitializerError in JDeveloper
Thanks Steve, I'm really glad to see you here in this list. BTW, I liked your book very much and hopefully you'll write another one about BC4J/Struts. Just curious, does this mean Oracle will be embracing Struts as a model for JSP development? Cheers, Otavio - Original Message - From: Steve Muench [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, March 30, 2002 9:29 AM Subject: Re: ExceptionInInitializerError in JDeveloper Ottavio, I've asked our developers working on BC4J/Struts integration for our next point release to investigate on Monday what's causing this. I'll post back to the list when they get back to me with an analysis of what's causing the problem and (hopefully) with a suggestion of a workaround. __ Steve Muench - Developer, Product Mgr, Evangelist, Author Simplify J2EE and EJB Development with BC4J http://otn.oracle.com/products/jdev/htdocs/j2ee_bc4j.html Building Oracle XML Apps, www.oreilly.com/catalog/orxmlapp - Original Message - From: Otavio Decio [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, March 29, 2002 19:07 Subject: Re: ExceptionInInitializerError in JDeveloper | I'm using RC2 as it comes out of the box (or out of the zip). I also emptied | all system CLASSPATH to try to avoid conflicts and still can't compile JSP | when they make references to the Struts tag libraries. | | In RC1 the JVM was clearly jdk1.3 as per the directory installation, | whereas now for RC2 it just says jdk although the timestamps are recent. | Also there are two JspException constructors that Struts utilize that RC2's | servlet.jar doesn't support. I got that when I tried to add the whole Struts | source code to my project instead of using the jars. | | The issue is very easy to repro, just have a small project using Struts and | use the latest builds or the Beta. When you put older versions back | everything works fine. | | Otavio | | - Original Message - | From: Steve Muench [EMAIL PROTECTED] | To: Struts Users Mailing List [EMAIL PROTECTED] | Sent: Friday, March 29, 2002 12:37 PM | Subject: Re: ExceptionInInitializerError in JDeveloper | | | As a tip, if you do run into the problem with RC2, | please let us know what JVM you're using when you | hit the problem in case that's relevant to investigating | the issue. | | __ | Steve Muench - Developer, Product Mgr, Evangelist, Author | Oracle JDeveloper Dev Team | Simplify J2EE and EJB Development with BC4J | http://otn.oracle.com/products/jdev/htdocs/j2ee_bc4j.html | Building Oracle XML Apps, www.oreilly.com/catalog/orxmlapp | - Original Message - | From: Otavio Decio [EMAIL PROTECTED] | To: Struts Users Mailing List [EMAIL PROTECTED] | Sent: Friday, March 29, 2002 18:34 | Subject: Re: ExceptionInInitializerError in JDeveloper | | | | Thanks, at least I know I'm not alone on this. | | | | | | - Original Message - | | From: Honman Lee [EMAIL PROTECTED] | | To: Struts Users Mailing List [EMAIL PROTECTED] | | Sent: Friday, March 29, 2002 12:07 PM | | Subject: RE: ExceptionInInitializerError in JDeveloper | | | | | | I am using JDeveloper too with Struts 1.0.1 and it works fine. But when | I | | upgraded to Struts 1.1 I was receiving the same problem except it was | with | | the InsertTag instead of the EqualTag. I am planning to upgrade to RC2 | | relatively soon so I will let you know if I run into similar issues. | | | | -Original Message- | | From: Otavio Decio [mailto:[EMAIL PROTECTED]] | | Sent: Thursday, March 28, 2002 7:36 PM | | To: Struts Users Mailing List | | Subject: ExceptionInInitializerError in JDeveloper | | | | | | Hi, | | | | I've been using Struts and JDeveloper RC1 for a while without any | problems. | | I just got RC2 and was trying to compile my system and I keep getting | errors | | such as: | | | | Error: java.lang.ExceptionInInitializerError: | | org.apache.struts.taglib.logic.EqualTag | | | | As far as I could see in the javadocs, this means something wrong | happened | | when a static variable was initialized. My suspicion is that this might | have | | to do with the taglib's Resource file, but I'm not sure. | | | | I'd appreciate if anyone has any idea about this issue. | | | | Thanks! | | | | Otavio | | | | | | | | -- | | To unsubscribe, e-mail: | | mailto:[EMAIL PROTECTED] | | For additional commands, e-mail: | | mailto:[EMAIL PROTECTED] | | | | | | -- | | To unsubscribe, e-mail: | | mailto:[EMAIL PROTECTED] | | For additional commands, e-mail: | | mailto:[EMAIL PROTECTED] | | | | | | | | -- | | To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | | For additional commands, e-mail: | mailto
ExceptionInInitializerError in JDeveloper
Hi, I've been using Struts and JDeveloper RC1 for a while without any problems. I just got RC2 and was trying to compile my system and I keep getting errors such as: Error: java.lang.ExceptionInInitializerError: org.apache.struts.taglib.logic.EqualTag As far as I could see in the javadocs, this means something wrong happened when a static variable was initialized. My suspicion is that this might have to do with the taglib's Resource file, but I'm not sure. I'd appreciate if anyone has any idea about this issue. Thanks! Otavio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: ExceptionInInitializerError in JDeveloper
Thanks, at least I know I'm not alone on this. - Original Message - From: Honman Lee [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, March 29, 2002 12:07 PM Subject: RE: ExceptionInInitializerError in JDeveloper I am using JDeveloper too with Struts 1.0.1 and it works fine. But when I upgraded to Struts 1.1 I was receiving the same problem except it was with the InsertTag instead of the EqualTag. I am planning to upgrade to RC2 relatively soon so I will let you know if I run into similar issues. -Original Message- From: Otavio Decio [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 7:36 PM To: Struts Users Mailing List Subject: ExceptionInInitializerError in JDeveloper Hi, I've been using Struts and JDeveloper RC1 for a while without any problems. I just got RC2 and was trying to compile my system and I keep getting errors such as: Error: java.lang.ExceptionInInitializerError: org.apache.struts.taglib.logic.EqualTag As far as I could see in the javadocs, this means something wrong happened when a static variable was initialized. My suspicion is that this might have to do with the taglib's Resource file, but I'm not sure. I'd appreciate if anyone has any idea about this issue. Thanks! Otavio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: ExceptionInInitializerError in JDeveloper
I'm using RC2 as it comes out of the box (or out of the zip). I also emptied all system CLASSPATH to try to avoid conflicts and still can't compile JSP when they make references to the Struts tag libraries. In RC1 the JVM was clearly jdk1.3 as per the directory installation, whereas now for RC2 it just says jdk although the timestamps are recent. Also there are two JspException constructors that Struts utilize that RC2's servlet.jar doesn't support. I got that when I tried to add the whole Struts source code to my project instead of using the jars. The issue is very easy to repro, just have a small project using Struts and use the latest builds or the Beta. When you put older versions back everything works fine. Otavio - Original Message - From: Steve Muench [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, March 29, 2002 12:37 PM Subject: Re: ExceptionInInitializerError in JDeveloper As a tip, if you do run into the problem with RC2, please let us know what JVM you're using when you hit the problem in case that's relevant to investigating the issue. __ Steve Muench - Developer, Product Mgr, Evangelist, Author Oracle JDeveloper Dev Team Simplify J2EE and EJB Development with BC4J http://otn.oracle.com/products/jdev/htdocs/j2ee_bc4j.html Building Oracle XML Apps, www.oreilly.com/catalog/orxmlapp - Original Message - From: Otavio Decio [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, March 29, 2002 18:34 Subject: Re: ExceptionInInitializerError in JDeveloper | Thanks, at least I know I'm not alone on this. | | | - Original Message - | From: Honman Lee [EMAIL PROTECTED] | To: Struts Users Mailing List [EMAIL PROTECTED] | Sent: Friday, March 29, 2002 12:07 PM | Subject: RE: ExceptionInInitializerError in JDeveloper | | | I am using JDeveloper too with Struts 1.0.1 and it works fine. But when I | upgraded to Struts 1.1 I was receiving the same problem except it was with | the InsertTag instead of the EqualTag. I am planning to upgrade to RC2 | relatively soon so I will let you know if I run into similar issues. | | -Original Message- | From: Otavio Decio [mailto:[EMAIL PROTECTED]] | Sent: Thursday, March 28, 2002 7:36 PM | To: Struts Users Mailing List | Subject: ExceptionInInitializerError in JDeveloper | | | Hi, | | I've been using Struts and JDeveloper RC1 for a while without any problems. | I just got RC2 and was trying to compile my system and I keep getting errors | such as: | | Error: java.lang.ExceptionInInitializerError: | org.apache.struts.taglib.logic.EqualTag | | As far as I could see in the javadocs, this means something wrong happened | when a static variable was initialized. My suspicion is that this might have | to do with the taglib's Resource file, but I'm not sure. | | I'd appreciate if anyone has any idea about this issue. | | Thanks! | | Otavio | | | | -- | To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | For additional commands, e-mail: | mailto:[EMAIL PROTECTED] | | | -- | To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | For additional commands, e-mail: | mailto:[EMAIL PROTECTED] | | | | -- | To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] | For additional commands, e-mail: mailto:[EMAIL PROTECTED] | | -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]