?
Solved

Need help with a JDeveloper error message

Posted on 2005-03-25
4
Medium Priority
?
250 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
In this post we will learn different types of Android Layout and some basics of an Android App.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Suggested Courses
Course of the Month12 days, 15 hours left to enroll

777 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