Jdeveloper/Business Rules exception: Now you see it, now you don't

Hi all,
odd thing happened to me yesterday. I'm doing a business rules proof of concept and came across a 'MultipleDefinitionException' when running unit a test function. I fixed the xml used to define my facts (or so I thought) but the problem persisted. I spent the afternoon reloading facts/JaxB, rebuilding the application, adding and deleting and readding the offending statement in my function, but admitted defeat and shut down my PC in disgust.
I came in this morning and - Lo and behold! - the problem has disappeared! I can't even post you a stack trace. But I don't think that the error per se is the problem here.
Has anyone seen this behavior before? Am I missing something fundamental?
Using Jdev 11.1.1.5.0
Thanks,
Rory

Glenn,
Glad that worked in your version. You probably can turn the date imprint off in the various cameras for the future but healing or cloning is the only way I know to get rid of it once it's there.
Bob

Similar Messages

  • I thought Dreamweaver was what you see is what you get... How do I eliminate the "gap"?

    Someone. Please. Help. Me.
    In one of my websites www.acsmechanical.net, the images aren't lining up with the background I created. It looks perfect in Dreamweaver itself, but when I upload it or preview it in a browser there is a "gap". I'm thinking it has something to do with the image alignment or positioning. But I really don't know. It's driving me crazy but it may be something simple.
    Thanks, Maria

    Nope. DW is not what you see is what you get. Never base your design on what you see in the preview window.
    Try taking out the empty <p> tags from your code
    <body >
    <br />
    <table width="925"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="79" colspan="2"><p><img src="images/logo.gif" width="325" height="80" />
      <tr>
        <td height="273" colspan="2" valign="top"><div align="center">
            <p>&nbsp;</p>

  • Oracle Business Rule Exception during deployment

    Hi Experts,
    We implemented the OBR(Oracle Business Rules) within CEP and I always encounter a strange behavior. For some reason, I always encounter this error:
    Apr 8, 2011 3:15:10 PM oracle.rules.rl.RuleSession logIt
    SEVERE: symbol 'oracle.rules.rl.xpath.Step' is undefined
    at line 1 column 12 in main
    Apr 8, 2011 3:15:10 PM oracle.rules.rl.RuleSession logIt
    SEVERE: UndefinedException: symbol 'oracle.rules.rl.xpath.Step' is undefined
    at line 1 column 12 in main
    Apr 8, 2011 3:15:10 PM oracle.rules.rl.RuleSession logIt
    SEVERE: symbol 'oracle.rules.rl.xpath.Step' is undefined
    at line 1 column 12 in main
    Apr 8, 2011 3:15:10 PM oracle.rules.rl.RuleSession logIt
    SEVERE: UndefinedException: symbol 'oracle.rules.rl.xpath.Step' is undefined
    at line 1 column 12 in main
    <Apr 8, 2011 3:15:10 PM PHT> <Error> <com.nsn.cvo.ingestion.callscenario.bean.OBRExecuteBean> <BEA-000000> <oracle.rules.sdk2.exception.SDKException: RUL-05187: error getting a rule session from decision point rule session pool.
    >
    After restarting CEP, OBR is running perfectly. I am not sure how to resolve this issue and need your guidance on how to prevent this from happening. My java source source code is below: The initializeDecisionEngine is called only once. My input to OBR is a java.util.Map(this is a requirement and can't do anything about it).
    private String rulesPath;
    private RuleDictionary ruleDictionary;
    private DecisionPointInstance decisionPointInstance;
    private String decisionFunctionName = "decisionFunctionName";
    private void initializeDecisionEngine() {
              try {
                   if (rulesPath == null) {
                        return;
                   if (decisionPointInstance == null) {
                        ruleDictionary = this.loadRuleDictionary(rulesPath);
                        DecisionPoint decisionPoint = new DecisionPointBuilder().with(
                                  decisionFunctionName).with(ruleDictionary).build();
                        decisionPointInstance = decisionPoint.getInstance();
                        System.out.println("INIT() OUT");
              } catch (SDKException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    private RuleDictionary loadRuleDictionary(String path) {
              System.out.println("loading dictionary from path: " + path);
              RuleDictionary dict = null;
              Reader reader = null;
              try {
                   reader = new FileReader(new File(path));
    dict = RuleDictionary.readDictionary(reader, new DecisionPointDictionaryFinder(null));
                   List<SDKWarning> warnings = new ArrayList<SDKWarning>();
                   dict.update(warnings);
                   if (warnings.size() > 0) {
                        log.error("Validation warnings: " + warnings);
              } catch (SDKException e) {
                   log.error(e);
              } catch (FileNotFoundException e) {
                   log.error(e);
              } catch (IOException e) {
              } finally {
                   if (reader != null) {
                        try {
                             reader.close();
                        } catch (IOException ioe) {
                             ioe.printStackTrace();
              return dict;
    private executeOBRRule(){
    Map<String, String> mapEntry = new HashMap<String, String>();
    mapEntry.put("column1", "value1");
    mapEntry.put("column2", "value2");
    mapEntry.put("column3", "value3");
    if (decisionPointInstance != null) {
                   decisionPointInstance.clearInputs();
                   // decisionPointInstance.
                   List<Object> list = new ArrayList<Object>();
                   list.add(mapEntry); <--- Adding the map to a list since it is the only allowed input for OBR, or is there any other way other than list? -->
                   decisionPointInstance.setInputs(list);
    Object obj = decisionPointInstance.invoke();  <<<<<< this is where the exception is raised.
    My question is that why is the exception is being raised and sometimes it is not. My only resolution is to restart CEP server. Am I missing something? My obr rule file is ok since it does not display any error during compilation. If you can guide me to the correct path, I will really appreciate it.
    Regards,
    Russel

    Is this problem resolved?
    If so it would be greatly helpful if you could provide the solution.
    Regards,
    Nigel.

  • Next JDeveloper: Business Rules framework?

    After Struts and Toplink I'd like to see a business rule framework (like Ruleframe) in Jdeveloper.
    Regards,
    Bas Varkevisser

    Thanks for your suggestion.

  • Now i see 'em, now i don't?

    i imported some photos and as I am scrolling i can see the but if I stop the
    thumbnails disappear - replaced by an empty square - the image number is
    still there too. if I click full screen all the photos appear at the top in
    thumbnail version but will not appear in the large viewing area.
    ugh . . can you advise?
    Thank you"

    bransy
    Don't be afraid to try the rebuild again. If it fails though, you probably have a damaged datbase file:
    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library (Right Click -> Show Package Contents) allowing it to overwrite the damaged file.
    2. Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums back.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.
    Regards
    TD

  • WRT600N , USB Drive now you see it now you dont

    hooked up my WD 1200 passport USB drive to my WRT600N.  I could see it and i successfully completed a back up from my main machine to the drive. Pressed "safely disconnect drive" from the web UI and now when i reconnect the drive to the router it is no longer recognized.  The drive works fine when i connect it directly to my PC but not the router.  In addition i have tried several other USB devices including a SD card reader and even the SD card is recognized  by the router.  Any one have an idea of whats going on?  Also I have flashed the router with the latest FW from the website.

    if you have a cordles phone..check if it is giving out a 2.4 ghz signal output... if it does then i might be the one causing the issue... try connecting without the cordless phone then check if it works
    if you dont have a cordless phone.. change the channel!
    CamZ

  • Metadata - now you see it now you don't

    Is there any way to use Bridge/ Bridge Raw in order to simultaneously apply templates to multiple images? I can do individual jpgs opened in PS CS4, but not batched in Bridge. Am I applying DNG templates that are stripped once they go into .psd or .jpg? 
    When I see and ok a template name after using Shift+Opt+Cmd+i, and after clicking OK, it doesn't actually apply what is shown as the template. You have to click the template again in the list to apply it. Is there a workaround?
    Not sure how many images I have sent out devoid of copyright protection because of this.

    How about asking in the Bridge Forum?
    Bridge Macintosh

  • Now you see it, now you don't

    This is one of the worst kind of problems to solve. I used a
    program that
    had a setting to create an SWF file as output.
    This is the code it created for me. It works fine on most pcs
    but on others
    nothing happens!
    Its baffled me for 2 weeks and I have witnessed the error but
    cant find a
    local browser or security setting to fix it. The first thing
    to check is if
    auto settings have turned off shockwave flash files or
    failing plugins.
    However, this week I reinstalled vista from scratch on a
    laptop with all
    updates and plugins and on this laptop even I can not view it
    with any
    tested browser, it just shows a single black line. However as
    said, it seems
    to work on most other pcs. I wonder if someone can point me
    in the right
    direction.. I did find a google tip to simplify the code and
    that fixed it
    for one person, but even this simplified code does not show
    the file on the
    laptop
    This is the (somtimes) erroring code created by the program I
    used.
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/
    swflash.cab#version=7,0,0,0" width="180" height="180"
    id="test"
    align="middle">
    <param name="movie"
    value="./media/chasethesunspringfilm09.swf" />
    <param name="quality" value="high" />
    <param name="play" value="true" />
    <param name="bgColor" value="#FFFFFF" />
    <param name="wmode" value="transparent" />
    <embed src="./media/chasethesunspringfilm09.swf"
    width="180" height="180"
    quality="high" play="true" bgColor="#FFFFFF"
    wmode="transparent"
    type="application/x-shockwaveflash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    </object>
    Here it is in action
    http://www.scfmotion.se/chasethesun
    And here is a much lighter version of the code that solved
    the problem so at
    least one person who could not view it now can.
    <object id="Chase09"
    data="./media/chasethesunspringfilm09.swf" height="180"
    type="application/x-shockwave-flash" width="180">
    <param name="movie"
    value="./media/chasethesunspringfilm09.swf" />
    </object>
    And that code in action
    http://www.scfmotion.se/chase1.html
    One other little problem. On my other pc it works until I
    have been using
    the pc for a while and then it constantly reloads at the
    second or third
    frame, restarting the pc flushes out memory and it fires into
    life again,
    works perfect then. However, other swf files continue to work
    without
    constantly reloading even when my pc is low on resources. So
    any tip about
    use of cache to aid performace would come in handy.
    Any help greatly appreciated
    Garry Jones
    Sweden

    Are you sure the version info is correct in the HTML you
    posted? That
    is, which version of the Flash Player did you publish the swf
    to?
    Your question might be better asked on a Flash forum - this
    one is for
    Director Shockwave, not Shockwave Flash

  • Now you see it now you dont.

    OK the strangest thing has happened to me
    Have a 875P neo
    DOT is not suposed to be here (Pvt Sgt Etc.)
    However My machine locked up and rebooted.
    I had a look in the bios and there is was.
    I promply took a photo as proof.
    I shut down restarted and went into the bios and it was gone.
    I took another Photo.
    Does MSi now have a dynamic bios I havent heard about, that teases you with features at random.
    Am running V 1.9 Bios
    Is there anyone who can fix what is supposed to be potenialy the fastest Mb around.

    Dont feel bad, as the very same thing has happened to a few other Members also .........Did your Board come With BIOS vers. 1.9?...........Sean REILLY875

  • Now you see me, now you dont

    Hello!
    I have a very stupid problem - when I add components to JApplet, sometimes they are shown, and sometimes they are not. I will try to describe in few words what I do, and where problem "attacks". I'm developing application for knowledge assessment (something like complex quizzes) over the Web. I dinamically generate HTML containing <applet>, and pass parameters from JavaScript. So, first, browser parses the HTML, and creates my applet (calls init() etc), and makes it visible. This applet has additional method "public void passData(String data)". Then, at some point later JavaScript calls this method and passes initialization data, based on which I create additional jcomponents in applet. And here is the problem - sometimes, those components are shown, and sometimes, they are not. I even tried to call invalidate() and repaint() after everything is added, and it does not help. Then I went to next question, and back, then next and back - the result is: applet sometimes shows those components, and sometimes not. I tried to reproduce this behavior by using JFrame. I do not know if reasons are the same as in the case of JApplet, but I achieved similiar behavior. This is the code:
    package test;
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Dimension;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.WindowConstants;
    public class Main2 extends JFrame {
         public Main2() {
              buildGUI();
         private void buildGUI() {
              this.setPreferredSize(new Dimension(500,300));
              this.getContentPane().setLayout(new BorderLayout());
              JLabel lab = new JLabel("Evil!!!");
              lab.setOpaque(true);
              lab.setBackground(Color.RED);
              this.getContentPane().add(lab,BorderLayout.CENTER);
         public static void main(String[] args) {
              Main2 m = new Main2();
              m.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
              m.pack();
              m.setVisible(true);
              m.getContentPane().add(new JLabel("Right"),BorderLayout.EAST);
              // m.repaint();
                    // m.invalidate();
    }If you run this program several times, sometimes label "Evil!!!" (red background) will be the only displayed component, and sometimes both components will be displayed (with or without m.repaint() and m.invalidate()). Calling buildGUI() within SwingUtilities.invokeLater(...) instead from constructor directly also does not solve the problem. Also, adding second label ("Right") from SwingUtilities.invokeLater(...) instead directly also does not solve the problem.
    However, if I call m.setVisible(true); after addition of "Right"-label (even if JFrame is already shown by previous m.setVisible(true);), everything works fine.
    In case when "Right"-label is not shown, there is simple action to make is show itself - it is enough to resize window by mouse - "Evil!!!" will be shorten, and "Right" will be shown.
    In case with JApplet, where I can not decide when the browser will show applet, I even created custom jcomponents, and added println-s in paintComponent() to see if this method is called - it is called every time. But component is not shown every time. Could it be that some parent component uses double buffering, and ignores it's children? Those parent components, in my case, are standard swing containers (such as JPanel).
    Help!
    Or to state the problem simply: how to add new components to a container that is already visible, and be sure that added components will actualy be shown?

    Or to state the problem simply: how to add new components to a
    container that is already visible, and be sure that added components will actualy be shown? container.revalidate(); // for a Swing container
    container.validate(); // for an AWT container
    This essentially invokes the LayoutManager so the components can be layed out correctly and repainted.
    Sometimes if you remove and add a component back at the same position you will also need to use repaint(), since the LayoutManager doesn't recognized a change in the layout. But generally you don't need repaint();

  • Adobe Fangsong Standard ... now you see it, now you don't

    By way of relaxation, I'm using our favourite software to produce a translation of a book about the harmonium. Now, the convention for indicating registration (which stops to use) for a standard French harmonium uses letters and numbers in circles: so I was pleased to discover that Adobe Fangsong Standard (which arrived when I installed FM 9.0) includes these, and also pleased to discover that with a bit of persistence FM 9.0 can be persuaded to display Unicode characters such as U2460.
    All the more disappointing, then, to create a .pdf (Acrobat Pro Extended) from my first source-file and find that it just gives me a placeholder "crossed-out box". Any hints or tips on how to get these characters all the way from screen to paper will be welcome!

    Thanks for the tip, Michael; I've checked, and now observe the following.  AdobeFangsongStd-Regular.otf is indeed in the folder E:\adobeCS\Adobe FrameMaker 9\fminit\fonts\adobe [same drive as Acrobat]  My Distiller font setting already included E:\adobeCS\Adobe FrameMaker 9\fminit; adding the full path to the sub-folder \fonts\adobe in the Distiller settings has not, alas, resolved the problem :-{  What should I try next?

  • Weird - Now you see them, now you don't.

    I was organizing and browsing an iPhoto library recently when something really weird happened.
    The photos (a handful) of one roll were "open" and visible in the Library (view by Roll, sort by date) and then, all of the sudden, all the images in that roll disappeared. I wasn't even doing anything with them. The thumbnail images of the photos were replaced by some generic-looking placeholder graphic, outlined by a dotted-line-border. When I tried double-clicking on individual photos in this roll, I would get the same placeholder graphic, just larger.
    Even weirder was the fact that, while scrolling through the various rolls in the Library, the thumbnails for that roll would occasionally pop into view (where they should be, in their roll's row) for a split-second, only to disappear. That would suggest the photos are "there" somewhere.
    Any clues as to what's going on?

    Walt
    This sounds like your database has been corrupted.
    Some things to try: Rebuild the database. Hold down the apple and option (or alt) keys and launch iPhoto. Use the resulting dialogue to rebuild. Choose the top three options.
    If that doesn't work Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library Folder allowing it to overwrite the damaged file. If not, then you'll need to create and populate a new library.
    To create and populate a new library:
    Note this will give you a working library with the same film rolls and pictures as before, however, you will lose your albums, keywords, books, calendars etc.
    Move the iPhoto Library Folder to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library Folder on your desktop and find the Originals folder. From the Originals folder drag the individual rolls to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library Folder on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.
    Regards
    TD

  • /CFIDE/componentutils/cfcexplorer.cfc - now you see it, now you don't.

    I'm trying to use this amazingly useful facility, by putting the url of my CFC into my browser and watching it redirect to a page describing the CFC's contents. Usually, I get asked to enter my RDS password, do so, and get the documentation.
    "Sometimes", I get "File not found: /CFIDE/componentutils/cfcexplorer.cfc"
    No, I can't define "sometimes" beyond "when I least want it to do this"
    This is a development server, not set up by me, and for some reason I don't understand /CFIDE is mapped to somewhere odd (C:\webspace\applications\betaApp01\www\CFIDE, which is in the depths of another app.)
    The files really are there as far as I can see, and it usually works. Only, sometimes, it doesn't
    Any ideas what I need to look for that might produce this "sometimes"?
    In case it matters:
    Server Details
    Server Product
    ColdFusion
    Version
    9,0,0,251028 
    Edition
    Enterprise 
    Operating System
    Windows Server 2008 
    OS Version
    6.1 
    Adobe Driver Version
    4.0 (Build 0005

    That's a very good suggestion, but no, I'm not using a different domain. I've got one url to my CFC folder saved, and I use it every time.
    Indirectly, though, that leads me to another interesting symptom. "I could try out that localhost idea by remoting onto the server", I thought to myself. So I did, and found myself looking at the CFadmin session that I'd been successfully running at the same time as the cfcexplorer session on my own PC was failing.
    http://127.0.0.1/CFIDE/administrator/index.cfm
    works, every time (touching wood, and with fingers crossed), and that's the same CFIDE (or should be)
    Using a mapping for CFIDE is the default way CF is set up, the last few times I've installed it. I'd expect it to point at a slightly more normal place, though, like C:\inetpub\wwwroot\CFIDE (which exists)
    I'm beginning to wonder if there's Something Odd (tm) down at the IIS level, and "sometimes" means "when someone else has been doing things to it".

  • Internet connection. Now you see it, now you don't, now you see it, now...

    If I connect my G4 by cable to my D-Link ADSL2+ modem I have no problem in connecting to the internet.
    If I connect both the modem and G4 by cable to my Airport Extreme 802.11n I have problems: Our MacBook connects to the resulting network for approx 60 seconds then a small window appears, example: 'IP Configuration. 88.107.203.224 in use by 00:1b:63:f1:21:d9, DCHP Server 192.168.1.1. OK' and the connection is dropped. I click OK and the window closes and connection is picked up again. 60 seconds later the window appears again, connection is dropped, I click OK, the window closes and connection is picked up again and so on, ad infinitum. And that's on a good day.
    As the AE connection is dropped the G4 connection is dropped too. When it is connected Network Status in the Network Preference says, example: 'Built-in Ethernet is currently active and has the IP address 88.107.207.224. You are connected to the internet by built-in ethernet'. When it is not connected it says 'The cable for built-in Ethernet is connected but your computer does not have an IP address and cannot connect to the Ethernet'.
    I have trawled though pages and pages of discussions regarding 'similar' problems and have found and tried umpteen 'solutions' all to no avail (if I tell you how long this has been going on for you won't believe me!). What have I missed, what am I doing wrong?

    Geofffc wrote:
    When I said that the modem is correctly connected when the problem occurs I did mean that it is connected to the AEBS WAN port.
    Yes, I am certain that the modem is connected to the WAN port of the AirPort Extreme base station (AEBS). It is shown clearly in the illustration on page 6 of the booklet Airport Extreme Setup Guide and is clearly marked on the product.
    This is the most frustrating experience I've had in almost 20 years of using Macs - but I will overcome.
    My new iMac arrives on Tuesday. This will have an appropriate Airport card fitted. Starting from scratch with it, and with the G4 out of the network, I should be able me to establish whether or not my Airport Extreme is functioning properly. I'll let you know how I get on.

  • Now you see it, Now you don't? Mystery unmounted drives require recovery.

    My external Firewire 400 [seagate] drive is suddenly disappeared from the desktop after a reboot. When I go to use the Disk Utilities, it says it is an unformatted drive. I have "filesavage" and it sees the data but, ripping it does not save the file names nor dates of anything.
    Is there any way to get the drive to re-recognized by OSX and remount. I know there is nothing wrong with the drive. I already tried Disk Utilities to re-mount. Not an option.
    Please help.
    Message was edited by: DJ Hot Wheel

    Glenn,
    Glad that worked in your version. You probably can turn the date imprint off in the various cameras for the future but healing or cloning is the only way I know to get rid of it once it's there.
    Bob

Maybe you are looking for

  • The percentage of free space is remain unchanged after extend data file.

    I have alter database and extend datafile (applsysd03.dbf), the free size is larger than before, but don't know why the percentage (MAX_PER_FREE) is remain unchanged. FILE_NAME     TABLESPACE     TOTAL     USED     FREE PER_FREE MAX_SIZE MAX_FREE MAX

  • Yoga 2 13 : wifi hard blocked

    Hello, Sorry for my "English"..I'm French :-) I bought recently an Lenovo Yoga 2 13 inch. Since few days, Windows doesn't let me activate my Wifi card. It is well configured...it's a REALTEK card inside. I use now an USB ethernet adapter to have acce

  • How do you determine the duration of the project?

    I want to know the duration of each project that I've created. When I open the project, there is an information section that tells me the size of the project, the time, the resolution, number of slides, etc. It is telling me that this project is 5 mi

  • Launch pad

    Is there a shortcut I can create to open launchpad without having to click on it through my dock. Another question I had also is: for the new "versions" feature in Lion, does that only apply to the pages software or can I use that in microsoft word a

  • What conversion do events is done updating 10.0.5 to 10.0.9?

    Is there any updating done to your current projects/events if you update to 10.0.9?   If so, does it update the first time you open it or can you do it as you need to access your projects?  I have lots of events and I remember hearing a while back th