Friday, July 9, 2010

If you're seeing StringIndexOutOfBoundsException in org.apache.myfaces.trinidadinternal.style.util.CSSGenerationUtils ...

... then, as explicitly noted on JDeveloper 11g PS2 Release Notes, what you're seeing is a JDK regression bug, namely, 6875866. To workaround it you need to use the -XX:-UseSS42Intrinsics option on two places:

1. Project Properties -> Run/Debug/Profile -> Default (or whatever is your Run Configuration name) -> Edit... -> Java Options -> enter -XX:-UseSSE42Intrinsics in the text box.
2. Edit to your <JDEV_HOME>/jdev/bin/jdev.conf  and add this line:  AddVMOption -XX:-UseSS42Intrinsics

Note that the Release Notes only talk about adding the option to WLS's runtime settings, but you also need it for design time as ADF Faces is being called behind the scenes to render the JSPX files in the IDE. I also recommend to turn on the "Show Design Time Messages in Log" option so you can see any error messages being raised by the JSP/HTML Visual Editor. Go to Preferences -> JSP and HTML Visual Editor panel to turn it on.

6 comments:

  1. There is a great blog about Oracle ADF and thanks for sharing about Oracle ADF information. We are providing online training classes OracleADFonlinetraining

    ReplyDelete
  2. You may now reveal to yourself that perusing a weight reduction quick article is an aggregate exercise in futility. I say simply ahead and read the article, you may get some great tips. Give me a chance to reveal to you how to put a weight reduction article's recommendation to great use.

    https://ideal-shops.com/

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Visit indonesia to See live MotoGP race or Live Streaming MotoGP Today in Mandalika, Indonesia.

    ReplyDelete
  5. Karim Benzema Wallpaper 2022, before match Real Madrid vs Manchester City.

    ReplyDelete