Extend a custom class

could someone please enlighten me....
I need to have JAXB generated Impl class to extend a class that I have created.
something in the line of....I will run the schema through xjc....but some of the classes will have lets...say "Message" as their parent class.
thanks
-manish

thanks for the reply..i finally found that vendor extension section.
I am using an external binding file and have this in there.
<jxb:globalBindings fixedAttributeAsConstantProperty="true"
     collectionType="java.util.Vector"
typesafeEnumBase="xs:NCName"
     choiceContentProperty="false"
     typesafeEnumMemberName="generateError"
     bindingStyle="elementBinding"
     enableFailFastCheck="false"
     generateIsSetMethod="true"
     underscoreBinding="asCharInWord">
     <xjc:superClass name="com.wellsfargo.mortgage.mo.cbo.Message"/>
</jxb:globalBindings>
i do xjc -extension.......
but nothing seems to happen.....i checked the impl classes.but nadda.
http://java.sun.com/webservices/docs/1.1/jaxb-1.0/vendor.html..says that it complains if you dontuse -extension....but its just doesnt make any diff....
any ideas whats going on..
thanks again

Similar Messages

  • Change UIComponent to extend a custome class?

    hello,
    I was hoping to shed some light of extending core classes. I
    added some properties in FlexSprite.as, in a custom class called
    ModFlexSprite.as, and had the core UIComponent extend
    ModFlexSprite.as. However, these properties cannot be accessed vis
    the ItemListRenderer (which extends UIComponent->which extends
    FlexSprite).
    I realized that it's because of this code in the ListBase
    class:
    protected function moveRowVertically(i:int, numCols:int,
    moveBlockDistance:Number):void
    var r:IListItemRenderer;
    for (var j:int = 0; j < numCols; j++)
    r = listItems
    [j];
    r.move(r.x, r.y + moveBlockDistance);
    rowInfo.y += moveBlockDistance;
    i wanted to add properties to the var listItems via the new
    ModFlexSprite. so if i try to use my new ModFlexSprite properties,
    flex throws an error, saying 'undefined property'. Now, as you see,
    the var r casts as a IListItemRenderer, which is an interface, that
    never touches ModFlexSprite. Does this mean i have to create a
    custom Interface as well and implement it in the IListItemRenderer
    for my ModFlexSprite properties to work?
    thank you in advance! -brandon

    i didn't change the code in the FlexSprite class. Rather I
    created a class called ModFlexSprite that extended the FlexSprite
    class, and in UIComponent.as i changed the class to extend
    ModFlexSprite instead of FlexSprite. How would I recompile the
    entire flex framework in flex 3?
    What I want to ultimately do is to create a list that has a
    tweened scrolling effect. I thought the first step would be to
    extend the List class and override the moveRowVertically method
    (from ListBase.as, see first post in thread) and change the line:
    r.move(r.x, r.y + moveBlockDistance);
    to:
    TweenMax.to(r,1,{y:r.y}); //using TweenMax Class
    This works as expected when you click the scroll arrow and
    wait for the tween to finish, then click the arrow again. But if
    you scroll the thumb or click the scroll arrow before the tween
    ends, then unexpected tween issues occur.
    You
    can see the example here. this is because the r.y value is
    being calculated in a number of places in the ListBase class-
    before the tween is finished, and moving the listItem(s) into
    unexpected y positions.
    So, to fix that issue, i wanted to extend FlexSprite so that
    in the get y method, it would check to see if an "end_y" property
    was set first, and return the end_y value instead of the y value:
    //in ModFlexSprite:
    override public function get y():Number{
    return = (end_y)? end_y : _y;
    So then i could do something like this:
    r.end_y = r.y + moveBlockDistance;
    TweenMax.to(r,1,{y:r.y, onComplete:r.remove_end_y})
    the r.remove_end_y method would remove the end_y value when
    the tween completes. This should take care of the scrolling of
    items that are already on screen.
    I haven't figured out a way to animate the ListItems that are
    added to the list (as you can see in the example in the link above,
    the ones that "appear" if you click the scroll arrow). If you have
    any suggestions i would be greatful! Thank you. -b

  • Extending custom class

    I made the transition to AS3 two years ago, but I still carry with me old AS2 habits. Could someone please help me understand how I extend a custom class correctly.
    I have the bad habit of putting most of my code in one .as file (the Document class), but I use a few custom classes now and then. What I'm tring to figure out is how I would extend a class of this type:
    public class ClipDragger {
         private var _clip:MovieClip;
         public function ClipDragger(clip:MovieClip) {
              _clip = clip;
              _clip.buttonMode = true;
              _clip.addEventListener(MouseEvent.MOUSE_DOWN, drag);
              _clip.stage.addEventListener(MouseEvent.MOUSE_UP, drop);
         private function drag(event:MouseEvent) {
              _clip.parent.setChildIndex(_clip, _clip.parent.numChildren - 1);
              _clip.startDrag();
         private function drop(event:MouseEvent) {
              _clip.stopDrag();
    For example I would like to add a MOUSE_MOVE listener, and also add actions to the drag function.
    Could someone please guide me in the right direction?

    package{
    import flash.display.MovieClip
    public class ClipDraggerExtension extends ClipDragger{
    private var _clip:MovieClip
    public function ClipDraggerExtension(clip:MovieClip){
    super(clip);
    _clip=clip;
    //add whatever.
    //override whatever

  • Use of deployment classpath or shared-libraries to pick-up "custom" classes

    Hi,
    I’m trying to determine an approach to dealing with how classes are found in a deployed ADF application via classpath, etc. I’ve tried to explain the situation below as best I can so it’s clear. If you have any comments/suggestions as to how this could be done, it would be much appreciated
    Current Application structure:
    Consists of an application initially deployed to OC4J 10.1.3.4 using an alesco-wss.ear file
    Application contains a single Web Module, initially deployed as wss.war file within the alesco-wss.ear file above.
    The Web Module (wss) was built in JDeveloper 10.1.3.4 using 2 projects, a Model and ViewController project, and uses ADFBC.
    The Model project seems to also generate an alesco-model.jar file in the /WEB-INF/lib/ folder, even though Model classes are in the /WEB-INF/classes/ folder below?
    Exploded structure of application on application server looks something like:
    applications/alesco-wss/META-INF/
    /application.xml <- specifies settings for the Application such as Web Module settings
    /wss/
    /app/ <- directory containing application .jspx pages protected by security
    /images/ <- directory containing application images
    /infrastructure/ <- directory containing .jspx files for login, logout and error reduced security
    /skins/ <- directory containing Skin image, CSS and other files
    /WEB-INF/
    /classes/ <- directory containing application runtime class files as per package sub-directories
    /lib/ <- JAR files used by application (could move some to shared-libaries?) – seems to contain alesco-model.jar
    /regions/ <- directory containing .jspx pages used for Regions within JSPX template page
    /templates/ <- directory containing template .jspx pages used for development (not really required for deployment)
    /adf-faces-config.xml
    /adf-faces-skins.xml
    /faces-config.xml
    /faces-config-backing.xml
    /faces-config-nav.xml
    /region-metadata.xml
    /web.xml
    testpage.jspx <- Publicly accessible page just to test
    The application runs successfully using the above deployment structure.
    We plan to use the exploded deployment structure so that updates to pages, etc. can be applied individually rather than requiring construction and re-deployment of complete .EAR or .JAR files.
    What I’m trying to determine/establish is whether there is a mechanism to cater for a customisation of a class, where such a class would be used instead of the original class, perhaps using a classpath mechanism or shared library?
    For example, say there is a class “talent2.alesco.model.libraries.ModelUtil.class”, this would in the above structure be found under:
    applications/alesco-wss/META-INF/classes/talent2/alesco/model/libraries/ModelUtil.class
    Classes using the above class would import “talent2.alesco.model.libraries.ModelUtil”, so they effectively use that full-reference to the class (talent2.alesco.model.libraries as a path, either expanded or within a JAR).
    From the Oracle Containers for J2EE Developer’s Guide 10.1.3 page 3-17, it lists the following:
    Table 3–1 Configuration Options Affecting Class Visibility
    Classloader Configuration Option
    Configured shared library <code-source> in server.xml
    <import-shared-library> in server.xml
    app-name.root <import-shared-library> in orion-application.xml
    <library> jars/directories in orion-application.xml
    <ejb> JARs in orion-application.xml
    RAR file: all JARs at the root.
    RAR file: <native-library> directory paths.
    Manifest Class-Path of above JARs
    app-name.web.web-mod-name WAR file: Manifest Class-Path
    WAR file: WEB-INF/classes
    WAR file: WEB-INF/lib/ all JARs
    <classpath> jars/directories in orion-web.xml
    Manifest Class-Path of above jars.
    search-local-classes-first attribute in orion-web.xml
    Shared libraries are inherited from the app root.
    We have reasons why we prefer not to use .JAR files for these “non-standard” or “replaced” classes, so prefer an option that doesn’t involve creating a .JAR file.
    Our ideal solution would be to have such classes placed in an alternate directory that is referred to in a classpath such that IF a class exists in that location, it will be used instead of the one in the WEB-INF/classes/ directories, and if not such class is found it would then locate it in the WEB-INF/classes/ directories.
    - Can a classpath be set to look for such classes in a directory?
    - Do the classes have to replicate the original package directory structure within that directory (<dir>/talent2/alesco/model/libraries)?
    - If the class were put in such a directory, without replicating the original package directory structure, I assume the referencing “import” statements would not locate it correctly.
    - Is the classpath mechanism “clever” enough to search the package directory structure to locate the class (i.e. just points to <dir>)?
    - Or would the classpath mechanism require each individual path replicating the package structure to be added (i.e. <dir>/talent2/alesco/model/libraries/ and any other such package path)?
    If we are “forced” to resort to the use of JAR files, does a JAR file used for the purpose of overwrite/extending a sub-set of classes in the original location need to contain ALL related package classes? Or does it effectively “superset” classes it finds in all JAR files, etc. in the whole classpath? That is, it finds talent2.alesco.model.libraries.ModelUtil in the custom.jar file and happily goes on to get the remainder of talent2.alesco.model.libraries classes in the other core JAR/location. Or does it need all of them to be in the first JAR file for that package?
    Any help would be appreciated to understand how these various class visibility mechanisms could be used to achieve what is required would be appreciated.
    Gene

    So, nobody's had any experience with deploying an ADF application, and providing a means for a client to place custom classes in such a way as they're used in preference to the standard application class, effectively to implement a customised class without overwriting the original "standard" class?
    Gene

  • How to register mouselistener for custom class?

    i m trying to create a custom class (extending java.awt.Rectangle)which responds to mouse gestures.
    i m using it as an object on my drawpad which responds to mouse behavior
    like rollover.
    the rollover color change is achieved using canvas' graphics object triggerd by my cutom class
    i m not able to register a mouseevent for the custom class.
    can someone help me in achieving this?
    thanks in advance
    z_idane

    Something like this? Don't think I'd be likely to extend Rectangle, myself, but anyway...
    public class HotSpot extends Rectangle implements MouseMotionListener
        private boolean hover = false;
        // add constructors to taste
        public void mouseMoved(MouseEvent e)
            if (this.hover != (contains(e.getX(), e.getY())
                this.hover = ! this.hover;
                if (this.hover)
                    // "mouse enter" code here
                else
                    // "mouse exit" code here
        public void mouseDragged(MouseEvent e)
    }Obviously you'd need something like this elsewhere,
    myDrawingPad.addMouseMotionListener(new HotSpot(...));

  • How to access MC's textfield created in a custom class?

    I have a custom class which creates a new MC using a library MC. The  library MC contains a dynamic textfield called productName.
    The custom class object gets created fine and is displaying on the  stage. It's also holding custom properties I set as well.
    How do I control the dynamic textfield inside the MC, which is inside  the custom class object?
    My Product.as:
    package {
         import flash.display.MovieClip;
         public class Product extends MovieClip {
             public var prodName:String;
             public var prodCategory:String;
             public var prodQuality:String;
             public function Product():void {
                 var productMC:MovieClip = new cellMC();
                 addChild(productMC);
    My .FLA first frame:
    var myProd1:Product = new Product();
    myProd1.prodCategory = "Heaters";
    myProd1.x = 150;
    myProd1.y = 140;
    addChild(myProd1);
    // THE FOLLOWING DOES NOT WORK
    myProd1.productMC.productName.text = "ABC 123";
    I figure something like this would work, but with lots of variations, still nothing works
    I get errors telling me it can't find productMC.
    UPDATE:
    Using GetByChildName it seems I can access productMC. For example this works:
    myProd1.getChildByName("productMC").visible = false;
    But this does not work:
    myProd1.getChildByName("productMC").getChildByName("productName").text = "dgdhdhdhrgh";
    If I take the textfield out of the library MC, and create it in the class, then this works:
    myProd1.getChildByName("productName").visible = false;
    BUT this does not work:
    myProd1.getChildByName("productName").text = "sdgsgdfsg";

    Hi Otto,
    If I well understood your situation, the solution  might be quite simple.
    Since your Product class is a  MovieClip (and not a Sprite), you could solve your problem many ways  knowing that a MovieClip is a dynamic class.
    But first,  the thing is that you created your productMC object on the fly inside  your Product class.
    So either you correct it like this:
    package {
         import  flash.display.MovieClip;
         public class  Product extends MovieClip {
             public var  prodName:String;
             public var prodCategory:String;
              public var prodQuality:String;
             public var productMC:MovieClip; // *****
             public function  Product():void {
                 productMC = new  cellMC(); // *********
                 addChild(productMC);
    Or use this cheap trick (a MovieClip is a dynamic class):
    package {
         import  flash.display.MovieClip;
         public class  Product extends MovieClip {
             public var  prodName:String;
             public var prodCategory:String;
              public var prodQuality:String;
             public function  Product():void {
                 var productMC:MovieClip = new  cellMC();
                 this.productMC = productMC; // **************
                 addChild(productMC);
    Although it is possible that, for this one, you need to reforce the dynamic property:
    package {
         import  flash.display.MovieClip;
         dynamic public class  Product extends MovieClip {
    I am not sure, but anyway, you will see for yourself.
    Plus, you try to change text to a MovieClip object? Either there is already a TextField in you cellMC object and you are not targeting it, or productMC should be instanciated as a TextField and not a MovieClip. I think you know the answer to that.
    Design Cyboïde
    Designer web Montreal

  • Putting Loader in a custom class: events, returning to main ... asynch challenges

    I'm creating a custom class to retrieve some data using URLoader.
    My code is below, doing this from memory, plz ignore any minor typos.
    The challenge I'm encountering: when my custom class calls the loader, the event handler takes over.  At which point the context of my code leaves the function and it's not clear to me how I then return the data retrieved by the loader.  I sense that I'm breaking the rules of how ActionScript really runs by putting a loader in a separate class; at least, that's my primitive understanding based upon the reading I've done on this.
    So can I do this?  I am trying to create a clean separation of concerns in my program so that my main program doesn't get clogged up with code concerned with retrieving remote data.
    Thanks!
    Main program;
    import bethesda.myLoader;
    var ldr:myLoader = new myLoader;
    var data:String = myLoader.getData("someurl");
    My custom class:
    package bethesda {
         public class myLoader {
              function myLoader(url:String):String {
                   var loader:URLLoader = new URLLoader();
                   var request:URLRequest = new URLRequest(url);
                   loader.addEventListener(Event.COMPLETE, completeHandler);
         function completeHandler(event:Event):void {
              var ld:URLLoader = new URLLoader(event.target);
              data = loader.load(); // here's where I don't know what to do to get the data back to my main program

    I think you are on the right track in abstracting loading from other code.
    Your class may be like that:
    package 
         import flash.events.Event;
         import flash.events.EventDispatcher;
         import flash.net.URLLoader;
         import flash.net.URLRequest;
         public class myLoader extends EventDispatcher
              // declare varaibles in the header
              private var loader:URLLoader;
              private var url:String;
              public function myLoader(url:String)
                  this.url = url;
              public function load():void {
                  var loader:URLLoader = new URLLoader();
                  var request:URLRequest = new URLRequest(url);
                  loader.addEventListener(Event.COMPLETE, completeHandler);
                  loader.load(request);
              private function completeHandler(e:Event):void
                  dispatchEvent(new Event(Event.COMPLETE));
              public function get data():*{
                  return loader.data;
    Although, perhaps the best thing to do would be to make this class extend URLLoader. With the example above you can use the class as following:
    import bethesda.myLoader;
    import flash.events.Event;
    var ldr:myLoader = new myLoader("someurl");
    ldr.addEventListener(Event.COMPLETE, onLoadComplete);
    ldr.load();
    function onLoadComplete(e:Event):void {
         var data:String = ldr.data;

  • Attached files to custom class don't show in console

    Hello, everyone,
    I've created a custom class that inherits from Service Requests.  The class basically includes a custom form and the properties associated with it.
    The request offering that references this class has a couple file attachment prompts.  They are optional.  When a new request is created from the portal and the user attaches a document, it does not show up in the "related items" tab
    of the request.  If the user attaches a file AFTER the request has been created, the file attaches just fine.  File attachments from standard service requests work just fine.
    Anyone have any idea why that is?

    I noticed something interesting in relation to this.  I'm not sure if it matters or not, so I'm including it here.
    The base SR has been extended with some additional classes/form customizations for my analysts to use.  If I look in the management pack for it, in the type projections I see this:
    <Component Path="$Context/Path[Relationship='Alias_2e98cc55_9f36_445f_bddf_2d1f61da0b71!System.WorkItemRelatesToWorkItem' SeedRole='Target']$" Alias="RelatedWorkItemSource">
                <Component Path="$Context/Path[Relationship='Alias_2e98cc55_9f36_445f_bddf_2d1f61da0b71!System.WorkItemAssignedToUser']$" Alias="RelatedWorkItemAssignedTo" />
              </Component>
    The alias is this:
    <Reference Alias="Alias_2e98cc55_9f36_445f_bddf_2d1f61da0b71">
            <ID>System.WorkItem.Library</ID>
            <Version>7.5.1561.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
    These same reference aliases are present in the inherited management pack as well, the one I'm having problems with.  
    Again, I don't know if that's relevant or not, but I thought it might be, so I included it.

  • Sqlite, moving sqlstatements to a custom class

    I'm working on a FB AIR app.
    I have a main.mxml file with a source to a main.as file.
    My main.as file is getting very bloated with sqlstatements. I want to move these to a custom class, but I don't know how to proceed.
    I found an example of a package on this page: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/data/SQLConnectio n.html#begin()
    about a 3rd of the way down.
    The example above is exactly what I want to do, but I don't know how to adapt this for use in my main.as file beyond importing the class and instantiating it. How do I assign my values to the class file? How do I use the class to load up the dataProvider, etc...
    Also, in the example above the class extends Sprite. This sounds like it's meant for a Flash application. Would I still extend Sprite in Flex 4? I have done a couple of simple events, passing data back to the main app with the Flash.Events.Event, so the use of Sprite causes some confusion.
    In a previous post, Amy suggested using Robotlegs. I think I need to get a handle on using Flex before I explore other architectures. I'm just not that sophisticated yet.
    Thanks
    Kristin

    ok, a quick example
    make a new package called utilities and then a new actionscript class called DatabaseManager
    package utilities
         import flash.data.SQLConnection;
         import flash.data.SQLResult;
         import flash.data.SQLStatement;
         import flash.filesystem.File;
         import mx.collections.ArrayCollection;
         public class DatabaseManager
              private var sqlConnection:SQLConnection;
              private var stm:SQLStatement;
              public function DatabaseManager()
                   //connect to database
                   sqlConnection = new SQLConnection();
                   sqlConnection.open(File.applicationStorageDirectory.resolvePath("whatever"));
                   //create tables if not exist
                   stm = new SQLStatement();
                   stm.sqlConnection = sqlConnection;
                   stm.text = "create your table here";
                   stm.execute();
                   //create more tables
              public function getThings():ArrayCollection
                   stm = new SQLStatement();
                   stm.sqlConnection = sqlConnection;
                   stm.text = "your query";
              public function addStuff(stuff:Object):int
    then in your main file you need to import
    import utilities.DatabaseManager;
    instantiate the class, this connects and creates tables
    private var myDB:DatabaseManager = new DatabaseManager();
    then to use it
    var listFromDatabase:ArrayCollection = myDB.getThings();
    insertid = myDB.addStuff(thingToAdd);
    hope that gives you an idea 

  • Importing a Custom Class

    Hi everyone...
    I'm working on one final part of a Flash piece that's ended being quite a bear for me. So looking forward to wrapping it up! I'm a big-time newbie. This has been an amazing learning experience but boy it has made my brain hurt!
    The final issue I'm having invloves importing a custom class that calls a custom application. It's a class/application that I downloaded and am trying to apply to my project. It is an application that adds transform handles around targeted objects.
    I'm importing the class as I think I am supposed to but it doesn't work. There aren't any erros but it simply doesn't work.
    Here's how I'm doing it...
    My .FLA, FloorPlan.FLA, is located in my root folder along with the class file, ApplicationMain.as.
    ApplicationMain.as has an import that imports the application called TransformTool.as. TransformTool.as is located in the root as well.
    So in scenen 1 on frame 1 of FloorPlan.FLA I have an import written like so...
    import ApplicationMain;
    In the file ApplicationMain.as I have an import to grab the file TransformTool.as that is written like so...
    package  {
        import flash.display.MovieClip;
        import flash.geom.Rectangle;
        import flash.events.MouseEvent;
        import TransformTool;
        public class ApplicationMain extends MovieClip
            private var _transformTool;
            public function ApplicationMain ()
                _transformTool = new TransformTool();           
                _transformTool.mode = TransformTool.ROTATE;
                _transformTool.iconScale = new HandleHintScale();         
                _transformTool.iconRotate = new HandleHintRotate();
                // _transformTool.boundaries = new Rectangle(50, 50, 475, 260);
                addChild(_transformTool);
            // register targets //   
                _transformTool.targets = [content_MC.e1, content_MC.e2, content_MC.e3, content_MC.e4, content_MC.f1, content_MC.f2, content_MC.f3, content_MC.f4, content_MC.f5, content_MC.f6, content_MC.f7, content_MC.f8];
                _transformTool.activeTarget = content_MC.f8;
            // register radio buttons //   
                  // radio1.addEventListener(MouseEvent.CLICK, changeToolMode);
              //  radio2.addEventListener(MouseEvent.CLICK, changeToolMode);             
            private function changeToolMode(evt:MouseEvent):void
                _transformTool.mode = evt.currentTarget.label.toLowerCase();
    Everything but this class/application is working just fine. It doesn't cause any erros and make other items not function. It simply isn't working. And I had it working at the very beginning of the project so I know its not the class/application files causing the problem; other than possible path issues.
    I'm stumped, yet again! 
    Thanks in advance for your help!

    HandleHintScale and HandleHintRotate are movie clips in the library of the .fla

  • Creating event dispatching in custom class

    I have been trying to create an event dispatcher in a custom
    data transfer object class. It's a simple class and I don't know
    how to make it dispatch an event. I tried extending the
    EventDispatcher class but that doesn't appear to work either. Any
    help would be greatly appreciated.

    I have attached the code for the application and the custom
    class. This should work from what I have read, but I can not get
    the application to catch the event.
    APPLICATION
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="initThis()" layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    private var _tester:TestClass = new TestClass();
    private function initThis():void{
    addEventListener(TestClass.TEST_ACTION, onTestHandler);
    private function onTestHandler(event:Event):void{
    Alert.show("Event Dispatched");
    ]]>
    </mx:Script>
    <mx:Button x="312" y="150" label="Button"
    click="{_tester.testEvents()}"/>
    </mx:Application>
    CLASS
    package
    import flash.events.EventDispatcher;
    import flash.events.Event;
    public class TestClass extends EventDispatcher
    public static const TEST_ACTION:String = "test";
    public function testEvents():void{
    dispatchEvent(new Event(TestClass.TEST_ACTION));
    }

  • Can we extend the Throwable class instead of Exception Class??

    Hi all..
    Can we extend the Throwable class instead of Exception Class while creating our own custom Exception?If not Why?
    Please give your valuble advices..
    Ramesh.

    I don't want to hijack the thread here, but in a conversational tone...on a related note.. I've thought about this too a bit and wondered if there are some recommended practices about catching and handling Throwable in certain applications. Like the other day I was debugging a web application that was triggering a 500. The only way I could find the problem in an error stack was to write code to catch Throwable, log the stack, and then re-throw it. I considered it "debug" code, and once I solved the problem I took the code out because, my understanding is, we don't want to be handling runtime problems... or do we? Should I have a catch clause for Throwable in my servlet and then pass the message to ServletException?
    So along with the OP question, are there separate defined occasions when we should or should not handle Throwable? Or does it just all depend on circumstance?

  • JBO-26022: Custom class ViewDefImpl cannot be found

    hi am not able to start my application amgeting this error,am in jdeveloper 11.1.1.6.0
    Caused by: java.lang.ClassNotFoundException: model.View.UamUserdetailsViewDefImpl
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:34)
         at oracle.jbo.common.JBOClass.forName(JBOClass.java:174)
         at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:210)
         ... 167 more
    ## Detail 0 ##
    java.lang.ClassNotFoundException: model.View.UamUserdetailsViewDefImpl
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:34)
         at oracle.jbo.common.JBOClass.forName(JBOClass.java:174)
         at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:210)
         at oracle.jbo.server.ViewDefImpl.createViewDef(ViewDefImpl.java:3859)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3944)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3894)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:554)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:1232)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:603)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:523)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:505)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:780)
         at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:845)
         at oracle.jbo.server.AMViewUsage.createViewObject(AMViewUsage.java:112)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:660)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:921)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:493)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:87)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:158)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:73)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2913)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2473)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)
         at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:484)
         at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)
         at oracle.adf.model.BindingContext.put(BindingContext.java:1340)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:174)
         at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1056)
         at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1566)
         at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1438)
         at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1398)
         at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1189)
         at oracle.adf.model.BindingContext.get(BindingContext.java:1139)
         at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)
         at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
         at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2713)
         at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2761)
         at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:304)
         at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1458)
         at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1588)
         at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2472)
         at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2416)
         at oracle.adf.model.binding.DCIteratorBinding.getApplicationModule(DCIteratorBinding.java:3853)
         at oracle.jbo.uicli.binding.JUIteratorBinding.getApplicationModule(JUIteratorBinding.java:404)
         at oracle.adf.model.binding.DCIteratorBinding.getViewObject(DCIteratorBinding.java:1375)
         at oracle.adf.model.binding.DCIteratorBinding.getViewObject(DCIteratorBinding.java:1360)
         at oracle.jbo.uicli.binding.JUSearchBindingCustomizer.getViewCriteria(JUSearchBindingCustomizer.java:2151)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding._getCurrentViewCriteria(FacesCtrlSearchBinding.java:3949)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.access$1600(FacesCtrlSearchBinding.java:115)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryModelImpl._performOneTimeActions(FacesCtrlSearchBinding.java:1981)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryModelImpl.<init>(FacesCtrlSearchBinding.java:1532)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.getQueryModel(FacesCtrlSearchBinding.java:344)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.internalGet(FacesCtrlSearchBinding.java:3738)
         at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
         at javax.el.MapELResolver.getValue(MapELResolver.java:164)
         at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
         at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
         at com.sun.el.parser.AstValue.getValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
         at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.getProperty(UIXComponentBase.java:1194)
         at oracle.adf.view.rich.component.UIXQuery.getModel(UIXQuery.java:468)
         at oracle.adf.view.rich.component.UIXQuery._setupAndStoreContextInRequest(UIXQuery.java:276)
         at oracle.adf.view.rich.component.UIXQuery.encodeBegin(UIXQuery.java:201)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:928)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderChildrenAfterHelpAndInfo(PanelHeaderRenderer.java:542)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer._renderContentCell(PanelHeaderRenderer.java:1066)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderContentRow(PanelHeaderRenderer.java:490)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.encodeAll(PanelHeaderRenderer.java:231)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:682)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:601)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer._encodeChildren(RegionRenderer.java:278)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer.encodeAll(RegionRenderer.java:201)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at oracle.adf.view.rich.component.fragment.UIXRegion.encodeEnd(UIXRegion.java:300)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1324)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         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.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         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:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         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:139)
         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)
    [2013-05-18T16:56:10.256+02:00] [DefaultServer] [TRACE:32] [] [] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: 7157afcc9f9dbb93:4e66384f:13eb823aae1:-8000-0000000000000021,0] [SRC_CLASS: oracle.jbo.common.LoopDiagnostic] [APP: UpdUsers] [SRC_METHOD: dump]  [441] variableIterator variables passivated >>> TrackQueryPerformed def
    i do have class
    package model.View;
    import oracle.jbo.server.ViewDefImpl;
    // ---    File generated by Oracle ADF Business Components Design Time.
    // ---    Sat May 18 15:37:54 CAT 2013
    // ---    Custom code may be added to this class.
    // ---    Warning: Do not modify method signatures of generated methods.
    public class UamUserdetailsViewDefImpl extends ViewDefImpl {
        public UamUserdetailsViewDefImpl(String name) {
            super(name);
         * This is the default constructor (do not remove).
        public UamUserdetailsViewDefImpl() {
    the thing is whenever i try to add new value to my jsff when i drag values from my datacontrol i got this error,even if am not using this viewEdited by: adf009 on 2013/05/18 6:16 PM

    now am having this error
    <LoopDiagnostic> <dump> [1089] variableIterator variables passivated >>> TrackQueryPerformed def
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    oracle.jbo.CustomClassNotFoundException: JBO-26022: Custom class model.View.UamPractitionersViewDefImpl cannot be found.
         at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:219)
         at oracle.jbo.server.ViewDefImpl.createViewDef(ViewDefImpl.java:3859)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3944)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3894)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:554)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:1232)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:603)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:523)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:505)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:780)
         at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:845)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.ClassNotFoundException: model.View.UamPractitionersViewDefImpl
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: java.lang.ClassNotFoundException: model.View.UamPractitionersViewDefImpl
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = srd-ws23042 TXID =  CONTEXTID = 7157afcc9f9dbb93:-26e67d6b:13ec0afbd8f:-8000-0000000000000021 TIMESTAMP = 1369032380221 
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <20 May 2013 8:46:21 AM> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in c:\users\10017134\appdata\roaming\jdeveloper\system11.1.1.6.38.61.92\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_170 with a lockout minute period of 1.>
    it seems when i create java class for a view i get this error for that particular view i did not create any jar for for viewcontrolller,the thing is when all views don't have java class the application run,the moment i create java impl class for a view
    i get this log error
    <20 May 2013 9:10:11 AM> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at 20 May 2013 9:10:11 AM. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = 20 May 2013 9:10:11 AM SERVER = DefaultServer MESSAGE = [ServletContext@26838793[app:UpdUsers module:UpdUsers-ViewController-context-root path:/UpdUsers-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    oracle.jbo.NoDefException: JBO-25002: Definition model.View.UamUserdetailsView of type View Definition is not found.
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:618)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:523)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:505)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:780)
         at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:845)
         at oracle.jbo.server.AMViewUsage.createViewObject(AMViewUsage.java:112)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:660)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:921)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:493)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:87)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:158)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:73)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2913)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2473)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)
         at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:484)
         at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)
         at oracle.adf.model.BindingContext.put(BindingContext.java:1340)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:174)
         at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1056)
         at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1566)
         at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1438)
         at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1398)
         at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1189)
         at oracle.adf.model.BindingContext.get(BindingContext.java:1139)
         at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)
         at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
         at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2713)
         at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2761)
         at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:304)
         at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1458)
         at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1588)
         at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2472)
         at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2416)
         at oracle.adf.model.binding.DCIteratorBinding.getApplicationModule(DCIteratorBinding.java:3853)
         at oracle.jbo.uicli.binding.JUIteratorBinding.getApplicationModule(JUIteratorBinding.java:404)
         at oracle.adf.model.binding.DCIteratorBinding.getViewObject(DCIteratorBinding.java:1375)
         at oracle.adf.model.binding.DCIteratorBinding.getViewObject(DCIteratorBinding.java:1360)
         at oracle.jbo.uicli.binding.JUSearchBindingCustomizer.getViewCriteria(JUSearchBindingCustomizer.java:2151)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding._getCurrentViewCriteria(FacesCtrlSearchBinding.java:3949)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.access$1600(FacesCtrlSearchBinding.java:115)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryModelImpl._performOneTimeActions(FacesCtrlSearchBinding.java:1981)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryModelImpl.<init>(FacesCtrlSearchBinding.java:1532)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.getQueryModel(FacesCtrlSearchBinding.java:344)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.internalGet(FacesCtrlSearchBinding.java:3738)
         at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
         at javax.el.MapELResolver.getValue(MapELResolver.java:164)
         at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
         at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
         at com.sun.el.parser.AstValue.getValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
         at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.getProperty(UIXComponentBase.java:1194)
         at oracle.adf.view.rich.component.UIXQuery.getModel(UIXQuery.java:468)
         at oracle.adf.view.rich.component.UIXQuery._setupAndStoreContextInRequest(UIXQuery.java:276)
         at oracle.adf.view.rich.component.UIXQuery.encodeBegin(UIXQuery.java:201)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:928)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderChildrenAfterHelpAndInfo(PanelHeaderRenderer.java:542)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer._renderContentCell(PanelHeaderRenderer.java:1066)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderContentRow(PanelHeaderRenderer.java:490)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.encodeAll(PanelHeaderRenderer.java:231)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:682)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:601)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:682)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:601)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer._encodeChildren(RegionRenderer.java:278)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer.encodeAll(RegionRenderer.java:201)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at oracle.adf.view.rich.component.fragment.UIXRegion.encodeEnd(UIXRegion.java:300)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1324)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         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.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         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:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         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:139)
         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)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = srd-ws23042 TXID =  CONTEXTID = 7157afcc9f9dbb93:587189e9:13ec0c59d7f:-8000-0000000000000021 TIMESTAMP = 1369033811118 
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <20 May 2013 9:10:12 AM> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in c:\users\10017134\appdata\roaming\jdeveloper\system11.1.1.6.38.61.92\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_173 with a lockout minute period of 1.> ava.lang.IllegalStateException: Unexpected exception encountered during DomModelImpl.acquireWriteLock
         at oracle.bali.xml.dom.impl.DomModelImpl._acquireWriteLock(DomModelImpl.java:1651)
         at oracle.bali.xml.dom.impl.DomModelImpl.acquireWriteLock(DomModelImpl.java:486)
         at oracle.bali.xml.dom.impl.DomModelImpl.startTransaction(DomModelImpl.java:318)
         at oracle.bali.xml.model.XmlModel.__startTransaction(XmlModel.java:2611)
         at oracle.bali.xml.model.XmlContext.__startTransaction(XmlContext.java:1612)
         at oracle.bali.xml.model.XmlModel.__requestStartTransaction(XmlModel.java:2566)
         at oracle.bali.xml.model.XmlModel.startTransaction(XmlModel.java:395)
         at oracle.jbo.dt.jdevx.ui.xmlef.editors.FormatterListener.modelChanged(FormatterValueProvider.java:539)
         at oracle.bali.xml.model.XmlModel$ModelChangeEventTask._deliverModelChangeEventHelper(XmlModel.java:4408)
         at oracle.bali.xml.model.XmlModel$ModelChangeEventTask.execute(XmlModel.java:4329)
         at oracle.bali.xml.model.listenerImpl.XmlModelListenerManager.executeEventDeliveryTask(XmlModelListenerManager.java:269)
         at oracle.bali.xml.model.XmlModel._deliverCurrentChangeEvents(XmlModel.java:3005)
         at oracle.bali.xml.model.XmlModel.__commitTransaction(XmlModel.java:2863)
         at oracle.bali.xml.model.XmlContext.__commitTransaction(XmlContext.java:1745)
         at oracle.bali.xml.model.XmlModel.__requestCommitTransaction(XmlModel.java:2805)
         at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:445)
         at oracle.jbo.dt.jdevx.JdvXmlOutputStream.commitTransaction(JdvXmlOutputStream.java:164)
         at oracle.jbo.dt.jdevx.JdvXmlOutputStream.postXMLSave(JdvXmlOutputStream.java:114)
         at oracle.jbo.dt.jdevx.JdvObject.postXMLSave(JdvObject.java:337)
         at oracle.jbo.dt.objects.JboBaseObject.saveToXMLFile(JboBaseObject.java:3178)
         at oracle.jbo.dt.objects.JboBaseObject.doSave(JboBaseObject.java:3160)
         at oracle.jbo.dt.objects.JboBaseObject.saveToXMLFile(JboBaseObject.java:3145)
         at oracle.jbo.dt.objects.JboBaseObject.doSaveObject(JboBaseObject.java:3769)
         at oracle.jbo.dt.objects.JboBaseObject.saveObject(JboBaseObject.java:3744)
         at oracle.jbo.dt.objects.JboView.saveObject(JboView.java:8868)
         at oracle.jbo.dt.objects.JboBaseObject.saveObject(JboBaseObject.java:3685)
         at oracle.jbo.dt.ui.main.DtuUtil.saveObject(DtuUtil.java:925)
         at oracle.jbo.dt.ui.main.DtuUtil.saveObject(DtuUtil.java:870)
         at oracle.jbo.dt.jdevx.ui.editors.view.VoeJavaPage.doEditJavaOptions(VoeJavaPage.java:182)
         at oracle.jbo.dt.jdevx.ui.editors.view.VoeJavaPage$VoeEditJavaOptionsCommand.doCmd(VoeJavaPage.java:531)
         at oracle.jbo.dt.jdevx.ui.editors.common.JeoIdeCommand.callDoCmd(JeoIdeCommand.java:43)
         at oracle.jbo.dt.jdevx.ui.editors.common.JeoIdeCommand.doit(JeoIdeCommand.java:89)
         at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:275)
         at oracle.jbo.dt.jdevx.ui.editors.common.JeoIdeCommand.invoke(JeoIdeCommand.java:146)
         at oracle.jbo.dt.jdevx.ui.editors.view.VoeJavaPage.invokeEditJavaOptions(VoeJavaPage.java:158)
         at oracle.jbo.dt.jdevx.ui.editors.view.VoeJavaPage.performAction(VoeJavaPage.java:364)
         at oracle.jbo.dt.ui.main.controls.DtcAction.actionPerformed(DtcAction.java:47)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
         at java.awt.Component.processMouseEvent(Component.java:6289)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6054)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4652)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
         at java.awt.EventQueue$2.run(EventQueue.java:617)
         at java.awt.EventQueue$2.run(EventQueue.java:615)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: oracle.javatools.buffer.ExpiredTextBufferException: StatusValue.xml expired 259s ago
         at oracle.ide.model.TextNode$FacadeTextBuffer.newExpiredTextBufferException(TextNode.java:993)
         at oracle.ide.model.TextNode$FacadeTextBuffer.getChangeId(TextNode.java:1118)
         at oracle.bali.xml.dom.buffer.BufferDomModel._isOutOfSync(BufferDomModel.java:1799)
         at oracle.bali.xml.dom.buffer.BufferDomModel._realEnsureSynchronizedImmediate(BufferDomModel.java:1658)
         at oracle.bali.xml.dom.buffer.BufferDomModel._ensureSynchronizedImmediate(BufferDomModel.java:1637)
         at oracle.bali.xml.dom.buffer.BufferDomModel.refreshModel(BufferDomModel.java:574)
         at oracle.bali.xml.dom.impl.DomModelImpl.refreshModel(DomModelImpl.java:1090)
         at oracle.bali.xml.dom.impl.DomModelImpl._acquireWriteLock(DomModelImpl.java:1635)
         ... 73 more
    Caused by: java.lang.Throwable: expiration origin
         at oracle.ide.model.TextNode$FacadeTextBuffer.dispose(TextNode.java:968)
         at oracle.ide.model.TextNode$FacadeTextBuffer.access$200(TextNode.java:945)
         at oracle.ide.model.TextNode.closeImpl(TextNode.java:568)
         at oracle.bali.xml.addin.XMLSourceNode.closeImpl(XMLSourceNode.java:881)
         at oracle.jbo.dt.jdevx.JdvXmlNode.closeImpl(JdvXmlNode.java:252)
         at oracle.ide.model.Node.close(Node.java:1080)
         at oracle.ide.model.Node.close(Node.java:1016)
         at oracle.ide.cmd.CloseNodeCommand.closeNoNotify(CloseNodeCommand.java:449)
         at oracle.ide.cmd.CloseNodeCommand.close(CloseNodeCommand.java:417)
         at oracle.ide.cmd.CloseNodeCommand.close(CloseNodeCommand.java:406)
         at oracle.ideimpl.editor.EditorManagerImpl.closeEditors(EditorManagerImpl.java:1802)
         at oracle.ideimpl.editor.TabGroup$TabCloseAction.actionPerformed(TabGroup.java:2022)
         at oracle.ide.controls.customtab.CustomTab$ForwardCloseActionEvent.actionPerformed(CustomTab.java:2404)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         ... 31 more
    got above error when creating impl class
    Edited by: adf009 on 2013/05/20 5:43 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

  • Referencing between custom classes

    Hi,
    I need some help with the theory of referencing between custom class files.
    I have not worked much with custom classes before, but want to learn more.
    Is it possible to call for a function in one custom class file from another custom class file?
    The files are in the same package (folder).
    The first custom class is the one stat starts all the main activities on the movie clip when it is added to the stage.
    One of the activities it should start, is starting to add some movie clips to the stage.
    I would like to initiate that activity in the first custom class file, but have the detailed code (where, what and when to add) in another custom class file.
    Is that possible? When yes, how should it be referenced?
    Many thanks in advance!

    Hi,
    Thank you all for your replays.
    Got some new terminology – Singelton, Setters and Getters.
    Have not come across before:)
    I do know the inheritance and have used it. And my little experience with it told me as well – it’s something you shouldn’t go crazy or fanatic with. Overusing it makes things complicated.
    Amy, what you descibed is how I normally do use the classes – attach them to the Library symbols.
    In my question I meant one concrete Movie Clip which is one sub-part of the application.
    The Movie Clip is just an animated picture. That Movie Clip (girlSwim) is attached to the base class GirlSwim.
    And that class is at the moment handling the animation for that girl swimming. It would be good to have that code on a sub-level symbol, like the Girl, but as a mask is swimming along as well, it got too complicated for me to code, cross reference the nested symbols. So the code ended up on top level symbol.
    In that Movie Clip are other animating symbols as well and they are all handled with other custom classes.
    When the girlSwim Movie Clip is activated, it’s on screen, dragonflies start to fly in and fishes start to swim in as well. They are not on the original picture, so not on stage.
    And adding them is managed with timers and it continues as long as the Movie Clip is on screen.
    At the moment I have all the stuff related to dragonflies and fishes on the first keyframe.
    And it all functions nicely.
    But as I’m practicing now using class files and keeping my timeline action script free (except some stop and goto staff to handle the timeline animations), I want to get that part of the code into class file as well.
    I could but it all into the class GirlSwim and it would function.
    But as the animation code for the girl is long enough, I though it would be good to have the code for dragonflies and fishes separate.
    But it needs to be initiated by the GirlSwim class.
    So … in my little-simple world I thought the following could work .. but it didn’t:)
    1180: Call to a possibly undefined method timerStartDragonflies.
    package
    public class GirlSwim extends MovieClip
          public function GirlSwim()
               timerStartDragonflies ();
    package
    public class Dragonflies extends MovieClip
    public function Dragonflies ()
                                    //empty
                    internal function timerStartDragonflies():void
                                   //code for starting timer
                    etc.
    Is something like that possible or should I put it all into the GirlSwim class?

  • Tween in custom class

    I'm a relative flash/actionscript newbie. I created a towers
    of hanoi solution moving movie clips around using Tweens. This all
    worked great when the action script containing the Tween creation
    existed on what I guess is the root movie clip (within the Action
    script window of my .fla file).
    I tried moving the hanoi solution into a custom class
    (extending EventDispatcher) and now the tween does not 'run'. I've
    stepped through my code with the debugger and added plenty of trace
    statements and am pretty sure all the arguments to the Tween
    constructor are correct.
    _currentTween = new Tween(_movingDiskMc, "_y",
    Regular.easeOut, _movingDiskMc._y, _yMin, _duration);
    Is there something fundamental I'm missing? Is the frame rate
    an issue with the custom class? The value of _duration above is 5.
    thx
    - Kurt

    ahhhh.... after further review found that my
    'onMotionFinished' event handlers were being called but in the
    debugger the scope is the Tween class not my Hanoi class. That's
    messed up
    found the discussion in the help topic regarding scope of
    event handlers and using the 'suggested strategy' things are
    working fine now

Maybe you are looking for