debugging of the MAF staff tutorial
I have struggled with the tutorial for MyMobileApp but had it works, then the employees tutorial, I get errors that I need a little help with. I have deployed employees successfully on my phone HTC One, so I have the working process, now need to fix this thing.
First question is, can simply test you in JDeveloper without the emulator or a physical device attached?
Here is my error. Simple help page works well.
Don't know if that makes a difference, but when I was working in the tutorial, there is a difference that I noticed:
-in step 1, point 6, the tutorial says "mycomp. Application', but while browsing on JDeveloper 12.1.3 on my machine, she just said 'Application', which I accepted.
-in step 1, point 8, the tutorial says "mycomp.mobile", but when browsing, my machine just to say 'mobile', that I accepted.
I also had a bit of trouble with the step 5: create and test UI, # 8 Expand the Data Controls palette to see the control of EMP data and # 9, drag the EMP collection from the EMP data control to the Panel Page node in the Structure window and drop the collection as a ADF Mobile List View , and # 18 JUST as you did for the empList, made page drag the PGE collection from the EMP data control to the Board Page node in the window Structure, but this time, let it fall like a Graphic, ADF Mobile but eventually I was able to do work, better than I can tell.
This is my mistake, not sure where to look for debug.
Why are you doing a tutorial that caters to the 11.1.2.4 version of JDeveloper and using JDeveloper 12.1.3?
You must use the current tutorial for MAF:
Oracle Mobile Application Framework - learn more
It seems that somewhere along the way when you got things wrong that you messed up the mapping between objects on your page and the link to the page.
The great tutorial and see if it works better.
Tags: Oracle Mobile
Similar Questions
-
I use JDev 12.1.3.0, updated to include the MAF 2.1.1 and am using 1.8.0_45 and 1.7.0_79 of JDK.
I have the SDK with Tools 24.1.2, tools 22, Build-tools 22.0.1 platform and from the 21 API, but I don't think I even got that far...
So, for some reason, then the creation of two public classes in the same package, they do seem to see each other.
The flags of the code editor, any mention of each and the other classes as "< < WhateverClass > > Type not found", even after an explicit import.
A screenshot showing the error is included.
The classes are created by simply clicking on the ViewController project, then 'new' then selecting class Java and accepting all the default values.
Everything I do is add a class EMP member to EMP, both in the mycomp.mobile package.
This happens even if I don't use the prefix of the tutorial "mycomp" from the appointment package.
At first, I noticed that when following the tutorial staff then again when downloading the employees project completed, which also shows the same problem when I open it.
When I create any other application, same and asks the ADF, this does not happen.
I thought that maybe it's something to do with the fact that the MAF uses JDK 8 while JDev runs on JDK 7?
Anything I'm doing wrong?
Any help is appreciated!
I can't reproduce this behavior in my environment, there might be something specific to your installation.
Can you try deleting the IDE system directory and restart JDeveloper? to find the location of this directory see help-> about-> properties-> de.system.dir
-
[MAF - AMPA] Strange behavior of the MAF with REST service
Hi MAF Experts.
I just noticed that there is a strange behavior in my application of the MAF. The first loading of the page, amx:page does not make its contents (of REST). However if I kill the app and relaunch the app, content appears.
Pattern:
- Start of the CRG App
- Opening of session
- Dashboard (the content is rendered)
- Go to any other aspect (lets say a list of products)
- Open product list (content do not get returned)
- Kill the MAF application
- Start of the CRG App
- Dashboard (the content is rendered)
- Go to the product list
- List of products (content gets rendered)
I put a few breakpoints on EntityCRUDService and RestPersistenceManager.
So far it return the list of entities and display the correct data (from watches in debug mode)
Last thing I noticed is the red color below. She defined the EntityList with the new value of REST (This displays a correct value).
TaskExecutor.getInstance (.execute (isDoRemoteReadInBackground ())
, () -> {
Auto Sync all actions pending first, pass false for inBackground because
We want to process actions pending before the reading distance
getDataSynchManager (.synchronize (false));
The list of entities < E > = executeRemoteFindAll();
If (entities! = null)
{
When an error occurs (for example server is not available, the method returns the value zero)
setEntityList (entities);
}
});
Any suggestion?
All the rest service are configured with AutoQuery = true in the persistence - mapping.xml
See you soon,.
Hendry
Hendry,
Thanks your testcase, I was able to understand the problem.
It turns out that MAF 2.1 has problems dealing with the advanced way in which AMPA running background tasks with the help of a thread in all of features.
We have slightly modified the implementation in AMPA to use one thread per function and now the update issue is resolved. I sent you a link to new construction.
We will publish the new generation soon on GitHub so that others can benefit in the same solution.
Steven Davelaar,
Oracle Mobile A-team.
-
Unable to deploy the MAF application on the emulator or device in the last downloaded SDK
Hello
Jdev: 12.1.3
I was working at the request of the MAF with old android SDK, which has been downloaded a few months back.
I downloaded the latest SDK the android site form. But now the app is not deployed.
It throws the below error:
After a throwugh search blogs I have deployed the apk file directly on the device, but then the initial screen of Red Oracle load forever and I do not get the intended page.
Please help me.
[11: 08:52] Server Android Debug bridge closure...
[11: 08:52] undeployment.
[11: 08:52] - incomplete deployment.
[11: 08:52] deployment failed due to one or more errors returned by "C:\Hari\Softwares\Android\android-sdk\platform-tools\adb". What follows is a summary of the returned error:
Failure [DELETE_FAILED_INTERNAL_ERROR]
MAF 2.0.1.2.0 is not compatible Android 5 Lollipop (API 21). You can leave installed in the SDK, but all 21 API also download API 19 and use instead.
Lollipop support is coming in the next version of MAF due.
CM.
-
I tried to install the latest version of itunes with windows 10 but he said "there is a problem with the installation package. A program to complete the installation could not be executed. Please contact the support staff. No matter what guys?
(1) temporarily disable your security/antivirus software
(2) download iTunes from the official source: http://www.apple.com/itunes/download/
(3) try to reinstall
(4) turn on your anti-virus
-
How to get DEBUGGING into the command prompt
I got to the House and I need to play with DEBUGGING in the CMD. However, whenever I type "debug" in cmd, I get the following message:
"A 'DEBUG' is not recognized as a command internal or external, an executable program or batch file."
I also tried to run CMD as administrator, but that did not help.
How to enter DEBUG?
Hello
By default what is Debug:
'C:\Windows\System32\debug.exe '.
You need an assembler.
This question would be better asked in the MSDN Forums.
MSDN
http://msdn.Microsoft.com/en-us/default.aspxMSDN - where is the Forum for...
http://social.msdn.Microsoft.com/forums/en-us/whatforum/threadsMSDN - Forums
http://social.msdn.Microsoft.com/forums/en-us/categoriesAssembly language
http://en.Wikipedia.org/wiki/Assembly_languageFreebyte's Guide to... Assembler free programming
http://www.Freebyte.com/programming/assembler/Programming in assembler
http://www.cs.uakron.edu/~margush/306old/index.htmlUsing the Microsoft Windows Debugger (WinDbg)
http://kipirvine.com/ASM/4th/debug/WinDbg/index.htmWinDbg
http://en.Wikipedia.org/wiki/WinDbgDownload and install the debugging tools for Windows
http://www.Microsoft.com/whdc/devtools/debugging/default.mspxOllyDbg
http://www.OllyDbg.de/The place on the net to learn Assembly
http://homepage.Mac.com/randyhyde/Webster.cs.UCR.edu/index.htmlI hope this helps.
Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.
-
Where is the Windows Journal tutorial?
I would like to know where he was preparing to so, I am trying to put in place and received the same message. Can anyone help?
I have not found the Windows Journal tutorial but I found some good links that might be useful. There are several pages.
http://Windows.Microsoft.com/en-US/Windows7/search?q=Windows%20journal&p=1&PRD=
Sincerely,
Marilyn
-
MS staff informed me that my slow pc needs to improve and its current version is vista Home premium. First of all this, switch to 8.1, but the store staff MS told me that they only treat 10 windows to upgrade. So, I stuck, please help.
The audio output device also has red X on the "speaker" icon. Please kindly help.
I took these lines outside where you inserted in your "reply by quoting.
"Please, help how to check manufacturer."
"I still don't know how to change due to learning disabilities. Please kindly help. »
First thing to do is to see if the 8/8.1 drivers are available:
Check the manufacturer of your particular Web site:
Acer:
http://us.Acer.com/AC/en/us/content/drivers
ADVENT:
http://www.adventcomputers.co.UK/product-downloads
Alienware:
http://support.Alienware.com/Support_Pages/Restricted_Pages/driver_downloads.aspx
ASUS:
Dell:
http://www.Dell.com/support/drivers/us/en/19/ProductSelector
eMachines:
http://www.eMachines.com/EC/en/us/content/drivers
Fujitsu:
http://www.Fujitsu.com/us/support/
Gateway:
http://us.gateway.com/GW/en/us/content/drivers-downloads
HP:
http://WWW8.HP.com/us/en/drivers.html
Lenovo:
http://support.Lenovo.com/en_US/downloads/default.page#
LG:
http://www.LG.com/us/support/software-manuals
Samsung:
http://www.Samsung.com/us/support/downloads
Sony Vaio:
http://eSupport.Sony.com/Perl/select-System.pl?Director=driver
Toshiba:
-
1. I get this error before moving on to the windows vista login ' configuration data for this product is damaged contact the support staff "I tried repairing the system by using the Windows disk installation and chkdsk/f/r and none of the steps helped.
2. on a different vista machine it keeps restarting on before we get to the opening of windows session, I managed to make system repair using the windows disc and he managed to survive but, unfortunately, after a couple of stop and restart, the same problem happens again.Kindly help on how I can make these problems disappear.
Hello
Method 1: Check to see if you can boot into safe mode. If you can start in safe mode, you can perform the clean boot and test functionality.
Step 1: Check the functionality of the computer in safe mode.
http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode
If it works fine, you can check if the problem exists in a clean boot state.
Step 2: Perform the clean boot.
http://support.Microsoft.com/kb/929135
Note: After you check the clean boot feature configure Windows to use a Normal startup using step 7 proposed in the above mentioned link.
Method 2: If you are unable to boot into safe mode, try to Start the computer using the disk and recovery options, select command prompt, run System File Checker tool.
How to access the System Recovery Options menu?
http://Windows.Microsoft.com/en-us/Windows-Vista/what-happened-to-the-recovery-console
Download link for the tool (SFC.exe) System File Checker.
http://support.Microsoft.com/kb/929833
I hope this helps!
-
Whenever I try to install a new version of Java, but also apply for income tax, my computer basically freezes and I have to stop it manually after that I finally get the message "cannot access the windows service install. This can happen if windows install is not properly installed. Please contact the support staff. I tried MSI 4.5 but everytime I try to download, I get the prompt "not applicable to your system. I'm running on Windows Vista basic and I tried to cancellation of the registration of windows install and re save, but nothing seems to work. Extremely frustrated
Hi confused79,
Thank you for your message.
Here is more information on the use of file system (CFS) Auditor:
http://support.Microsoft.com/kb/929833
You can also create another profile to see if the problem is the result of a corruption of your current profile.
Here's how:
http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile
Chris
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. -
Debugging on the device?
Newbie here. I'm finally able to debug on a real device, 9330 which shows:
6.0 bundle 2333 (v6.0.0.524, platform 4.4.0.438)
I write apps targeting the 5.0 SDK. I guess from the above that the camera itself is version 6.0.0.524, is this correct? So where can I get the specific Simulator for this? None of the 4 last digits Curve 9330 simulators match. (I am trying to eliminate all the 'cannot find debug file"nonsense!) is there any detailed white papers on debugging on the correct device? Also, I try to use Eclipse.
Thanks in advance!
All available BlackBerry smartphone simulators are available for download here: http://us.blackberry.com/developers/resources/simulators.jsp
It may not be a release of Simulator for all versions available for download. But we are always adding more, so you can keep an eye on this page for updates.
-
Debugging on the issue of the device!
Beginner again. My Java application with my new Plugin Eclipse 1.5.2 on win7/64 and loving debug so far and I have used a simulator 9330. I've implemented a new program feature that works fine on the Simulator, but when I Pack the app and deploy on a device 9330, it explodes with an error "index out of range". In order just to shoot this, I just use the option "Debug/Blackberry Device" and set breakpoints in the code of my program. This allows me to pass her and is very well. I found that the problem is on my side of the fence (code/design) but when I'm debugging on the device itself I do not see the values of the objects/properties, I get "
" when I try to INSPECT an object.property.The big question: is it possible to debug on a device and see all the object.property values that scroll us? If yes how?
Thanks in advance!
Yes, it is possible but requires the files for your device BlackBerry OS .debug. When you have started debugging you should have been prompted to download files of debugging. Did you say yes to that? If yes then automatically download the required files. If you click on no, you will not be able to use debugging features.
-
debugging on the actual device different subversions jde - firmware
I want to debug my code on a device connected via usb. I know that I need the same type in JDE and the device.
For example, JDE 4.5-> device must have firmware 4.5.
Although I checked the debugger tells me it can't find net_rim_app_manager.debug and many others. When I browse with browse for the files of simulator of the JDE debug files it is not like that and told me
Bad debug information:
\simulator\net_rim_app_manager.debug(4846a5e2)-net_rim_app_manager(494996a0) My regognizes JDE-attachment-device usb. When I ignore the mistakes I see some, but not all of the messages in the debug window. If the connection is ok.
My firmware installed JDE Simulator Version DO match the firmwareversion of the unit BUT not the firmware-sub-version number. I mean the numbers after the second point (4.5.XXXX) is the reason for the error message?
If Yes,
-How and where can I get the EXACT match firmware-subversion for my device?
-How can I do a real device debugging with the latest firmware?
If none, I miss something else?
my JDE:4.5.0
my camera - 4.5.0.Simulator - JDE: 8310
my JDE - 4.5.0.Simulator - Firmware: 4.5.0.44
my real device: 8310
my real device Firmware: 4.5.0.124
Thanks for help
Anil
OK, after some research and debugging, I found the solution in this post
a little summary here (including the above mentioned display comments). In this example, we assume that you are using JDE 4.5.0.
- Check that you have installed the latest BlackBerry-Desktop-Manager. So you can be sure, that your device connected by usb is detected
- Versions have to mach exactly! When you have the 4.5.0.102 firmware on your JDE-Simulator, you MUST have firmware on your real device 4.5.0.102. RIM provides many different simulators with a different firmware for debugging http://www.blackberry.com/developers/downloads/simulators
- Install the corresponding correct Simulator and follow the Instructions of BB JDE 4.5.0 Guide Chapter development
"Install the .debug computer files". - Connect your real device via USB
- Compile your code in RIM JDE
- If you use sensitive APIs-> sign your code
- Load the cod files compiled on your actual device with JavaLoader.exe
- Debugging-> attached to him-> Pocket-> USB (
) - No, you can debug, breakpoints, out of the console, etc...
Note: Although I have installed now the exact match versions. The debugger tells some files that it "does not find" them which is:
net_rim_theme_120_green_320x240_b.debugnet_rim_theme_120_green_320x240_b-(1-13).debug net_rim_theme_120_today_320x240_b.debug net_rim_theme_120_today_320x240_b-(1-13).debug net_rim_bb_smime.debug
I think that these debug files are relatively large for most applications, so you can ignore it.
A good indicator to see that there is really a version mismatch is the first file, it cannot find "net_rim_app_manager.debug".
Anil cordially
-
Not be able to debug on the device
Hi friends,
I'm not able to debug device now. I have the same version of Simulator, sim even package version as I have on mobile. I've been able to debug a few minutes back, but I had not changed anything just removed app and new thought of debugging to display the value in another function. Even after removing the application, all objects remain in the persistent storage.
Please help me
Hi friends I am successfully able to solve. The only thing to do is to clean the Simulator, even if you want to debug on the device. Now, I am able to debug each time that the device suceesfully. Timeout paradigm for everything by retrieving the coordinates that we should create a timer so that elapsed, he should leave the idea of recovering the coordinates.
-
Fastest way for debugging on the device of JDE
Hi all
I'm new to the development of BB and struggling to find a way to debug on device effectively. My application has a lot of comm of bluetooth in him so most debugging should occur on the device instead of Simulator (please, correct me if this is not true). Here's my development/debugging process.
1. change the code
2. generate the code
3. the signal code
4. connect device to Desktop Manager via the USB cable
5. delete a previous version of my application
6. load the latest version of my application
7. connect to the device using JDE
8. install a device app
My quesitons are...
1 should I sign the code whenever I have rebuild?
2. is there a more effective way to get the latest version on the device instead of uninstalling then reinstall via Desktop Manager (it takes forever).
There MUST be a better way. Thanks in advance to all those who answer. =)
1. Yes, you sign cod every time after reconstruction you have for debugging on the device.
2. you can load application in the device in various ways. If you use the Desktop Manager, you need to go if the steps you mentioned.
But most developers use javaloader (JDE bin directory) to get the latest version in the device during development.
To do this, run the following command from the bin directory:
JavaLoader-u load applicationName.cod
Also take a look at the article for details on loading the application on the device.
Concerning
Bika
Maybe you are looking for
-
I have a function A and I stated that this function. I would like this feature to repeat itself For example,. I have 2 buttons called B and C When the user clicks on B A c and when the user click on do A and C I want to just write the code for the fu
-
The BIOS 1.90 solves all problems USB on Satellite M30X?
Hello A few months after buying my M30x, I bought an external USB HDD to 200 G. The drive kept just disappear during use, so I took over, but the repair shop said they found nothing wrong with it. How you introduced me what s, update the BIOS 1.90. I
-
Qosmio F750: Toshiba Blu Ray Disc Player does not play videos in 3D
Hallo, I had to re set my PC and installed then drive Blu Ray Disc tosbiha and also Super D and XTune.Also also made installation with xtune. So now, I'm trying to watch a 3D movie it is not possible to play, the system displays only 2 parallel pictu
-
Annot get computer works correct due to malware. Went to safe mode and cannot fix. Can we please hep
-
Deleting files from the recovery disk
After a complete restoration, I opted to back up files on the collection had ' disk (Dell computer Vista Home). I know now it is the place of wriong. I tried it but not able to delete individual files from the D drive. Why wouldn't they? Finally,