Menu
Category

Exceptions

java.lang.UnsupportedOperationException

As the name implies when the requested operation is not supported, we get this error. Below is a sample program to generate this error.   public static void main(String args[]){String st[]={“Hi”,”Hello”,”Bye”};List list=Arrays.asList(st);list.add(“Anand”); //Get error at this line System.out.println(” List: “+list);}    If we run this method, we get the below error because we are trying to add a new element to…

Error: Page template name already used in library

I have created a page template with name “PageTemplate.jspx” in JDeveloper for my application, but I deleted the file later. Again when I tried to create a page template with the same name “PageTemplate.jspx”  in the application then I got the below validation error “Page template name already used in library”.     Even if we delete the file from…

ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.VetoableDeployException)

When I was deploying my ADF application to EAR file from JDeveloper, got the below error. ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.VetoableDeployException) To solve this issue, I have done below steps. Go to application properties (not project properties) Go to deployment Select the deployment profile and click on Edit Go to “Application Assembly” Select…

java.lang.NoClassDefFoundError: oracle/adf/model/RegionBinding

I have deployed ADF application in weblogic but while accessing the app, I got the error. Error 500–Internal Server Error java.lang.NoClassDefFoundError: oracle/adf/model/RegionBinding To solve this, deploy the application as an EAR instead of web application. After done this, I could able to access the app properly without any issues.

Error(1,1): file:< Application path>/Model/src/model/mdssys/mdx/XXXXXX.xml.rdf: XML-20108: (Fatal Error) Start of root element expected

Error: Error(1,1): file:< Application path>/Model/src/model/mdssys/mdx/XXXXXX.xml.rdf: XML-20108: (Fatal Error) Start of root element expected Solution: JDeveloper is expecting some xml content in the file. So put some blank xml tags in that file like below and save the file. <?xml version=”1.0″ encoding=”UTF-8″ ?> <test> </test>

javax.faces.FacesException: oracle.adf.controller.ControllerException: ADFC-10001: cannot instantiate class ‘XXXXXXX’

I have got an exception some thing like, javax.faces.FacesException: oracle.adf.controller.ControllerException: ADFC-10001: cannot instantiate class ‘XXXXXXXXXXXXXXXXXXXXXX’ …………………………………………………………………………….. Caused by: java.lang.IllegalAccessException: Class oracle.adfinternal.controller.beans.ManagedBeanFactory can not access a member of class ‘XXXXXXXXXXXXXXXXXXXXXX’ with modifiers “” Solution:  Check the access modifier of the constructor of your class. The access modifier should be “public”, as the class is being instantiated from out of the package.

Weblogic error: ServletContainerAdapter manager not initialized correctly

I got the above error while deploying the application in Weblogic through JDeveloper. Below are the solutions I have tried to this issue. Shutdown and restart the weblogic If the error still exists, restart the Jdeveloper completely If still it exists, then the workspace of the JDeveloper needs to be changed Create a new workspace folder in the drive Create…

Hi, Welcome here.
JOIN OUR NEWSLETTER
And get notified everytime we publish a new blog post.