Problem locating view

Maybe I'm still doing this wrong...
My new Application module can't find its views:
<AppModule
Name="ModuleMaintenance"
TimeStamp="1028542505735"
ComponentClass="com.lynx.c2.bc.ModuleMaintenanceImpl" >
<DesignTime>
<Attr Name="_isCodegen" Value="true" />
<Attr Name="_version" Value="9.0.2.7.99" />
<Attr Name="_deployType" Value="0" />
<Attr Name="_exportName" Value="ModuleMaintenance" />
</DesignTime>
<ViewUsage
Name="MaintenanceSender"
ViewObjectName="com.lynx.c2.bc.MaintenanceSender" >
</ViewUsage>
</AppModule>
However, the following code fails when binding it's first field (PanelMaintenanceSender.java is as created by the wizard):
setJUApplication(JUMetaObjectManager.createApplicationObject("C2.ModuleMaintenance", null, infoProvider));
new PanelMaintenanceSender(getJUApplication());
A few lines from PanelMaintenanceSender.java:
public class PanelMaintenanceSender extends JPanel implements JUPanel
// Panel binding definition
private JUPanelBinding panelBinding = new JUPanelBinding("C2.ModuleMaintenance", this);
public void jbInit() throws Exception
// Layout definition for this panel
dataPanel.setLayout(panelLayout);
dataPanel.setMinimumSize(new Dimension(100, 100));
this.setLayout(borderLayout);
// Code support form attribute: SenderId
mSenderId.setDocument(JUTextFieldBinding.createAttributeBinding(panelBinding, mSenderId, "MaintenanceSender", null, "MaintenanceSenderIter", "SenderId"));
oracle.jbo.NoObjException: JBO-25003: Object MaintenanceSender of type View Object not found
     oracle.jbo.ViewObject oracle.jbo.uicli.binding.JUIteratorBinding.getViewObject()
          JUIteratorBinding.java:601
     oracle.jbo.RowSetIterator oracle.jbo.uicli.binding.JUIteratorBinding.getRowSetIterator()
          JUIteratorBinding.java:666
     oracle.jbo.NavigatableRowIterator oracle.jbo.uicli.binding.JUIteratorBinding.getNavigatableRowIterator)
          JUIteratorBinding.java:728
     oracle.jbo.RowIterator oracle.jbo.uicli.binding.JUControlBinding.getRowIterator()
          JUControlBinding.java:219
     void oracle.jbo.uicli.binding.JUCtrlAttrsBinding.refreshControl()
          JUCtrlAttrsBinding.java:154
     javax.swing.text.Document oracle.jbo.uicli.jui.JUTextFieldBinding.createAttributeBinding(oracle.jbo.uicli.binding.JUFormBinding, javax.swing.text.JTextComponent, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
          JUTextFieldBinding.java:626
     void com.lynx.c2.app.PanelMaintenanceSender.jbInit()
          PanelMaintenanceSender.java:197
My Application module and Application model have the same name. Is this permitted?
Here's C2.cpx (I had to open this in Windows Explorer to discover its contents).
<JboProject
Name="C2"
Package="" >
<Session
Name="DataModel"
Package="com.lynx.c2.bc"
Configuration="BcModuleLocal" >
</Session>
<Session
Name="ModuleMaintenance"
Package="com.lynx.c2.bc"
Configuration="ModuleMaintenanceLocal" >
</Session>
</JboProject>
Tony.

I've tried to re-create this (I'd switched back to a single Application module) and can't. I may have missed one of the steps last time but now the Panel starts fine and the ViewObject is not null:
com.lynx.c2.bc.MaintenanceSenderImpl@1b7
I cannot see any typos in the listings I posted.
In attempting to reproduce the problem, I do have a couple of new points:
First, I re-created Application module "ModuleMaintenance", but forgot to add it to the C2.cpx file.
In this scenario, I get a NPE in JUMetaObjectManager.createPool() line 400:
java.lang.NullPointerException
     oracle.jbo.common.ampool.ApplicationPool oracle.jbo.uicli.mom.JUMetaObjectManager.createPool(java.lang.String, java.util.Properties)
          JUMetaObjectManager.java:400
