Bug: NullPointerException generating JHeadstart application

Hello

JDeveloper 11.1.2.3.0 using GENERIC_120914.0223.6276.1 and 11.1.2.1.28 JHeadstart. Following this tutorial: http://download.oracle.com/consulting/jhstutorial1112.pdf

I think the tutorial is obsolete (and there are a number of minor errors).

Jag - config.xml is at: http://pastebin.com/raw.php?i=LJ8vsyDb and http://pastebin.com/LJ8vsyDb

The application can no longer be generated. Product of the jdev.exe running from the command line:

INFO: Number of data controls: 1
JagRunnerCommand CONSTRUCTION
JHeadstart debugger: no debugging session with key does not exist: 'JAG. '
January 21, 2013 16:38:53 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML file [C:\projects\jdev_home\JHeadstartTutorial\ViewController\templates\config\jag-config.xml] bean definition
java.lang.NullPointerException
at oracle.jheadstart.dt.share.jdev.util.Bc4jUtils.isTopLevelUsage(Bc4jUtils.java:860)
at oracle.jheadstart.dt.jag.validation.PGModelValidatorImpl.checkTreeProperties(PGModelValidatorImpl.java:1186)
at oracle.jheadstart.dt.jag.validation.PGModelValidatorImpl.validateGroupAttributes(PGModelValidatorImpl.java:963)
at oracle.jheadstart.dt.jag.validation.PGModelValidatorImpl.validateGroup(PGModelValidatorImpl.java:428)
at oracle.jheadstart.dt.jag.validation.PGModelValidatorImpl.validateGroup(PGModelValidatorImpl.java:439)
at oracle.jheadstart.dt.jag.validation.PGModelValidatorImpl.validateBaseGroups(PGModelValidatorImpl.java:287)
at oracle.jheadstart.dt.jag.validation.PGModelValidatorImpl.validate(PGModelValidatorImpl.java:224)
at oracle.jheadstart.dt.jag.JhsApplicationGenerator.generateService(JhsApplicationGenerator.java:365)
at oracle.jheadstart.dt.jag.JhsApplicationGenerator.generateService(JhsApplicationGenerator.java:350)
to oracle.jheadstart.dt.jag.jdev.JagRunner$ 1.run(JagRunner.java:76)
at java.lang.Thread.run(Thread.java:662)
Uncaught exception
java.lang.ArrayIndexOutOfBoundsException: 1
at org.netbeans.Archive.flushCaches(Archive.java:246)
to org.netbeans.Stamps$ Store.store (Stamps.java:580)
to org.netbeans.Stamps$ Worker.run (Stamps.java:744)
java.lang.NullPointerException
at oracle.ideimpl.feedback2.client.FeedbackManagerImpl.showCustomerFeedbackDialog(FeedbackManagerImpl.java:543)
at oracle.ideimpl.feedback2.client.FeedbackManagerImpl.showFeedbackDialog(FeedbackManagerImpl.java:360)
to oracle.ideimpl.feedback2.client.FeedbackManagerImpl$ 2.run(FeedbackManagerImpl.java:238)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
to java.awt.EventQueue.access$ 000 (EventQueue.java:85)
in java.awt.EventQueue$ 1.run(EventQueue.java:603)
in java.awt.EventQueue$ 1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
in java.awt.Dialog$ 1.run(Dialog.java:1046)
in java.awt.Dialog$ 3.run(Dialog.java:1098)
at java.security.AccessController.doPrivileged (Native Method)
at java.awt.Dialog.show(Dialog.java:1096)
at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:853)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:650)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:621)
to oracle.jheadstart.dt.share.jdev.ide.DialogUtils$ 1.run(DialogUtils.java:213)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
to java.awt.EventQueue.access$ 000 (EventQueue.java:85)
in java.awt.EventQueue$ 1.run(EventQueue.java:603)
in java.awt.EventQueue$ 1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
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)

Any ideas how to solve this problem?

Thank you!

Thanks for the unit test.
My suspicion was right, when I try to run the tester on request of HRModule module, I get the following error:

(oracle.jbo.JboException) Houston-26059: invalid use of link see 'EmpManagerFkLink3 '. Either the "oracle.hr.model.service.HRModule.CreateEmployeesView" source or destination 'null' is not defined.

If you look in the XML application module, you can see the following:

<>
Name = "EmpManagerFkLink3".
ViewLinkObjectName = "oracle.hr.model.queries.EmpManagerFkLink"
SrcViewUsageName = "oracle.hr.model.service.HRModule.CreateEmployeesView"
Reversed = "false" / >
<>
Name = "EmpManagerFkLink2".
ViewLinkObjectName = "oracle.hr.model.queries.EmpManagerFkLink"
SrcViewUsageName = "oracle.hr.model.service.HRModule.CreateEmployeesView"
DstViewUsageName = "oracle.hr.model.service.HRModule.NewSubordinates"
Reversed = "false" / >

