Error null.app when packaing Swing/JavaFX apps

Hello

On Mac OS X Lion, using Java SE 7 update 6 and 7.2 Netbeans I try to create a native bundle for a combined swing / JavaFX app.

A test, I use the sample application JavaFX 2.2, SwingInterop

and using the Ant of this Oracle blog code:

https://blogs.Oracle.com/talkingjavadeployment/entry/packaging_swing_apps_with_integrated

The problem I have is that the build fails so does not .app or .dmg files.

The source of the problem seems to be that rather than create SwingInterop.app generation is trying to build, "null.app." In the output log, I get:

Creation bundle app: /Users/simon/NetBeansProjects/JavaFXSwingApplication5/dist/bundles/null.app
Package building for null DMG


I have no problem to create DMG files for pure JavaFX applications. I wonder if the Ant code < target > to:

https://blogs.Oracle.com/talkingjavadeployment/entry/packaging_swing_apps_with_integrated

actually works? Or if there is something seems wrong somewhere else in my build.xml file.

My complete build.xml for this project looks like this:


<? XML version = "1.0" encoding = "UTF-8"? >
<!-you can freely modify this file. See comments below for-> blocks
<!-some examples of how to customize the building. ->
<!--(si vous le supprimer et rouvrez le projet, il sera recréé.) ->
<!-by default, only Clean orders and Build using the build script. ->
<!-such commands that run, Debug, and Test to only use this version of the script if->
<!-the compile on save feature is disabled for the project. ->
<!-you can disable compilation when recording (or deploy when recording) setting->
<!-in the project properties dialog box. project->
< project name = default "JavaFXSwingApplication5" = "by default" basedir = "'." xmlns:fx = "javafx:com.sun.javafx.tools.ant" > "
< description > creates, tests and manages the JavaFXSwingApplication5 project. < / description >
< import file="nbproject/build-impl.xml"/ >


< target name = "- post - jar" >
"< taskdef resource="com/sun/javafx/tools/ant/antlib.xml.
URI = "JavaFX:com. Sun.JavaFX.Tools.ant ".
classpath="${JavaFX.Tools.Ant.jar}"/ >

<! - mark as the Swing-based application - >
< fx:application id = "swingFXApp" mainClass = "${main.class} ' toolkit = 'swing' / > '"

<!-create doubleclickable with built-in-> Launcher jar file
< fx:jar destfile = "${dist.jar}" >
< dir="${build.classes.dir}"/ fileset >
< fx:application refid = "swingFXApp" name = "JavaFXSwingApplication5" / >
<>Manifesto
< attribute name = "implementation-seller" value = "${application.vendor}" / >
< attribute name = "implementation-Title" value = "${application.title}" / >
< attribute name = value 'implementation-Version"="1.0"/ >
< / manifesto >
< / fx:jar >

<!-sign application jar. New certificate of self-signed use-->
< file="${build.dir}/test.keystore"/ delete >
< genkey alias = 'TestAlias.
storepass = 'xyz123' keystore="${build.dir}/test.keystore '.
dnom = "CN = samples, OU = JavaFX Dev, O = Oracle, C = US" / >
"< fx:signjar keystore="${build.dir}/test.keystore ".
alias = storepass "TestAlias" = "xyz123" >
< file = "${dist.jar}" / fileset >
< / fx:signjar >

<! - generate JNLPs, HTML and native harnesses - >
< fx: deploy the width = "960" height = "720" includeDT = "true".
nativeBundles = "all".
embedJNLP OutDir = "${basedir} / ${dist.dir}" = 'true' "
OUTFILE = "${application.title}" >
< fx:application refId = "swingFXApp" / >
< fx:resources >
< fx:fileset dir = "${basedir} / ${dist.dir} ' includes ="JavaFXSwingApplication5.jar"/ >"
< / fx:resources >
< fx:permissions / >
< info title = "sample application: ${application.title}" "
Vendor = "${application." Vendor} "/ >"
< / fx: deployment >
< / target >
< / project >


For more information, the build error given by Netbeans is given as

/ Users/simon/NetBeansProjects/JavaFXSwingApplication5/build.xml:108: null

the links to the next line in the file build.xml

OUTFILE = "${application.title}" >

which is part of the fx: deploy the tag.

Any ideas gratefully received.

Please

1 paste here manifest starting at ${dist.jar}