The line is:
return oracle.jbo.common.ampool.PoolMgr.getInstance().findPool(qualifiedAMName, sessDef.getPackageName(), sessDef.getConfiguration(), env);
I think sessDef is null. The debugger won't report it's valueThis bug was reported for JDev 903 and has been since fixed in JDev 903.
Next I created a Data model (in C2.cpx) with the same name as my Application module.
I'm not clear on the difference between an Application Module and a Data Model. Is there some documentation describing what the two are for? It seems the Data model is just a reference to an application module without any attributes of it's own. Any attempt to edit the data model just starts the "create new model" wizard.
All the tutorials I've been through seem to use the same name for both the module and the model, and the Wizard defaults to this.
I can see a need for multiple Application Modules to modularize my application set. Each Module is designed for a small number of functions against a set of (related) entity/view objects, associations etc.
Is there a case for there being other than one (and only one) data model per application module?DataModel can have a different name than the AM. DataModel defines which Configuration to use to connect to an AM of choice, so it actually identifies the "configuration" for an AM and can have different names than the AM.
You can have multiple Configurations for an AM and can create DataModel entries for each in your Client side project and then test with each configuration by "changing" the DataModel name in the Frame's createApplication call.
Tony.

Similar Messages

  • PSE 7 Organizer Folder Location View Unacceptably Slow

    I see there are a lot of intelligent people posting here, so I thought I'd take a stab at explaining my problem.  I recently upgraded to PSE 7 from PSE 6 because of the well documented PSE 6 bug that causes raw files to appear as broken thumbnails.  Now that I am working on PSE 7 I have run into the problem referenced above: trying to operate in Folder Location View in organizer is painfully slow.  Any attempt to switch to Folder Location View from Thumbnail view or attempting to filter anything (by star rating, for example) triggers a long wait - I would say 5-7 minutes - before the action is completed.  I don't have the problem in Thumbnail View, but the problem is I rely on the folder hierarchy for my workflow and having 20,000 plus thumbnails not organized by folder does not help me at all.  I am extremely frustrated!
    I have already repaired and optimized.  From what I've read, rebuilding the thumbnail cache doesn't appear to help either.  Does anyone have any ideas for me?  I really need to be able to use the Folder Location View.  It's bad enough that I may have to go back to PSE 6 and live with the broken raw thumbnails.
    Thanks in advance,
    Dan

    A number of people have reported tha Folder Location view is very slow, in both PSE 6 and PSE 7.  (You're lucky it is fast for you in in PSE6.) In my catalog (13,000 files), PSE 7 takes 30 seconds to switch from Thumbnail view to Folder Location view; but once it's open, it's reasonably zippy.   No one has posted any workarounds here.
    Beware that many people have reported problems with Folder Location view in PSE 6 and 7 showing the wrong contents of folders.   This often happens when you try to search by keyword tags, but some have reported it happening even with no searches applied.
    In general, Adobe seems to treat Folder Location view as the stupid stepchild of the Organizer -- it's buggy, it's slow, and it isn't documented very well. The Organizer's sweet spot is organizing with keywords, albums, stacks, versions sets, dates, captions and other metadata.

  • Elements 9 organizer, folder location view & copying images

    I am using photoshop elements 9.0.3 under windows 7.
    In the "folder location" view, when I click on a folder I see pictures that belong to a completely different folder.
    How can I solve this problem?
    Also, is it possible to copy an image from one folder to another from within the organizer?

    If you always move images within Organizer you will have no problems.
    Problems only arise when users move images behind Organizers back e.g. using Explorer or Finder.
    Remember to select the Display button and thumbnail view to search the entire catalog otherwise your search will be limited to a single folder which matches the folder on your OS.

  • Problem in  viewing.

    Hi,
    I have a PDF file in chinese text.When I opened it the adobe reader checked for the updates and downloaded chinese fonts to support the text.
    But i am facing a problem while opening it.
    It opening with errors and showing me a mesage that -THERE IS A PROBLEM IN OPENING THIS DOCUMENT(15).
    I know this is not the right forum but i thought i may get help here.
    I am using Adobe Reader ver 7.
    Please help me out asap.
    Thanks in advance ,
    Amit

    nokia x6 don't have a memory card it has a built in memory,so the suggestion of jamesvini suggestion may not do..
    when i first encounter my problem in viewing my images in my nokia x6 after copying a pic from PC i immediately deleted the pic i copied but still the problem occurs. At first i do not have any problem in the other file like music that was also stored in same memory but after 2 days it also encounter problem where in i can't view all my mp3's in my music player..
    moreover i noticed that if for example i change the location of a pic of mp3 in different drive,in drive c: it became viewable..

  • Automatic storage location view creation in maintenace order (IW31)

    Hello,
    Seems like I need some help.
    Have configured automatic storage location view creation for GR and reservation. Configured movement types are 101, 201, 261. While creating reservations (201, 261 mvmnt. types) with mb21 the sloc view is automatically created in material master, and everything seems fine.
    But in iw31 when I specify material number and sloc in a Components tab, I get an error message CO312: "The storage location data is not created". Automatic reservation is not created, and maintenance order can not be saved. Movement type 261 is used for automatic reservations for the maintenance order.
    If I configure message CO312 as a (W)arning  message, then it allows me to save the order and reservation, but sloc view in material master still is not created. Think that's not good and may lead to MRP issues.
    How can I configure automatic sloc view creation in iw31? Is that possible?
    Edited by: Konstantin Dudura on Nov 17, 2009 8:11 PM

    Hi,
    The customization required for Automatic Storage location creation at reservation are:
    Goto : SPRO -> MM -> inventory Management and physical inventory -> Goods issue/ Transfer posting -> Create storage location automatically
    first of all go to Plant and tick the automatic Storage location creation for the Plant. After that goto Movement type and tick the automatic Storage location for movement type 261.
    Regards

  • No files or folders shown in Organizer Folder Location view

    Hi!
    I'm using Elements Organizer 8.0. If I select the Folder Location option from the Display menu, then I get a tree pane to left with a few folders in it: "Public", my user name, Computer, Network and Offline Media. The Computer folder in turn contains my drives. However, none of the folders can be expanded (no [+] icon) except for the mentioned Computer folder. So I can't reach any sub-folders. Furthermore, no files are ever displayed in the center pane, regardless of what folder is selected.
    I have no filters set, I have tried enabling display of hidden files (not that this should matter) and can see no further options to change.
    I did discover a sort-of partial workaround. If i right-click on a folder in the tree pane and select New Folder, then a new folder will be created in the file system, and the parent folder with suddenly be endowed with a [-] icon. If i click this to collapse the parent folder, and then click the [+] icon to expand it again, the I can suddenly see all other sub-folders in this folder. Of course, this is still worthless, since I still can't see any files.
    Probably related to this is the fact that the Watch Folders feature is broken for me. I can select any folder (this is done through a standard Windows file selection box, so navigating through the file system to select the desired folder works fine) but it seems that the organizer never finds any files regardless of what folder I choose to watch.
    Any ideas?
    /Björn Stenborg

    Display > Folder Location view will only show files (and their containing folders) if you've previously imported them into the Organizer, e.g. with File > Get Photos And Videos > From Files And Folders.  Have you imported any photos yet into your catalog?
    Note also that Folder Location view is buggy and often shows the wrong contents of folders, and with large catalogs (tens of thousands of photos), it is intolerably slow.
    Regarding File > Watch Folders, it only imports photos that are added, deleted, or modified after you've started watching a folder.

  • Problem in viewing a pdf file in android adobe reader

    Hi All,
    I am having a problem in viewing a pdf file in android adobe reader, the problem is that in pdf file there is a table that has some text, when I view the pdf file in android abode reader then the text inside the table is not shown but when I view the same file in windows adobe reader everything is fine i.e. the text inside the table of pdf file looks fine.
    Please tell me is this the issue regarding android adobe reader or related to PDF stream? Please address the issue as soon as possible.
    Kinds Regards
    rha

    Can you please share the pdf file where you are encountering the issue?

  • Problem with viewing Adobe PDF documents

    Problem with viewing Adobe PDF documents
    I have a Windows 7 Home Premium Computer
    I have read all the suggestions and I have tried downloading multiple versions of Adobe Reader for Windows 7 and Vista from http://get.adobe.com/reader/otherversions/.
    Prior to downloading each version I would delete the current version using  control panel programs uninstall.
    After each new installation I would shut down the computer and then restart the computer.
    I have tried downloading versions with and without having my antivirus (CA Total Defence) running.
    I am told after download that the version downloaded successfully.
    I have read Acrobat Help http://helpx.adobe.com/acrobat/kb/troubleshoot-reader-installation-windows.html and followed the instructions.
    None of the above has helped.
    The problem is no matter what version of Adobe Reader I download, I cannot seem to open a PDF and read it. Nor will the Reader itself stay open.
    1. If I try opening the reader from the desktop link or from the actual program menu, the reader opens for about 5 seconds and then closes of its own accord. If I try to click on any of the reader menus (eg File, Edit, View, Window, Help, Tools) then a warning bell is sounded and the menu does not open. Shortly thereafter the reader closes.
    2. If I try to open the reader by double clicking on a PDF document then the reader opens but the document is not shown (only the grey PDF reader screen is shown) and then the reader closes after about 5 seconds of its own accord.
    The desktop shortcut shows as the 'red Adobe Reader icon'. But the actual program menu icon shows as a blank folder icon.  All PDF documents show as the PDF Adobe icon.
    I have tested various PDFs and none will open on this computer but they will open on other computers.
    I have created a word document and saved it as a PDF. It looked like it had save correctly (has the appropriate icon) but when I try to open it as per step 2 above then the document is not shown and then the reader closes after about 5 seconds of its own accord.
    Does anyone have any ideas about what is going on and how I can fix this?
    Could you please answer in this forum and email me at [removed]
    I am so puzzled and frustrated.

    Thank you so much this did the trick.
    I spent so many hours on trying to sort this out and your answer was so  simple and clear.
    Regards
    Kazzamday

  • Problem during view Adobe Form in Web Request

    Hi All,
    I am facing problem while viewing the adobe form inside the Web Request form.
    Let me describe the issue clearly.
    I need to have a table in Adobe Form.So i created one table type and bind it to the table structure created, in Adobe Form.
    Then i uploaded the form as web request successfully.
    Now when i m trying to view the form from web ui, its unable to assign child node data at runtime.so dump is coming.
    Can anyone show light on this....i have tried all the possibilities.
    Unfortunately there is no standrad scenario available for reference.
    Regards,

    Hi Satish,
    Thanks for your reply.But this is not my requirement.
    If you will go to tcode CRM_UI and log in using business role CRMGRMPRGMAN, then go to Application and open one application.Here there is one assignment block called 'Application Form'. Here i have uploaded my Adobe Form as web request.
    This is working fine when i have simple linear form.
    But when i am using table inside the form and doing binding for it, Application is getting created with that form but while openning it here in the assignment block, dump is coming as below.Its not able to assign the child node.
    The ABAP call stack was:
    Method: NODE_ELEM_2_STRUCT of program CL_WD_ADOBE_SERVICES==========CP
    Method: NODE_2_DDIC of program CL_WD_ADOBE_SERVICES==========CP
    Method: DATASOURCE_2_FM_PARAMS of program CL_WD_ADOBE_SERVICES==========CP
    Method: CREATE_PDF_DDIC of program CL_WD_ADOBE_SERVICES==========CP
    Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/CADOBE==================CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/CADOBE==================CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
    Regards...

  • Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the pag

    Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the page, so it suits size automatically) to a mobile web page to be displayed not on a normal browser, but in a WebView.

    Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the page, so it suits size automatically) to a mobile web page to be displayed not on a normal browser, but in a WebView.

  • RoboHelp for HTML 9 - Problem with viewing .chm file on 64bit machine

    I am working with RoboHelp for HTML 9 on a 32 bit machine. Recently, we encountered problems when viewing a .chm file on a 64 bit machine. The TOC was fine, but the topics did not appear, only error message "Navigation of this web page cancelled". My compilation settings did not change since the last compilation some months ago. What happens?

    Generally, I've only ever seen the need to ensure the CHM is unblocked if it has been downloaded from the web. I could see where it could possibly occur if one moved the CHM from a network drive to a local drive, but I'm skeptical that would be required in that case.
    Cheers... Rick

  • I have a problem in viewing few sites when i'm using dsl broadband

    i have a problem in viewing few sites when i'm using dsl broadband...do i need to make any change in my settings  ??

    Only if you are aware that these sites are definitely compatible with your browser.    See my FAQ*:
    http://www.macmaps.com/browser.html

  • Problems in viewer

    I have problems in viewing my clips in continuous mode in the viewer.
    The first two seconds work, but after that its all jagged until video stops after 5-6 seconds and only audio continues!

    Please give exact information. What's the media? How it it get into your computer? What format, codec, frame rate, what drive is it playing off? There is simply not enough information here to make any kind of assessment.

  • PSP: problems with viewing data

    Hello.
    I'm currently working at on-line shop and have some problems with viewing data from database. When there is no much inserts to table its working very well. But after inserting all Inserts I have its acting weird.
    Sample with 10 INSERTS:
    http://gafgarion.atspace.com/psp/1.jpg
    Sample with 100 INSERTS:
    http://gafgarion.atspace.com/psp/2.jpg
    I'm using Oracle 9i. when I have more data in my database its acting weird. There is SELECT only from one table, but sometimes I have data from other tables aswell.
    I didnt touch any config files or something else. Only created new User and DAD.
    any ideas what should I do to fix that ??
    thnx in advice

    Hello,
    My guess is that you are speaking about PLSQL Server Pages (PSP), and the PLSQL Web Toolkit.
    This is why I do not think that you will have lot of answer since this forum is targeted toward Web Services developer (XML, SOAP, and so on)
    I am inviting you to ask your question on the general Oracle Application Server - General or PLSQL forums.
    Regards
    Tugdual Grall

  • Problem in Views!!!!!

    hi all of you......
    i have a problem regarding views, if any one can help........Thanks.
    I have 2 view name Emp1 and Emp2 respectively.......
    I want to know, if any one performs DML operations (insert, update, delete) on Emp1
    Emp2 should automatically be updated......(how to perform this, without using Triggers)
    THanks......Please reply

    You need to read the basic concept documentation about views.
    You will find it at http://tahiti.oracle.com
    Look for "View" and "Concept"

