Bug in JSF 1.2 RI using in JDev 11g

Hi,
We have found a bug in the JSF RI version used by JDev 11g TP2:
In com.sun.faces.application.ApplicationImpl.createValidator, a MessageFormat is created using an erroneous pattern : created validator of type ''{0''}. This method is called by oracle.adfinternal.view.faces.util.rich.ConverterValidatorRegistrationUtils.addValidatorById. So, when the logging level is set to FINE, this crashes our application.
FYI, this seems to be corrected in the last version (1.2_06) of the JSF RI.
We tried replacing the jsf-api.jar and jsf-ri.jar files in lib\java\shared\oracle.jsf\1.2 with that new version but we are getting compilation errors in our JSPs.
Before we spend time trying to do that, can you please tell me if that sounds like the right thing to do (or if there is another solution). Also, can you please confirm that the subsequent versions of JDev will include a corrected version of the JSF RI.
Thanks.
Olivier

Hi,
the right place is JDeveloper/jsf-ri for JDeveloper. I'll file a bug
Frank

Similar Messages

  • JSF 1.2 supported in OC4J (JDev 11g)

    Hello Everyone,
    How do you know if your container is supporting jsf 1.2 or not, as am wondering if Embedded OC4J in JDev 11g Technology Preview already supporting JSF 1.2 by default!?

    Hi,
    it does.
    Frank

  • Rwclient is failed to use in jdev 11g + weblogic 10.3.x

    Hi all
    Recently we have migration from jdev 10g / 10g AS to jdev 11g / weblogic 10.3.x. After migration we found the reporting function using rwclient is failed to run.
    We then discovered the report can be run by using url calls rwservlet (http://server/reports/rwservlet?...). Anyone know how rwclient works and how rwclient
    locate reports server instance. Thanks
    The setting in web.xml is
    <servlet>
    <servlet-name>rwservlet</servlet-name>
    <servlet-class>oracle.reports.rwclient.RWClient</servlet-class>
    <load-on-startup>yes</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>rwservlet</servlet-name>
    <url-pattern>/rwservlet*</url-pattern>
    </servlet-mapping>
    PS. we also migrated report server to 11g and running on weblogic.
    Cheers
    Chris
    Edited by: Nexus Chris on Jul 3, 2012 1:40 PM

    Best asked in {forum:id=84}

  • Bug? Unable to add ActionListener using Anonymous class.

    Hi,
    I come accross one strange behaviour while adding ActionListener to RCF component.
    I am trying to add the ActionListener in the managed bean using the Anonymous.
    We can add the actionListener to a button using following methods. I am talking about the the first case. Only this case is not working. Rest other 2 cases are working properly.
    Case 1:
    class MyClass {
         RichCommmandButton btnTest = new RichCommmandButton();
         public MyClass(){
              btnTest.addActionListener(new ActionListener(){
                   public void processAction(ActionEvent event){
    Case 2:
    class MyClass implements ActionListener {
         RichCommmandButton btnTest = new RichCommmandButton();
         public void processAction(ActionEvent event){
    <af:button binding="#{myClassBean.btnTest}" actionListener="#{myClassBean.processAction}"/>
    Case 3:
    class MyClass implements ActionListener {
         RichCommmandButton btnTest = new RichCommmandButton();
         public void addActionLister(){
              //Use EL to add processAction(). Create MethodBinding
              FacesContext facesContext = FacesContext.getCurrentInstance();
    ELContext elContext = facesContext.getELContext();
    ExpressionFactory exprfactory = facesContext.getApplication().getExpressionFactory();
              MethodExpression actionListener =
    exprfactory.createMethodExpression(elContext, "#{myClassBean.processAction}", null, new Class[] { ActionEvent.class });
              btnTest.setActionListener(actionListener);
         public void processAction(ActionEvent event){
    Java has provided good way to use the Anonymous classes while adding the listeners. It should work with the RCF also.
    Some how i found the case 1 usefull, as i can have as many buttons in my screen and i can add the actionListener in one method. Also it is easy to read. I dont have to see the JSPX page to find the associated actionListener method.
    Is it a bug or i am wrong at some point?
    Any sujjestions are welcome.
    - Sujay.

    Hello Sujay,
    As I said in my previous reply, you can try with request scope. In JSF you shouldn't use the binding attribute very often. I agree that anonymous class is nice, but don't forget that you might be dealing with client state saving here so it cannot be perfectly compared with Swing that maintains everything in RAM. What I think happens with you currently is the following:
    1. Bean is created and the button instance as well. The ActionListener is added to the button;
    2. The view is rendered and while it is, the binding attribute is evaluated, resulting in the get method of your bean being called;
    3. Since the method returns something different than null, the button instance created in 1. get used in the component tree;
    4. The tree's state is saved on the client, since your class isn't a StateHolder, nor Serializable, the StateManager doesn't know how to deal with it so it gets discarded from the saved state and maybe from the component itself (would have to debug the render view phase to be sure);
    5. The postback request arrives, the tree is restored. When the handler reaches the button, it call the bean that returns the same instance that was used in the previous tree (since not request scoped), which is BAD because the remaining of the tree is not made of the same object instances, but rather new deserialized ones. The component then gets updated from the client state saved in 4, this might also be where the listener get removed (again debugging would tell you this, but I would tend more with the previous possibility). Note that with a request scoped bean you would have to add the listener during the first get method call (by checking if the component is null) or in the constructor as you're doing right now. It would be a very clean way and you could give the request bean (and thus the listener) access to the conversation scoped bean through injection which is very nice as well.
    6. The invoke application phase occurs and the listener is no longer there.
    Btw, this isn't a rich client issue, more a specification one. I'm curious if it works in a simple JSF RI application, if it does then I guess it would be a bug in Trinidad and/or rich client state handling architecture (using FacesBean).
    Regards,
    ~ Simon

  • Thread bottleneck due to bug in JSF 1.1 : please help

    Hi. We are using JSF 1.1 on a J2EE 1.4 server and have identified a critical a bottleneck because methods of class com.sun.faces.application.ApplicationAssociate are synchronized. This is a bug in JSF 1.1 identified by Sun (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6223295) that has apparently been fixed in JSF 1.2.
    However, JSF 1.2 requires Servlet 2.5 and JSP 2.1support, and our server is only J2EE 1.4 compatible.
    So what can we do ? If you have any ideas, please post.
    Thanks.
    Fabien Coppens

    Actually, I have just tried JSF 1.1_02 and it does seem to solve the thread bottleneck problem. I'll need verification once we get into performance testing, I'll keep you guys posted.

  • [svn] 1978: Bug: vendors. properties file which is used in vendor specific login commands was not being read properly and as a result some login related error messages were not being displayed correctly .

    Revision: 1978
    Author: [email protected]
    Date: 2008-06-06 08:05:34 -0700 (Fri, 06 Jun 2008)
    Log Message:
    Bug: vendors.properties file which is used in vendor specific login commands was not being read properly and as a result some login related error messages were not being displayed correctly.
    QA: Yes - we need automated tests to make sure that errors.properties and vendors.properties in BlazeDS/LCDS are loaded properly.
    Doc: No
    Modified Paths:
    blazeds/branches/3.0.x/modules/common/src/java/flex/messaging/util/PropertyStringResource Loader.java
    blazeds/branches/3.0.x/modules/opt/src/jrun/flex/messaging/security/JRunLoginCommand.java
    blazeds/branches/3.0.x/modules/opt/src/tomcat/flex/messaging/security/TomcatLoginCommand. java

    I have a lot of grief with this version of Windows Media Player.
    It is very buggy and frustrating to use.
    I have my Music library on a QNAP NAS, which is as reliable as they come.
    System notifications make it not save changes.  It also does not do a good job of interpreting albums and artists from folders.  Changes to track names are not saved, nor are tracks moved to other albums, renamed albums, changes to genre, artist
    or date.  It separates and merges albums/tracks without sense or reason.  Some changes I've made up to 4 times, then closed WMP and re-started my machine to check if it has/hasn't saved the changes.  Often it has not.
    This is the first time I've used WMP in this capacity, and I do not recommend it.
    New service pack please.

  • Anyone else notice the bug in the "Blend RGB Colors Using Gamma" feature in Photoshop?

    I think there's a bug in the "Blend RGB Colors Using Gamma" feature in Edit>Color Settings>Advanced Controls. For some reason it doesn't apply to layer styles.

    Ok, here are two images. They both have a text layer with an outer glow (100% opacity pure green, normal blending mode) and a feathered green brush stroke (normal blending mode) over a red background. The first image is in RGB 8 bit (ie non-linear) image color mode. The second image is in RGB 32 bit (ie linear) image color mode. You can see how the 32 bit mode image (second image) has proper blending of the green glow onto the red background in both the text layer style as well as the brush stroke, while the 8-bit image properly blends the brush stroke but fails to blend the layer style using linear gamma (aka 1.0). In both screenshots you can see that PS is set to "Blend RGB Using 1.0 Gamma".
    I'm assuming this is a bug?

  • JDEV 11G TP3 [BUG]: Diagramming / Use Case & Activity  / open save

    I'm not able to open existing use diagram and couldn't save activity diagram after i created them. So UML is not functional in this preview release.
    Is this knowns bugs ?
    Is some workarounds knows ?
    I need these diagrams very soon and would know if i have to create them in a another tools or it is a way to use JDeveloper for them.
    Thank you

    You can find more details in these threads
    http://forums.oracle.com/forums/thread.jspa?threadID=622107
    JDEV 11G TP3 [BUG]: Diagramming / Use Case & Activity  / open save
    I already sent my project files to Shay. I may sent them to you too if needed.
    I suspect the problem may be due by the fact i'm using two workspaces simultanously, both managed with subversion. I already detected in the same configuration that "Select in Navigator" from pl/sql editor doesn't find an edited file (loaded from the offline database navigator) in the offline database navigator because it was searching the same project but in the wrong workspace.

  • My daughters school is linked to the Bug Club, but I can't use it on my iPad, any advice?

    My daughter's school are linked in with The Bug Club, however I can't use this on my iPad.  Does any one have any advice as it would be useful to be able to use this programme to encourage to read.
    Thanks

    They rely on flash-so you can't use it natively.
    A quick search located a page from a school where they recommend using puffin-a third party browser in the App Store.

  • When we use jsf can we also use hibernate or ejb for database visting.

    when we use jsf can we also use hibernate or ejb for database visting.

    http://blog.exadel.com/?p=8
    http://java.sys-con.com/read/46977.htm
    http://www.javaworld.com/javaworld/jw-07-2004/jw-0719-jsf.html
    http://www.jroller.com/page/ksevindik/?anchor=lookup_tables_with_hibernate_and
    Sergey : http://jsfTutorials.net

  • MyFaces Tobago and Jdev 11g TP2 [BUG??]

    Hi I was trying Jdev 11g TP2 and wanted to test the components from MyFaces Tobago, but when I added the Tobago JAR's the design view stop showing the preview of the standard jsf components and show them like unrecognized tags; and I haven't add any tobago component. what am I doing wrong? is it a BUG?
    EDIT:
    The thing same happens with the MyFaces Tomahawk Components. Is there any problems with MyFaces Compnents?

    Hi,
    make sure you use JSF 1.2 versions of the component set because JDeveloper 11 uses JSF 1.2. Beside of this chances are likely that this is an issue in teh current JDev 11 build. There is a TP3 planned for December, Can you verify if the issue reproduces then ?
    Frank

  • Minor display bug in JDev 11g "View Annotation" with Subversion

    Hi all,
    A very minor visual display issue with the "View Annotations" feature of JDev 11g when using a Subversion repository. To reproduce, simply follow these steps:
    1). Open up any source file and right-click in the editor; select Versioning -> View Annotation. The annotations will be shown, and if you right-click again, you will see a check-mark next to the "View Annotation" menu item.
    2). Open another source file. Annotations are not shown. Right-click in the editor; you will see that "View Annotation" menu item displays a check-mark (even though annotations are not shown). Select Versioning -> View Annotation. Annotations are now shown, but you will see the check-mark is no longer displayed.
    To summarize my analysis; it appears that "View Annotation" was intended to be a global setting (as indicated by the check-mark), but is actually implemented on a file-by-file basis. Obviously a very minor display bug not affecting functionality, but a bug nonetheless.
    John

    John,
    I filed a bug
    thanks
    Frank

  • Bug in JDev 11g 11.1.1.0.2

    In the context of the JavaBean XML Model "Overview" editor i JDev 11g 11.1.1.0.2:
    When I add a validator and specify an appropriate text resource for the error message, JDev deletes my carefully authored description comment from the property resource bundle.

    Hi, I am using Oracle supplied HR schema, table EMPLOYEES. I created EO on EMPLOYEES table. All the attributes show correctly as Persistent first.
    Under Default Value section, I selected Radio Button "SQL" and entered valid Sql statement, Hit save button. I moved to next attribute, then I see. The previous attribute for which I entered Sql statement as default value, turned to Transient. But this is a Persistent attribute. It is not allowing me to change it back to Persistent.
    Hope the above steps will help to reproduce the bug in your system.

  • JDev 11G Release2 Critical Bug, is it?

    Hello, Oracle JDev 11G Colleagues
    I think i hit a bug with Release 2 of JDev 11g
    Here is the scenario for the bug (the bug happens when using a popup only)
    1- Created new simple Fusion ADF Application with JDev 11.1.2.0 without business components.
    2- Created a new jspx page.
    3- I put a button and a popup on the page
    4- Added a showPopupBehavior (operation) on the button and linked it with the popup
    5- Up untill now there are no problems when i click the button the popup is showing.
    6- Now added a dialog, PanelGroupLayout and an input text or an output text inside the PanelGroupLayout.
    7- Added a PopupFetchListener Method on a bean to modify the input text before showing the popup.
    8- Binded the Input or output text to the bean.
    9- Now when i run the application and click the button to show the popup i get (java.lang.NullPointerException) with the code ADF_FACES-60097.
    (it seems like the bean can't see the inputtext which is bounded to it)
    10- FYI, tried exactly the same steps with JDev 11G R1 (11.1.1.4) and it is working with no problems.
    here is the sample application Download
    Error Log:
    <RegistrationConfigurator> <handleError> ADF_FACES-60096:حدث استثناء بالخادم أثناء تصيير جزئي لصفحة PPR, رقم 1
    javax.el.ELException: java.lang.NullPointerException
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1579)
         at oracle.adf.view.rich.component.rich.RichPopup.broadcast(RichPopup.java:715)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1129)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:397)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:121)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
         at view.popupClass.myPopupFetch(popupClass.java:32)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         ... 44 more

    Forget it,, i solved the problem.
    Which i think is a bug,, it was something i haven't even thought to look at, because i never faced such problem.
    The bug is : Here is what i noticed and i think should be, in all Jdeveloper in general in all releases
    the properties of all the UI Components are set to their defaults ,, well guess what only in Jdev R2
    the popup when placed in a page its properties are all set to default except two properties:
    1- ChildCreation - is set to deferred, which is not the default value which is (<default> (immediate)) --- this property is the cause of the error.*
    2- AuotoCancel - s set to disabled, but the default value is (<default> (enabled)) --- this just a note.*
    Now after setting the ChildCreation property to its default (which it always was in all previous releases) i can modify the content of the popup even before displaying it to the user (Just like before ^_^)

  • Implementing shortcut keys ion JSF pages Jdev 11g

    How we can implement shortcut keys ion JSF pages Jdev 11g ?
    We are doing a Oracle Forms to Java migration and our users are getting use to use function keys.
    how we can map a commit action on the form to "CTRL + F7 key" (for example)
    Thanks.

    Hi,
    This is not possible directly. With JSF technology you are limited with browser capabilities which are HTML + Javascript. So you cannot communicate directly with i.e. commit function only with i.e. HTML form action or AJAX based javascript function...
    regards,
    Branislav

Maybe you are looking for