2. click on the icon 'tools' in the build output window and Ant output mode "verbose".
Do you see more detailed exceptions?

In addition, this is incorrect:

If refid is used all other attributes are ignored.
Try the movement name attribute to the

Tags: Java

Similar Questions

  • I get the error message: 1 when you try to download the creative application of cloud. I tried rerun the installation and use of the cleaning tool. I can not uninstall and reinstall the app because there never have down loaded initially.

    I get the error message: 1 when you try to download the creative application of cloud. I tried rerun the installation and use of the cleaning tool. I can not uninstall and reinstall the app because there never have down loaded initially.

    Try with the solution provided in the link below:

    ERRO 1: Creative cloud cannot install

  • Good day, I get an error code 205 when I try to download adobe creative cloud desktop app, can someone help me solve this problem? Keep in mind I am not very technical, (smile).

    Good day, I get an error code 205 when I try to download adobe creative cloud desktop app, can someone help me solve this problem? Keep in mind I am not very technical, (smile).

    Hi Djseva,

    I think the error you encounter can be solved easily by following a few simple steps from the document below:

    Error downloading creative cloud applications

    If the document does not resolve the problem for you, don't hesitate to go back to Support Adobe & we will be more then happy to help you further by the following link below:

    Contact the customer service

    See you soon!

    MD

  • Error message at startup: error loading: \App Data\Roaming\pxma2.dll C\Users\ (my name). Access denied

    Hello activity (yet) on Vista 32 bit, I receive a message (at the start). Error loading: \App Data\Roaming\pxma2.dll C\Users\ (my name). Access denied. Please notify.

    Hello

    Cannot find this file on Google so you probably dodged some software malware and you should do a
    very thorough control. Message on how to remove the error message if still it y
    After the audits of malware.

    If you need search malware here's my recommendations - they will allow you to
    scrutiny and the withdrawal without ending up with a load of spyware programs running
    resident who can cause as many questions as the malware and may be more difficult to detect as the
    cause.

    No one program cannot be used to detect and remove any malware. Added that often
    easy to detect malicious software often comes with a much harder to detect and remove the
    payload. So its best to be now too thorough than paying the high price later. Check
    with an extreme overdose point and then run the cleaning only when you are very
    that the system is clean.

    It can be made repeatedly in Mode safe - F8 tap you start, however, you should
    also run in regular Windows when you can.

    Download malwarebytes and scan with it, run MRT and add Prevx to be sure that he is gone.
    (If Rootkits run UnHackMe)

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Malwarebytes - free
    http://www.Malwarebytes.org/

    Run the malware removal tool from Microsoft

    Start - type in the search box-> find MRT top - right on - click RUN AS ADMIN.

    You should get this tool and its updates via Windows updates - if necessary, you can
    Download it here.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN
    (Then run MRT as shown above.)

    Microsoft Malicious - 32-bit removal tool
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&displaylang=en

    Microsoft Malicious removal tool - 64 bit
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=585D2BDE-367F-495e-94E7-6349F4EFFC74&displaylang=en

    also install Prevx to be sure that it is all gone.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Prevx - Home - free - small, fast, exceptional CLOUD protection, working with the other security
    programs. It is a single scanner, VERY EFFICIENT, if it finds something come back here or
    Use Google to see how to remove.
    http://www.prevx.com/   <-->
    http://info.prevx.com/downloadcsi.asp  <-->

    Choice of PCmag editor - Prevx-
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

    Try the demo version of Hitman Pro:

    Hitman Pro is a second scanner reviews, designed to save your computer from malicious software
    (viruses, Trojans, rootkits, etc.). who infected your computer despite safe
    what you have done (such as antivirus, firewall, etc.).
    http://www.SurfRight.nl/en/hitmanpro

    --------------------------------------------------------

    If necessary here are some free online scanners to help the

    http://www.eset.com/onlinescan/

    -----------------------------------

    Original version is now replaced by the Microsoft Safety Scanner
    http://OneCare.live.com/site/en-us/default.htm

    Microsoft safety scanner
    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    ----------------------------------

    http://www.Kaspersky.com/virusscanner

    Other tests free online
    http://www.Google.com/search?hl=en&source=HP&q=antivirus+free+online+scan&AQ=f&OQ=&AQI=G1

    --------------------------------------------------------

    Also follow these steps for the General corruption of cleaning and repair/replace damaged/missing system
    files.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type this into the search-> find COMMAND to top box and RIGHT CLICK-
    RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker
    (SFC.exe) program generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Run checkdisk - schedule it to run at the next startup, then apply OK your way out then
    turn it back on.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    -----------------------------------------------------------------------

    If we find Rootkits use this thread and other suggestions. (Run UnHackMe)

    http://social.answers.Microsoft.com/forums/en-us/InternetExplorer/thread/a8f665f0-C793-441A-a5b9-54b7e1e7a5a4/

    I hope this helps.

  • Local event ERROR: oracle.apps.ar.applications.CashApp.

    Hello

    I get frequent error notifications in my system of production with error message:

    Local event ERROR: oracle.apps.ar.applications.CashApp.apply / oracle.apps.ar.applications.CashApp.apply_3336277_03 - 04-2012 14:31:15

    These notifications are generated in 100 per day and has reached more than 200 thousand now.

    Please suggest how to solve this problem.

    Thank you.

    Post the details of the version of the application, the database version and the OS.

    How do you get this error? What is the navigation path?

    Please see these documents.

    ARXRWMAI - receiving application generates workflow Notification with the error - error event Local: oracle.apps.ar.applications.cashapp.apply [ID 973074.1]
    Get the error ORA-06502 offline Business Event Oracle.Apps.Ar.Applications.Cashapp.Apply [ID 951986.1]
    Why the AR_TRX_BAL_SUMMARY table is out of date? [1315993.1 ID]
    Problem when refresh AR Transactions summary tables fills WF_DEFERRED. [378279.1 ID]
    Error AR_EVENTNOTFOUND in ARXRWMAI when the receiving application [841111.1 ID]

    Thank you
    Hussein

  • RW-50011: error:-connection Apps ORACLE_HOME test returned an error

    HII...


    I was installing r12 on my machine of oel4.
    The installation is completed with error in.

    (1) availability of data base: RW-50011: error:-connection Apps ORACLE_HOME test returned an error
    (2) login page:
    (3) configuration Upload
    (4) JSP


    Unfortunately, I run the rapidwiz as long as user root... will that be a problem. ??? the stage12i is also under different OS users owners with permission set as 777.


    Please suggest any help.


    Thank you.

    /U01/Oracle/prod/inst/apps/PROD_msftrac2/logs/ora/10.1.3/opmn/opmn.log (permission denied)

    Seems like user of the application you want to start to do not has permission on above dir... It should start with the user of the application used when installing... If you use only and then also get the error even then for trial give 777 privs on all the dir apps and see if you are able to move forward.

    Thank you
    JD

  • error installation app compared to clouds - first time in this machine

    Error installing app of the cloud on my macbookpro (Lion) - first time in this machine - prior installed on other successes of win7 machine

    I tried to install an App or creative cloud on my macbookpro old but seemed below error...

    Note Please that I have also buy advance cloud, FB 4.

    I LOGGED IN the SUCCESS OF https://creative.Adobe.com/apps

    BUT WHEN I TRIED TO INSTALL EDGE APPEARED... Well?

    creative cloud mac problem.jpg

    The error of the Adobe Application Manager indicates it is already running.

    Try to kill all running instances by using the activity monitor, or reboot the machine. Then try again with the installation.

  • Error: Dps App Builder

    Hello

    I am trying to download the ipa of my application, but the DPS App Builder gives this error.

    Captura de tela 2012-09-18 às 10.32.54 AM.png

    This error is the App Builder?

    Thank you

    Dirce

    Hi Dircr,

    Please follow this KB:

    http://helpx.Adobe.com/Digital-Publishing-Suite/KB/app-Builder-23-error-NULL.html

    Laxman

  • "The installation failed. Cannot move file"error Illustratior app

    Hi, could not install the error message App illustrator "Installation failed. Cannot move the file. Rename the file and try again." Link "learn more" redirects to an ADS folder (with subfolders of the resource and ADS.pimx and Adobe Desktop Service.exe, customHook.

    Any help is appreciated!

    Thank you

    Thank you

    before you ask, I have checked the log files, but the only action proposed would be to rename a file. It was not clear that one.

    After re-downloaded several times the issue seems to have resolved itself.

  • IIS on Windows Server 2012 R2 8.5 sends error 401.2 when change password Administrator windows local, 500 errors

    IIS on Windows Server 2012 R2 8.5 sends error 401.2 when change password Administrator windows local, 500 errors

    This particular configuration is with Coldfusion 11. There is no errors in newspapers and the w3 service still works as are application pools. All websites and app pools run with transmission of authentication request.

    ColdFusion does not work with windows authentication and may be enforced as if reconfigured integrated instance to do this, if this isn't a matter of colfusion.

    Here is what I tried:

    1 I created a new user account with admin rights and disconnected and logged in as them and then make changes to the password on the server, and that didn't make a difference.
    2. I checked that all Web sites using the request pass through authentication.
    3. I checked that the application pool is also using the application-pass-through authentication.
    4. I looked to find errors in which case newspapers but don't see anything there either
    5. I also searched a failure in coldfusion logs and saw no more relevant here either, but I got colfusion running without IIS in any case.
    6. search of the roots of web for coded passwords hard and found nothing.

    If you have any ideas or any ideas let me know.

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums:

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

  • Ox80240031 error message came when I tried to download 8.1

    I can't connect to Windows Store (I have Windows 8) therefore impossible to download 8.1 Windows or any application store (I've tried several apps and same error message came).   Ox80240031 error message came when I tried to download 8.1

    Computer recently crashed, previously had had no trouble to download apps and 8.1.  Now new hard drive and motherboard.

    Separated from: https://answers.Microsoft.com/en-us/Windows/Forum/windows_8-performance/ox8086000c/69a57a4b-a5f1-4278-8a5d-8941bee563d9

    Hello

    Before the update to Windows 8.1 did refresh you your PC?

    Are all important updates installed?

    Try the Karthick Vengaloor

    http://answers.Microsoft.com/en-us/Windows/Forum/windows8_1-windows_install/error-ox80240031-when-downloading-Windows-81/21ddd3be-491C-44D0-9B50-01adf302734a

  • I get an error Code 49 when you try to update my applications. I emptied my Temp folder. I have a Mac. Help, please.

    I get an error Code 49 when you try to update my applications. I emptied my Temp folder. I have a Mac. Help, please.

    Hello

    Reference:--

    Open the Temp folder.

    Clear the contents of the Temp folder.

    Disable your Antivirus and firewall computer for awhile.

    Launch Desktop CC and try to download Apps.

    You can also consult the document below.

    Error downloading creative cloud applications

    Hope this helps!

  • RW-50004 error code receive when executing external processes

    Hello

    I am stuck at the EBS r12 as the solution that is suggested by Hussein Setup error in
    problems running autoconfig on db level

    I am unable to apply the patch according to Note ID 1103163.1 as layer Apps is not fully created yet
    Could someone please suggest on this
    As
    During the installation of EBS R12 on 6 OEL (Hat Enterprise Linux Server 6.0 release (Santiago) 2.6.32 - 100.28.5.el6.x86_64... Red)

    40% of rapidwiz Installation I got this error
    RW-50004: Error Code received when running external processes

    And the output of /oracle/VIS/db/tech_st/11.1.0/appsutil/log/VIS_ebs/03231801.log
    has shown this error

    Value of context management will now update the context file

    UnsatisfiedLinkError exception loading native library: njni11

    Updating the file context... COMPLETED
    Attempt to download file context and patterns of database... COMPLETED
    Updated version of RDBMS in the context to db111 file
    Updating RDBMS type in the context in 64-bit file
    Set ORACLE_HOME models...

    AutoConfig completed successfully.


    adconfig - log showing this error! *


    Update of the variables in the local context for database layer file
    Get the listening port of /oracle/VIS/db/tech_st/11.1.0/network/admin/VIS_ebs/listener.ora
    Exception occurred during the preset of the variables in the context file: java.lang.reflect.InvocationTargetException


    StackTrace:
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance (unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (unknown Source)
    the impossible (unknown Source)
    at oracle.apps.ad.tools.configuration.CVMHelper.getCurrentPort(CVMHelper.java:601)
    at oracle.apps.ad.tools.configuration.CVMHelper.processDBTierListener(CVMHelper.java:488)
    at oracle.apps.ad.tools.configuration.CVMHelper.processLocalConfig(CVMHelper.java:771)
    at oracle.apps.ad.context.CtxValueMgt.preSeed2Ctx(CtxValueMgt.java:1813)
    at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:1610)
    at oracle.apps.ad.context.CtxValueMgt.main(CtxValueMgt.java:755)
    Caused by: java.lang.UnsatisfiedLinkError: oracle.net.common.NetGetEnv.get (Ljava/lang/String ;) Ljava/lang/String;
    at oracle.net.common.NetGetEnv.get (Native Method)
    at oracle.net.config.Config.getNetDir (unknown Source)
    at oracle.net.config.Config.initConfig (unknown Source)
    to oracle.net.config.Config. < init >(Unknown Source)
    ... more than 10


    For that I have referred to the metalink Note ID 1103163.1 is suggested here problems running autoconfig on db level
    and found that
    * # $Header: adcvm.sh 120.3.12010000.2 2008/09/23 05:30:32 rdamodar ship *.
    * # $Header: 120.15 adbldxml.pl 12/03/2008-17:10:12 subhroy ship $*.
    Instead of (should according to the note ID 1103163)
    adcvm.sh 120.3.12010000.5
    adbldxml.pl 120.15.12010000.5

    so I try to apply the Patch
    patch 8919489 R12. T2K. B.Delta.3
    patch 9852070 R12.TXK.B

    But since Installation of the EBS r12 is 40%... then apply the Patch AD is not possible because there is just no App_TOP or is not entirely created yet.

    Could someone please tell what is the workaround here.


    Thank you
    MZ

    Please re - check again...
    Linux 6 is not registered with DB 11.1.0.7
    Linux 6 is certified with EBS R12.1.1
    .
    If you want tobe on Linux6...
    .. then to have DB 11.2.0.3 first, then plan to have EBS R12.1.3 installation on top of the DB 11.2.0.3

  • The backup disk image ' / Volumes/Data/iMac.sparsebundle ' could not be found (error (null))

    Hello

    I have a 27-inch iMac late 2013, 3.2 Ghz intel Core i5, 8 GB 1600 Mhz DDR3. I get the tracking error when you try to save it on my time capsule.

    The backup disk image ' / Volumes/Data/iMac.sparsebundle ' could not be found (error (null))

    I have another iMac and Mac Pro that save in the capsule of time without any problem.

    Can anyone help?

    Thank you

    You try Time Capsule stop and unplug for 1 minute. Then reset the SMC on the iMac by Intel iMac LANDAU and SMC will reset and restart the iMac and restart the TC and retest Time Machine.

  • Purble Place - "error NULL unexpected occurred.

    When I play pairs on purble place that I get an error message "error NULL unexpected has occurred" and the program stops
    ideas for what causes this or how to fix it?

    Try:

    1. click on Start (lower-left) and then on Control Panel.

    2. click on programs and features.

    3. on the left side of the screen, click on 'Windows turn features on or off".

    4 find the entry called games and expand using the sign «+»

    5. uncheck the box for Purble Place.

    6. click on OK.

    7 restart the PC.

    8. click on Start (lower-left) and then on Control Panel.

    9. click on programs and features.

    10. on the left side of the screen, click on 'Windows turn features on or off".

    11 find the entry called games and expand using the sign «+»

    12. check the box for Purble Place.

    13. click on OK.

    14. restart the PC.

Maybe you are looking for

  • Stop auto play of video in Safari on the Sierra?

    I upgraded to Sierra and I used to be able to use a fantastic extension called ClickToFlash, which would replace all the Flash on a web page with a white window and I would click above to load the Flash content. This extension does not work on Sierra

  • Sleep and power settings screen saver

    What 'time settings' should I use for computer 'screen saver' and 'sleep' when you use a "PASSWORD" to login? I don't want my current settings for me to enter my hours additional p.w. cause my screensaver lights up or my screen will Dim.  I noticed t

  • URL AutoFill

    How can I get the top search bar for no auto not fill my favorite sites when you try to enter a search? If, for example, I get 'f' it automatically facebook.com fills and will continue to the end of the ".com" with what I type to search. In this case

  • El Capitan 10.11.5 made everything worse

    When I upgraded to the departure of El Capitan, I noticed several problems, including difficulties for start up after installation, slow processing speed and shorter battery life. Since this update I have not been able to close down my MBP - my offic

  • Limit the number of messages on iOS?

    How can I limit the number of messages stored on my iPhone IOS 9? I want to limit it to a fixed number or a time - week or month. I use my iPhone to check incoming messages and always use my computer to reply to messages. TIA Hans