Maybe you are looking for

  • Problem with oracleasm

    Hi, I have a problem with oracleasm. I marking disk /etc/init.d/oracleasm createdisk VOL1 /dev/sdb1 The marking disk "/dev/sdb1" was success. *#Marking disk "/dev/sdb1" as an ASM disk: [ OK ]* Next I create diskgroup DATA using VOL1 and leater create

  • Final Cut Pro X problems with effects and grading

    I have just finishied cutting my first project in FCPX and I must say I'm amazed over how fun it is to work with it. However, I have some problems that I think is a bug or something related to my hardware, would like some input on this. My machine is

  • Web Dynpro with JDI

    Hello everyone, i installed and configured the JDI and all went well. So i wanted to give it a try. I setup a Product, added a SC at the SLD. I defined dependencies (SAP_BUILDT, SAP-JEE, SAP_JTECHS). I then created a track for this new SC and importe

  • Error Message - "Time Interval is not valid for dummy activities"

    Friends, I am trying to create a planned order on a resource at a plant. However it shows up an error message. An application program called an LCA routine. The following error occurred: Time interval is not valid for dummy activities. Probable cause

  • Folders I put in sidebar nonresponsive

    I am runing Mac OS X 10.6.8  In Finder when I try to open folders nothing happens.  When I try to move them to the desk top they come right back.  If I delete the folder will the files delete as well?  These are folders I use for work every day.