?
Solved

Need help with a JDeveloper error message

Posted on 2005-03-25
4
Medium Priority
?
253 Views
Last Modified: 2010-03-31
Environment: Java JDK 1.4.2.0.5, Oracle Client 9i, JDeveloper 10g (latest)

Experts - Our shop is starting to work with Oracle JDeveloper.  I have installed the latest version (10g) onto my PC.  I downloaded a sample program for Java/J2EE and UIX from the OTN website.  I imported the project into JDeveloper.  

Everything works great until I double-click on a .UIX file and try and edit it (i.e. work with it).  As soon as I do this I get the following error (below).  From then on any GUI control that I click on in the UIX displays this same error (over and over).  This same thing happens with all of the .UIX files in the project.

java.lang.NullPointerException
      at oracle.adf.dt.datacontrols.JUDTBC4JDataControl.getApplicationModuleName(JUDTBC4JDataControl.java:199)
      at oracle.adf.dt.controls.treemodel.bc4j.BC4JDataControlTreeNode.<init>(BC4JDataControlTreeNode.java:56)
      at oracle.adf.dt.datacontrols.JUDTBC4JDataControl.createDataControlTreeNode(JUDTBC4JDataControl.java:121)
      at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.addSessionContentsToTree(DataControlsTreeModel.java:99)
      at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:57)
      at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:35)
      at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:30)
      at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:25)
      at oracle.adf.dt.controls.DataControlsTree.createDataControlsTreeModel(DataControlsTree.java:98)
      at oracle.adf.dt.controls.ModelCreator.run(DataControlsTree.java:124)
        ...

I had a co-worker (with the exact same setup as mine - in theory anyway) install the same sample application and it works fine for her so it's not the sample app code.  Has anyone run into this problem, or can anyone shed some light on this error message?  

Thanks in advance!
0
Comment
Question by:mbeede
2 Comments
 

Author Comment

by:mbeede
ID: 13631506
Additonal information: I just discovered that this error also displays when I double-click (i.e. try to edit) struts-config.xml file as well.  Again, I am thinking that this is a jar or path type problem - i.e. JDeveloper can't find something it needs to resolve this.  But I cannot seem to find anything on the JUDTBC4DataControl via Google, or other sources.

Any help would be most appreciated.

Thanks!
0
 
LVL 2

Accepted Solution

by:
arnon81 earned 2000 total points
ID: 13633094
hmm
maybe a classpath problem
c:\>set classpath=.
and then try again
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Suggested Courses
Course of the Month3 days, 12 hours left to enroll

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question