For some reason, the DstViewUsageName property is missing from EmpManagerFkLink3. That should not happen.
If you add this property, by copying from EmpManagerFkLink2, then everything works perfectly again, and the JHeadstart generator works OK.

The tutorial should be up-to-date, so please report any errors you find in the tutorial, so we can fix this.

Thank you
Steven Davelaar,
JHeadstart team.

Tags: Java

Similar Questions

  • HP Envy x 360 15-aq000nb QWERTY: azerty keyboard driver bug for <>------generating ctrl instead of mapping

    "Nine" HP Envy x 360 with Belgian azerty keyboard

    2 right of the space bar, marked as <>key positions-generates these values, but generates the code for the CTRL key instead.

    This may be a virus or other problem, because it is a new system "comes out of the box". I really suspect of a "Bug" here to test available for this particular model azerty

    The keyboard driver is standard supplied with the operating system of microsoft, called "Belgian Azerty comma.

    The operating system is on the last patch level

    HP drivers are on the last patch level

    I guess it must be declared as 'a problem' and not an 'incident '.

    See you soon,.

    Stefan

    An update on this:

    The keyboard permanently sends the keyvalue 'CTRL RIGHT'. I wouldn't not because in the majority of keyboard layouts, the button to the right of the "ALT GR" is indeed the RIGHT CTRL. But not on this Belgian AZERTY keyboard. He the key on this post is marked > <------(you access the backslash pressing alt gr with the key, you access the > organizing the passage)

    So I guess it's a problem of HP and a defect of product in a lot of these PC.

    I used after derivation of the to solve for me (but I guess there is still a bug for HP):

    Using the free software SharpKeys. http://SharpKeys.codeplex.com/
    I remapped in the registry (E0_1D) right CTRL key 0 x 0056 (00_56)

    This solved it for me.

    Hope that HP takes knowledge to check if there is a production fault in this batch of HP envy

    See you soon,.

    Stefan

  • bug cycle generating function to have to

    Hello!

    I put the function generator at 1 kHz, 25% from the simulation, its ok, but when I click on the arrow pointing upwards on the cycle to increase one percent, the output of the unit is now 100-26 = 74%.  And therefore, work is reversed. (see: 11.0.278)

    Hello

    I just learn from our developers. The issue has been reproduced and entered into their system with the ID report bug: 117065. The fix will be included in one of future versions. There is no direct workaround solution. If you have an educational version of Multisim, you can use the input of the generator with NOR-ELVISmx drivers - this one works very well. Please let me know if there is anything else I can help you.

  • BlackBerry 10 functions and features OS 10.3.2.2876 BUG... android applications do not uninstall

    Since the OTA update to the latest OS that pushed today, I am unable to uninstall Android applications. If you delete the app/uninstall since is the home screen or via monitor/storage device, and then confirm by Commander android app or ghost runtime settings, the app is still there.

    Many users on crackberry have the same problem on all BB10 devices since the update of the OS was pushed.

    Someone at - there a solution or is this a bug in the kernel of the operating system, as all the world reported on crackberry.

    Here is a link to one of the threads with multiple users having the same problem.

    http://forums.CrackBerry.com/Android-apps-Amazon-store-APK-files-F413/cobalts-official-Google-Apps-l...

    A workaround is to install the runtime Android 10.3.2.2813 and Knowyou.  Once the files are installed, you can delete apps normally.

    Link to files: mega: / / / #! 9JIhFIyJ! GYnFXMeLDn1mLPtE-3xOP36HzAyaxbjpSCZBeHP1ueQ

    Link to Knowyou: https://github.com/xsacha/Sachesi/releases/tag/2.0.2

  • NullPointerException when starting application MAF

    I get a "java.lang.NullPointerException" when I launch a specific application of the MAF (it does not affect all, only this one). I ran the debug and the stack trace is:

    java.lang.NullPointerException

    to oracle.adfmf.container.EmbeddedFeatureInformation. < init >)

    at oracle.adfmf.container.EmbeddedApplicationInformation.getAllFeatures)

    to oracle.adfmf.container.EmbeddedApplicationInformation. < init >)

    at oracle.adfmf.framework.api.AdfmfJavaUtilities.updateApplicationInformation)

    at oracle.adfmf.framework.EmbeddedFeatureContactManager.start)

    at oracle.adfmf.framework.JavaFramework.main)

    at java.lang.reflect.Method.invoke)

    at sun.mic.CVM.runMain)

    Any ideas what the cause?

    Please check if you have saved all of the features in CRG - application.xml.

    -Rambeau

  • APEX Bug: Creation Bug, or make the Application Builder

    In the page editing screen application Builder:

    -Click the icon of legend at top right (left of the lock icon)
    -You have the option to create a task, a bug, or comment
    -Click on a task or a Bug
    -Scroll on the pop-up screen and in a context of application they have no application or pages to choose from

    The problem disappears if you use the create menu (top-right)
    -Select this option to make or Bug
    -If you scroll on the pop-up screen in a context of application good application numbers and page are displayed.

    Martin
    -----
    http://www.talkapex.com

    Thanks Martin. It is now classified as Bug 10267913 to fix in the APEX 4.1.

    Joel

  • Deployment of a JHeadstart application components?

    I wonder how to deploy the application in a small project of JHeadstart. The application needs windows key and 12 Assistant windows.

    As the windows Wizard (of course) are closely related to one of the two main windows there is an application definition file (listing all the wizard and the main window).

    Currently, the entire application is deployed at the same time. It works very well. What I want is to deploy only the parts of the application, allows not to say that new wizards has not been deployed.

    My question is if it's OK and advicable to deploy parts of the application. If so, I don't expect to get all the details on how to do it here. Reading tips would be appreciated.

    J2EE only allows for the deployment of a complete web application. You cannot transfer (new) parts of a web application.

    So, if you want to deploy the wiuzards separately, then you must create separate ViewController projects and deploy them as separate web applications. But then they do not share session state, and users need to reconnect for each wizard (unless you use Single Sign-On).

    Steven Davelaar,
    JHeadstart team.

  • Generate the Application 7 error

    Hey everybody,

    I had a computer problem, and HE had to reinstall some hardware on my PC - now when I try to compile the application it comes up with error 7, no matter where I put it. It seems that is not the creation of the file at the destination. Any thoughts on how to solve this problem?

    Thank you

    Anthony

    See the .VI really doesn't help us.  Nothing seems obviously wrong in it.  And the problems with creating applications are more likely to be caused by a parameter in the Build specification in the Project Explorer of what anyone in a VI.

    Have what hardware changed on your PC?  Was - this hardware DAQ?  Was - this PC hardware such as a hard drive?  Is it possible they did more that you thought they were like changing user permissions or take away admin rights?  You are an administrator on your computer?

    Error 7 is file not found.  Which tells me that it is more likely, that it is trying to find a file to read.  I guess it's also possible that it is looking for a location to save the file, but perhaps this path no longer exists.  Check all path definitions in your build specification to ensure that they still exist.  Perhaps there is a subtle change that was not obvious as a path now as a space at the end.

  • Install LV2009 SP1 - generator of Application activated but does not

    Installed the SP1.  Have activated the application builder in the License Manager.  Always impossible to run a build.  I see the yellow exclamation on my generations within projects.

    I tried many repairs and de-activations and re-activations.  I tried to go back to LV 2009 (prior to SP1).  Still did not work.

    How can I fix?


  • Weird bug Simulator runs several applications of JQuery

    Just noticed some really strange behavior in the Simulator. I have three JQuery based applications that all work well, but not when one of the other is already running. When this is the case, a second launched application does not start. It freezes on the loading screen of your application.

    This problem is listed ot the list of known issues:

    After you've started a BlackBerry WebWorks application in the BlackBerry® Tablet Simulator, other BlackBerry WebWorks applications will not start. (1158697)
    
    Impact: You cannot run multiple browser-based applications at the same time.
    
    Workaround: Only run one browser-based application at a time.
    

    Link: http://docs.blackberry.com/en/developers/deliverables/24007/BB_WebWorks_SDK_Tablet_Known_Issues_Beta...

  • 4.2 DOC BUG: all about the application process

    "There is an error in Oracle Application Express Application Builder User Guide version 4.2 §8.8.1 " "on the implementation of the application process":

    A process On Demand is a special type of procedure of demand that has a Point of On Demand process and executes when it is called from a process On demand page level or a browser AJAX call. On-demand processes are useful when you have logic of PL/SQL that you want to run different execution points on several pages.

    At the request of the process generally must be created on a page and not at the level of the application. On request, process created at the application level are created with an initial authorization scheme of must not be Public user. This prohibits the process invoked with users in authenticated sessions.

    As it is perfectly possible (and desirable) at the request of the application process to be invoked, [that] by authenticated users, this should probably read:

    A process On Demand is a special type of procedure of demand that has a Point of On Demand process and executes when it is called from a process On demand page level or a browser AJAX call. On-demand processes are useful when you have logic of PL/SQL that you want to run different execution points on several pages.

    At the request of the process generally must be created on a page and not at the level of the application. On request, process created at the application level are created with an initial authorization scheme of must not be Public user. This forbidden process be invoked from users not authenticated sessions.

    In addition, the second paragraph is a new addition to the documentation for APEX 4.2. What is the reasoning for not creating processes on request at the application level? I've used them for a few years as a way to provide reusable, application- wide (for example, the file downloads and the AJAX content) only items authenticated Apex sessions.

    Hello

    Thanks again. I added a note to the 5.0 docs.

    It is certainly very good create processes at the level of applications On Demand. However, if a process is tied to a single page, only, it is immediately obvious that the process belongs to the interface of this page. It's good from a maintenance point of view, because if you only use application-level processes, it may be more difficult to determine if the process is still in use and where it is called from.

    Kind regards

    Christian

  • BUG: APEX 4.1 Application Builder: LOV query Source

    APEX 4.1.0.00.32 on apex.oracle.com

    The following SQL code is rejected as a dynamic source query LOV in the LOV Wizard (page 4007) and shared components > list of values (page 4111):
    select lov_value lov_label, lov_value
    from
      (select 'Mens' lov_value from dual
      union all
      select 'Womens' from dual
      union all
      select 'Accessories' from dual)
    with
    >
    1 error has occurred
    < li > LOV query is not valid, a display and a return value, column names must be different. If your query contains a query online, the first CLAUSE in the SQL statement must not belong to the query online.
    >
    Don't see how it violates the rules?

    However, change in the body of a function that returns a SQL query and it is allowed on two pages:
    return q'{
    select lov_value lov_label, lov_value
    from
      (select 'Mens' lov_value from dual
      union all
      select 'Womens' from dual
      union all
      select 'Accessories' from dual)}'
    And the SQL of origin is recognized as a local of LOV definition to edit the Page item (page 4311).

    Hello

    I filed bug # 13520001 to change the checking logic of the wizard named LOV to use the same controls that we do on "Edit Item Page" (4311).

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Z5 MM NullPointerException: causes Resources.getConfiguration () force close in several applications

    SEE Issue tracker here.

    Bug in ROM impacting applications more and more:

    • Keep - trying to set a reminder to place causes force close.
    • Tasks - [same],
    • Hangouts - send causes of the situation force close of play services.
    • Security-> approved locations - trying to create confidence place causes force close.

    I wiped, then fresh installed 32.1.A.1.163. This bug yet.
    Ask yourself:

    1. everyone knows this problem
    2. If you are not affected by this bug, could you give your ROM version (so I can flash!)

    Update:
    Bug fixed in build 253.

    Received notification OTA and set updated to 253. Reminder of the location enabled in the Dungeon, bug is is more exposed.

  • How to analyse the core dump generated by the user application

    My user application developed for ESXi 5.5 occasionally generates signal SIGSEGV, causing in turn core dump generated.

    I used this command to enable the generation of core dump in the directory/var/core.

    / sbin/vsish EI configuration/userworld/global/coreDumpEnabled 1

    After dump generated, I tried using esxcfg-dumppart to extract the logs of information, according to this link http://kb.vmware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 1006796

    But it seems that this tool is intended only to analyze the kernel image.

    / var/core # esxcfg - dumppart - L appdump - zdump.000

    Error running command. Failed to retrieve the log. Cannot find a valid dump VMKernel file. Partition of discharge can be uninitialized.

    Is it possible to analyse the core dump generated by application "userland" in ESXi 5.

    Thank you

    Arun

    Hi arunkrish,

    OK, this tool (esxcfg-dumppart) is exclusively for the extraction of a file readable to vmkerneltext - zdumps.  The recommended method for the guest operating system dumps review is vmss2core which gives you the news crashdump desired in a format readable by the debugger for the OS in question asked.  As I understand it, the * zdump.000, * zdump.001, etc., are questions of trapping in the VM (i.e. rather than the GS) level.

    I think that only VMware support can read these basic gos/vmx dumps that you are trying to review (I hope I'm wrong).  However, you can try your luck opening them in a debugger pro such as IDA Pro (speculation).  They have a free trial version.

  • tutorial for migrating an application JHeadstart. 10g to 11g ADF

    Hi, is there a tutorial on migrating a 10g ADF application developed using JHeadstart application of ADF 11 g which also supports JHeadstart.

    Only found this [http://www.oracle.com/technology/products/jdev/collateral/migration.html] which is not related to the JHeadstart.

    Thank you.

    It is documented in the notes.

    Steven Davelaar,
    JHeadstart team.

Maybe you are looking for