Adf mobile - Deployment failed due to one or more errors returned by 'osascript'
I had the mac jdeveoper deploying a mobile app in ios emulator file running fine.
I had to update the xcode to xcode5 to get the certificate - now the deployment to emulator won't work.
These are the error messages
[02:34:41 PM] Command-line execution succeeded.
[02:34:41 PM] Command-line executed: [osascript, -e, tell application "iPhone Simulator" to activate]
[02:34:41 PM] Command-line execution failed (Return code: 1)
[02:34:41 PM] Deployment cancelled.
[02:34:41 PM] ---- Deployment incomplete ----.
[02:34:41 PM] Failed deploying to the iOS simulator.
[02:34:41 PM] Deployment failed due to one or more errors returned by 'osascript'. The following is a summary of the returned error(s):
Command-line execution failed (Return code: 1)
I deleted xcode 5 and installed xcode 4.6.3. Simulator works ok for 6.1 simulator target version.
In jdeveloper ios option only 6.1 shows up for simulator target version?
How do I get the 7 to show up there please?
If simulator will not show up - can I still deploy / test it in iphone with ios7?
Similar Messages
-
ADF Mobile: Deployment Error: MessageDigest SHA-1 implementation not found
Hi,
I was trying to create and deploy a test application as outlined in the online tutorial for ADF Mobile:Android
http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_2.html
After I hit Deploy to emulator, it fails with the following exception:
trouble writing output:
[07:01:26 AM] java.lang.RuntimeException: java.security.NoSuchAlgorithmException: MessageDigest SHA-1 implementation not found.
I have successfully deployed applications developed from Eclipse with Android extension on the same emulator.
I tried manual cmd line deployment of the generated apk file
I got [INSTALL_PARSE_FAILED_NO_CERTIFICATES] error first.
I then followed the instructions in the below post to create a keystore, sign the application and again deploy the application
signing error with abt deployment with ADF Mobile and java 1.7
I got the following error.
C:\Program Files\Android\android-sdk\platform-tools>adb -e install -r C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3/testapp.apk
100 KB/s (21928920 bytes in 212.281s)
pkg: /data/local/tmp/testapp.apk
Failure [INSTALL_FAILED_DEXOPT]
Is it a BUG or am I missing something? Appreciate if someone can help me out.
Specs. Win XP
Android 4.1.2 (API 16)
Jdev
Studio Edition Version 11.1.2.3.0
Build JDEVADF_11.1.2.3.0_GENERIC_120914.0223.6276.1
ADF Mobile Framework oracle.adf.mobile 11.1.2.3.39.62.94 Fully Loaded
Deployment Log:
[06:58:00 AM] Updating Android profile dependencies with FAR profiles created from application projects...
[06:58:01 AM] ---- Deployment started. ----
[06:58:01 AM] Target platform is (Android).
[06:58:01 AM] Beginning deployment of ADF Mobile application "TestApp" to Android using profile "ANDROID_MOBILE_NATIVE_archive3".
[06:58:03 AM] Checking state of Android Debug Bridge server...
[06:58:04 AM] Android Debug Bridge server already running.
[06:58:11 AM] Verifying a single Android emulator is online and connected to the ADB server...
[06:58:11 AM] Beginning deployment of ADF Mobile application "TestApp" to Android using profile "ANDROID_MOBILE_NATIVE_archive3".
[06:58:11 AM] Running dependency analysis...
[06:58:11 AM] Building...
[06:58:11 AM] Deploying 3 profiles...
[06:58:18 AM] Wrote Archive Module to C:\Jwork\TestApp\ApplicationController\deploy\ApplicationController.jar
[06:58:18 AM] WARNING: No Resource Catalog enabled ADF components found to package
[06:58:18 AM] Wrote Archive Module to C:\Jwork\TestApp\ViewController\deploy\ViewController.jar
[06:58:18 AM] Starting to prepare the packaging...
[06:58:18 AM] Verifying Application Controller project exists...
[06:58:18 AM] Verifying application dependencies...
[06:58:18 AM] Validating application XML files...
[06:58:18 AM] Validating XML files in project ApplicationController...
[06:58:18 AM] Validating XML files in project ViewController...
[06:58:19 AM] Copying FARs to the ADF Mobile Framework application...
[06:58:19 AM] Copying FAR from source: ViewController...
[06:58:19 AM] Copying FAR from source: ApplicationController...
[06:58:19 AM] Copying Android template...
[06:59:19 AM] Copying framework resource files...
[06:59:20 AM] Copying framework java resource files...
[06:59:43 AM] Copying common javascript files...
[07:00:01 AM] Deploying skinning files...
[07:00:01 AM] Copying application image files...
[07:00:02 AM] Copying ADF Mobile configuration files...
[07:00:02 AM] Copying .adf files...
[07:00:02 AM] Copying security related files to the ADF Mobile Framework application...
[07:00:02 AM] Creating Android preferences XML files...
[07:00:02 AM] Creating AndroidManifest.xml file...
[07:00:02 AM] Creating unsigned Android application file...
[07:00:58 AM] Compiling Android Resource Identifier file...
[07:01:01 AM] Creating Android classes.dex file from class files...
[07:01:26 AM] Command-line executed: ["C:\Program Files\Android\android-sdk\platform-tools\dx.bat", dex, debug, keep-classes, output="C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes.dex", C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\AND_ksoap.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\Container.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\IDMMobileSDK.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\logging_dalvik_release.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\phonegap.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\vmchannel_dalvik_release.jar]
[07:01:26 AM]
[07:01:26 AM] trouble writing output:
[07:01:26 AM] java.lang.RuntimeException: java.security.NoSuchAlgorithmException: MessageDigest SHA-1 implementation not found
[07:01:26 AM] at com.android.dx.dex.file.DexFile.calcSignature(DexFile.java:631)
[07:01:26 AM] at com.android.dx.dex.file.DexFile.toDex0(DexFile.java:591)
[07:01:26 AM] at com.android.dx.dex.file.DexFile.toDex(DexFile.java:216)
[07:01:26 AM] at com.android.dx.command.dexer.Main.writeDex(Main.java:574)
[07:01:26 AM] at com.android.dx.command.dexer.Main.run(Main.java:218)
[07:01:26 AM] at com.android.dx.command.dexer.Main.main(Main.java:174)
[07:01:26 AM] at com.android.dx.command.Main.main(Main.java:91)
[07:01:26 AM] Caused by: java.security.NoSuchAlgorithmException: MessageDigest SHA-1 implementation not found
[07:01:26 AM] at org.apache.harmony.security.fortress.Engine.getInstance(Engine.java:137)
[07:01:26 AM] at java.security.MessageDigest.getInstance(MessageDigest.java:75)
[07:01:26 AM] at com.android.dx.dex.file.DexFile.calcSignature(DexFile.java:629)
[07:01:26 AM] ... 6 more
[07:01:26 AM] Command-line execution failed (Return code: 2)
[07:01:26 AM] Command-line executed: "C:\Program Files\Android\android-sdk\platform-tools\dx.bat" dex debug keep-classes output="C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes.dex" C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\AND_ksoap.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\Container.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\IDMMobileSDK.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\logging_dalvik_release.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\phonegap.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\vmchannel_dalvik_release.jar
[07:01:26 AM] Deployment cancelled.
[07:01:26 AM] ---- Deployment incomplete ----.
[07:01:26 AM] Deployment failed due to one or more errors returned by 'C:\Program Files\Android\android-sdk\platform-tools\dx.bat'. The following is a summary of the returned error(s):
Command-line execution failed (Return code: 2)
- Thanks
Sujith
Edited by: user11272928 on Oct 30, 2012 7:28 PMHi,
At this point, we really have not fully tested out JDK 1.7, and we rely on Android SDK to actually compile the app. Any way you can add JDK 1.6 to your machine, and configure the Android SDK to use JDK 1.6?
Thanks,
Joe Huang -
Hello -
I am so frustrated with the ADF Mobile deployment. I have already created couple of Android Apps using the native language and never faced problems like this. I am very familiar with ADF development as well.
Anyways this is my problem.
I downloaded the sample adf mobile app from the following tutorial, but I was unable to deploy it on the Android emulator in Release mode. The debug mode takes for ever.
Oracle JDeveloper 11g Release 2 Tutorials - Building Mobile Applications with Oracle ADF Mobile
This is the error messages I am getting:
[11:02:51 PM] ---- Deployment started. ----
[11:02:51 PM] Target platform is (Android).
[11:02:51 PM] Beginning deployment of ADF Mobile application "Employees" to Android using profile "Android3".
[11:02:51 PM] Deployment cancelled.
[11:02:51 PM] ---- Deployment incomplete ----.
[11:02:51 PM] The following Android preference configuration is missing or invalid. Set these options in JDeveloper Preferences on the ADF Mobile panel:
Key Password
(oracle.adfmf.framework.dt.deploy.android.deployers.ValidatePreferencesDeployer)
I generated the keystore using keygen per the tutorial and it doesnt't help.
This is how I validated the keystore.
C:\Oracle\MiddlewareMob\jdk160_24\bin>keytool -list -keystore emp.keystore
Enter keystore password:
Keystore type: JKS
Keystore provider: SUN
Your keystore contains 1 entry
empl, Nov 19, 2013, PrivateKeyEntry,
Certificate fingerprint (MD5): 8A:27:53:64:B3:AF:01:CA:9C:2F:47:2A:50:16:E4:40
C:\Oracle\MiddlewareMob\jdk160_24\bin>
I tried recreating the keystore couple of times, but it didn;t help. I know the password entered is correct.
Any suggestions will be appreciated. Also, I started learning JQuery Mobile in parallel.
Thanks,
-SThanks for the reply Shay!
Here are the settings:
Android SDK location: C:\Android\sdk (This is where I extracted the Android SDK)
Plat form Location : C:\Android\sdk\platforms\android-17
Android Buid Tools Location: C:\Android\sdk\platform-tools
Keystore location : C:\Oracle\MiddlewareMob\jdk160_24\bin\emp.keystore
Key Alias : empl
Directory of C:\Android\sdk\platforms\android-17
11/19/2013 10:13 PM <DIR> .
11/19/2013 10:13 PM <DIR> ..
11/19/2013 10:13 PM 19,090,582 android.jar
11/19/2013 10:13 PM 1,416 build.prop
11/19/2013 10:13 PM <DIR> data
11/19/2013 10:13 PM 2,362 framework.aidl
11/19/2013 10:13 PM 209 sdk.properties
11/19/2013 10:13 PM <DIR> skins
11/19/2013 10:13 PM 16,802 source.properties
11/19/2013 10:13 PM <DIR> templates
11/19/2013 10:13 PM 8,800 uiautomator.jar
6 File(s) 19,120,171 bytes
5 Dir(s) 39,479,033,856 bytes free
I tried this from a different machine and I am getting the same error there too.
Pls advise.
Thanks! -
Failed to start one or more trace sessions
Hi,
I just installed the analyser on a Win2012R2 Core server and can not get the analyser to start.
===========================================
Failed to start one or more trace sessions due to the followinf errors:
Error Details:
Unable to start ETW session MMA-ETW-Livecapture-d28fac22-61bc-4e52-ac03-60fa79d2ec62
Host Name: Localhost
Error in the application.
===========================================
This is with the provider:
Microsoft-Windows-NDIS-PacketCapture
I have this error on two core machines so I missing something?!
BR
PerThis happens if you are not logged in as administrator, or perhaps if a session is already running. Does it change if you run Message Analyzer as administrator? What do you see when you type "Get-NetEventSession" form PowerShell?
Paul -
Compilation failed due to a compile server error
I was using LABView 8.0 with RT and FPGA module without problems.
I updated windows on 2006 April 18th and now I cannot compile any FPGA VI. Even the older one I compiled with the same computer previously.
When I take EXACTLY the same project to another computer, it compiles just fine and when I take the bitfile back, my corrupted system can run with the bitfile.
I fear the problem is with windows. I reinstalled LABView TOTALLY and still have the same error when trying to compile.
According to the knowledge base I checked the HKEY and it doesn't change anything.
Here is the error message:
Status : compilation failed due to a Compile Server error
Error -61499 occured at nirviExtractVHDLHierarchy.vi when called from nirviBuildprjFile.vi
Possible reason(s)
LABView FPGA : An internal software error in ALBView FPGA Module has occured. Please contact NI support
Details : Error 7 occured at Open File reading C : \ NIFPGA80\srvrtmp\localhost\Eight...name of the bitfile ...\scripts\toplevel_gen_synth_lvfpga.txt
Note : I checked this folder, it doesn't exist, thus it has never been created like the previous. After April 18th, not any new folder has been created.
Possible reasons : File moved or deleted, incorrect filepath,...
NI-488 : Non-existent board
Note : I have nor use none of this nowhere !
Start time - Stop time : 12 secondsIn order to try and isolate the problem can you perform a few tests.
1) Set up a remote compile and use the machine that is not working as the client and the machine that is working as the server.
1.a) You can configure the client machine to use another machine as the compile server by going to Tools>>FPGA Module Options...>>Configure Compile Settings and change the machine from 'localhost' to the machine that you want to act as the server.
1.b) On the server machine open the Compile Server manually by going to the Windows Start Menu>>All Programs>>National Instruments>>LabVIEW 8.0>>LabVIEW FPGA Utilities>>Compile Server
1.c) Try and compile the VI. It should generate code on the client machine and send the generated code to the server. Wehn the server receives the code it will compile it and return the bitfile when complete.
2) Set up a remote compile and use the machine that is not working as the server and the machine that is working as the client.
2.a) Follow the instructions in part 1, but switch the client and server machines.
These tests should help us isolate if the problem is with the Compile Server, or the code generation.
Regards,
Joseph D.
National Instruments -
I'm stuck here trying to figure this error out.
2003 domain, 2012 hyper v core 3 nodes. (I have two of these hyper V groups, hvclust2012 is the problem group, hvclust2008 is okay)
In Failover Cluster Manager I see these errors, "Cluster network name resource 'Cluster Name' failed registration of one or more associated DNS name(s) for the following reason: The handle is invalid."
I restarted the host node that was listed in having the error then another node starts showing the errors.
I tried to follow this site: http://blog.subvertallmedia.com/2012/12/06/repairing-a-failover-cluster-in-windows-server-2012-live-migration-fails-dns-cluster-name-errors/
Then this error shows up when doing the repair: there was an error repairing the active directory object for 'Cluster Name'
I looked at our domain controller and noticed I don't have access to local users and groups. I can access our other hvclust2008 (both clusters are same version 2012).
<image here>
I came upon this thread: http://social.technet.microsoft.com/Forums/en-US/85fc2ad5-b0c0-41f0-900e-df1db8625445/windows-2012-cluster-resource-name-fails-dns-registration-evt-1196?forum=winserverClustering
Now, I'm stuck on adding a managed service account (mas). I'm not sure if I'm way off track to fix this. Any advice? Thanks in advance!
<image here>Thanks Elton,
I restarted 3 hosts after applying the hotfix. Then I did the steps below and got stuck on step 5. That is when I get the error (image above). There
was an error repairing the active directory object for 'Cluster Name'. For more data, see 'Information Details'.
To reset the password on the affected name resource, perform the following steps:
From Failover Cluster Manager, locate the name resource.
Right-click on the resource, and click Properties.
On the Policies tab, select If resource fails, do not restart, and then click OK.
Right-click on the resource, click More Actions, and then click Simulate Failure.
When the name resource shows "Failed," right-click on the resource, click More Actions, and then click Repair.
After the name resource is online, right-click on the resource, and then click Properties.
On the Policies tab, select If resource fails, attempt restart on current node, and then click OK.
Thanks -
I keep trying to burn a CD-R in Iphoto, and every time iPhoto stops burning halfway through and i get this error message, "Attemp to burn a disc failed. Burn failed due to a medium write error." I am using memorex CD-R's and have tried with 4 times with different CD's. Is this a software or hardware problem? Any info would be awesome
Export the photos to a desktop folder, right click on the folder and burn to disk - see if that is any different
LN -
Cluster with 2 hosts 2012 R2
Scheduled CAU fails with:
CAU run {4EFE116C-AB49-456D-8EED-F7EDC764DA49} on cluster Cluster1 failed. Error Message:One or more errors occurred while checking the status of Windows Firewall on the cluster nodes. Review the errors for more information on how to resolve the problems.
Error Code:-2146233088 Stack: at MS.Internal.ClusterAwareUpdating.Util.<CheckFirewallsAsync>d__3a.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ClusterAwareUpdating.Commands.InvokeCauRunCommand.<_ProcessCluster>d__78.MoveNext()
If I run CAU "Analyze Readiness" ALL comes as PASS
If I run CUA by hand on same hosts with NO change to the system (not even reboot) it finishes OK
Anybody any ideas?
Thanks
SebHi,
In some case if you disabled the connection in Windows firewall inbound of
"Cluster aware updating" service it will can’t use the CAU.
More information:
Starting with Cluster-Aware Updating: Self-Updating
http://blogs.technet.com/b/filecab/archive/2012/05/17/starting-with-cluster-aware-updating-self-updating.aspx
What is Cluster Aware Updating in Windows Server 2012? (Part 1)
http://blogs.technet.com/b/mspfe/archive/2013/02/06/what-is-cluster-aware-updating-in-windows-server-2012.aspx
Cluster-Aware Updating Overview
http://technet.microsoft.com/en-us/library/hh831694.aspx
Hope this helps.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
One or more errors occurred using google drive api
Hi,
I am trying to use the Google Drive API in my C# application with the below code but getting the following error:
System.AggregateException was unhandled
HResult=-2146233088
Message=One or more errors occurred.
Source=mscorlib
StackTrace:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at WindowsFormsApplication1.frmMain.btnUpload_Click(Object sender, EventArgs e) in c:\Users\CakeBoutique\Documents\Visual Studio 2012\Projects\WindowsFormsApplication1\WindowsFormsApplication1\main_form.cs:line 35
at System.Windows.Forms.Control.OnClick(EventArgs e)
at DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e)
at DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
at DevExpress.XtraEditors.BaseControl.WndProc(Message& msg)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at WindowsFormsApplication1.Program.Main() in c:\Users\CakeBoutique\Documents\Visual Studio 2012\Projects\WindowsFormsApplication1\WindowsFormsApplication1\Program.cs:line 26
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: System.IO.FileNotFoundException
HResult=-2147024894
Message=Could not load file or assembly 'Microsoft.Threading.Tasks.Extensions.Desktop, Version=1.0.16.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Source=Microsoft.Threading.Tasks
FileName=Microsoft.Threading.Tasks.Extensions.Desktop, Version=1.0.16.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
FusionLog==== Pre-bind state information ===
LOG: User = JASSIM-RAHMA\CakeBoutique
LOG: DisplayName = Microsoft.Threading.Tasks.Extensions.Desktop, Version=1.0.16.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/Users/CakeBoutique/documents/visual studio 2012/Projects/WindowsFormsApplication1/WindowsFormsApplication1/bin/Release/
LOG: Initial PrivatePath = NULL
Calling assembly : Google.Apis.Auth.PlatformServices, Version=1.8.1.31699, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Users\CakeBoutique\documents\visual studio 2012\Projects\WindowsFormsApplication1\WindowsFormsApplication1\bin\Release\WindowsFormsApplication1.vshost.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.Threading.Tasks.Extensions.Desktop, Version=1.0.16.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: Attempting download of new URL file:///C:/Users/CakeBoutique/documents/visual studio 2012/Projects/WindowsFormsApplication1/WindowsFormsApplication1/bin/Release/Microsoft.Threading.Tasks.Extensions.Desktop.DLL.
LOG: Attempting download of new URL file:///C:/Users/CakeBoutique/documents/visual studio 2012/Projects/WindowsFormsApplication1/WindowsFormsApplication1/bin/Release/Microsoft.Threading.Tasks.Extensions.Desktop/Microsoft.Threading.Tasks.Extensions.Desktop.DLL.
LOG: Attempting download of new URL file:///C:/Users/CakeBoutique/documents/visual studio 2012/Projects/WindowsFormsApplication1/WindowsFormsApplication1/bin/Release/Microsoft.Threading.Tasks.Extensions.Desktop.EXE.
LOG: Attempting download of new URL file:///C:/Users/CakeBoutique/documents/visual studio 2012/Projects/WindowsFormsApplication1/WindowsFormsApplication1/bin/Release/Microsoft.Threading.Tasks.Extensions.Desktop/Microsoft.Threading.Tasks.Extensions.Desktop.EXE.
StackTrace:
at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Google.Apis.Auth.OAuth2.GoogleWebAuthorizationBroker.<AuthorizeAsync>d__1.MoveNext() in c:\code\google.com\google-api-dotnet-client\default\Tools\Google.Apis.Release\bin\Debug\output\default\Src\GoogleApis.Auth.DotNet4\OAuth2\GoogleWebAuthorizationBroker.cs:line 54
InnerException:
here is the code:
UserCredential credential = GoogleWebAuthorizationBroker.AuthorizeAsync(
new ClientSecrets
ClientId = "xxxxxxxxx",
ClientSecret = "xxxxxxxxx",
new[] { DriveService.Scope.Drive },
"user",
CancellationToken.None).Result;
// Create the service.
var service = new DriveService(new BaseClientService.Initializer()
HttpClientInitializer = credential,
ApplicationName = "Drive API Sample",
File body = new File();
body.Title = "My document";
body.Description = "A test document";
body.MimeType = "text/plain";
byte[] byteArray = System.IO.File.ReadAllBytes("c:\\temp\\mygdriver.txt");
System.IO.MemoryStream stream = new System.IO.MemoryStream(byteArray);
FilesResource.InsertMediaUpload request = service.Files.Insert(body, stream, "text/plain");
request.Upload();
File file = request.ResponseBody;
Console.WriteLine("File id: " + file.Id);
Console.WriteLine("Press Enter to end this process.");
Console.ReadLine();
Kindly advise...Hello,
For issues regarding google APIs, please post it to:
https://developers.google.com/maps/support/
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
One or more errors were found while trying build the realse version
While i am generating .ipa file i am getting another error mentioned below.
One or more errors were found while trying build the realse version
Packing error while generating .ipa file for iphone.This is a forum for Adobe Acrobat Froms not the Flash/Flex product.
-
Form connot be imported because ones or more errors occured-infopath 2010
when trying to import word documents (docx) in InfoPath I get "the form cannot be imported because one or more errors occurred" but there are no errors listed in the box.
what should I be checking to resolveHi,
I understand that the reusable workflow doesn’t work properly now. Have you tried to remove the Update list item action to see whether the workflow can run without issue?
If the workflow runs perfectly when the Update list item action is removed, then you need to check whether there are errors in the update action. Check whether the values have been changed.
Thanks,
Entan Ming
Entan Ming
TechNet Community Support -
hi everyone,
i'm new on adf mobile and i'm developing and android application using adf mobile and android sdk manager,but i have one problem and this is about the time of deployment,it takes about 10 to 12 minutes every time
to deploy the application on emulator and i don't know if it's normal or not,if it's not normal plz tell me how to reduce the time of deployment
thanks...Hi.
You can speed up your deployments by following Shay's instructions here:
https://blogs.oracle.com/shay/entry/speed_up_adf_mobile_deployment
Unfortunately, the Android simulator is very slow. This is because it emulates an ARM processor on your x86 machine. The only workaround is to deploy to a physical device instead.
Best Regards,
Frédéric. -
Hi All,
I was trying to deploy an ADF 12c Application which successfully tested in JDeveloper failed in while deploying through Fusion Middleware Control 12c
I am getting the below exception while deploying the EAR ..
Apr 22, 2015 12:05:57 PM IST> <Warning> <org.apache.myfaces.trinidad.component.UIXComponentBase> <BEA-000000> <getClientId should not be called while the
view is being constructed. Component ID: j_id2>
<Apr 22, 2015 12:06:14 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "4653741066113340" for task
"0". Error is: "weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.context.AccessibilityProfile"
weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.context.AccessibilityProfile
at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:114)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:175)
at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:170)
at weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:80)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.context.AccessibilityProfile
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:357)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:318)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:80)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
Truncated. see log file for complete stacktrace
>
After adding trinidad-impl.jar in classpath manually , this error gone and I got the another one..
<Apr 22, 2015 12:45:26 PM IST> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application /scratch/app/Middleware12c/user_projects/domains/OFSLL_domain/servers/OFSLL_ManagedServer/tmp/_WL_user/ofsll_1431_V14.3.0.0.0-b19/lbon52/ofsll143.war. Ensure that the annotations are valid. The error is oracle.adf.view.faces.bi.webapp.MapProxyServlet
java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:357)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:318)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:80)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
Truncated. see log file for complete stacktrace
>
<Apr 22, 2015 12:45:26 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "4656093454447625" for task "3". Error is: "weblogic.application.ModuleException: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet"
weblogic.application.ModuleException: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:114)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:175)
at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:170)
at weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:80)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:357)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:318)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:80)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
Truncated. see log file for complete stacktrace
I hope these classes should be available at runtime once i apply JRF template. Please let me know what could be wrong in my setup.java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
Deploy the ADF runtime to WLS.
https://docs.oracle.com/middleware/1212/adf/ADFAG/deploy.htm#ADFAG20790 -
JDev 12c ADF mobile deploy issue
I installed JDeveloper 12.1.2.0.0. In order to test the environment, I built a very simple ADF Mobile app, and deploy to the Android emulator (Android 4.4.2 (API 19)). The deployment always failed on "Creating Android preferences XML files...". Anyone knows?
[11:54:10 AM] Copying common javascript files...
[11:54:45 AM] Deploying skinning files...
[11:54:46 AM] Copying application image files...
[11:54:46 AM] Copying ADF Mobile configuration files...
[11:54:46 AM] Copying .adf files...
[11:54:46 AM] Copying security related files to the ADF Mobile Framework application...
[11:54:46 AM] Creating Android preferences XML files...
[11:54:47 AM] Shutting down Android Debug Bridge server...
[11:54:47 AM] Deployment cancelled.
[11:54:47 AM] ---- Deployment incomplete ----.
[11:54:47 AM] <Line 14, Column 96>: XML-20000: (Error) Fatal Error
Thanks
TonyI too got same error in Jdev 12c.
[05:16:46 PM] Deploying skinning files...
[05:16:46 PM] Copying application image files...
[05:16:46 PM] Copying ADF Mobile configuration files...
[05:16:46 PM] Copying .adf files...
[05:16:46 PM] Copying security related files to the ADF Mobile Framework application...
[05:16:46 PM] Creating Android preferences XML files...
[05:16:46 PM] Deployment cancelled.
[05:16:46 PM] ---- Deployment incomplete ----.
[05:16:46 PM] <Line 14, Column 96>: XML-20000: (Error) Fatal Error
Any help would be highly appreciable. -
How to reduce Oracle ADF Mobile deployed file
Hi
I'm creating simple demos with Oracle ADF Mobile and the deployed file is more than 50mb. Is there a way to reduce this size? Maybe remove some unused features llike SQLLite?My simple demo IPA files have been around 20MB with the default splashscreens and such, the only time it was bigger was when some files mistakenly got included. You could always load resources on-demand the first time over http and cache them in the app documents. This way you could only download the graphics for the current platform (so if it's a phone, you don't download iPad banners and graphics that your app needs)
Maybe you are looking for
-
Delta loading and Process chain BI
Hi experts, Two Issues. 1)As i am loading FI data into dso through a process chain which includes Start process>Delta infopackage(which gets data upto psa)>Delta dtp-->Datastore activation. But infopackage is picking up deltas but DTP is picking up a
-
How to Get Duration, Start/Stop Time of Each Instance (Run)
Can someone tell me how to get the Duration, as well as Execution Start/Stop times for a given run (Instance) of a Report, stored in History? For example, on the BO Server in InfoView, I can browse the History of each report, and for each run, I can
-
Adobe ARM Opens at computer startup, doesn't update. How do I get it off?
It slows the computer down. I've tried uninstalling Adobe so I could reinstall. It won't uninstall. I've tried reinstalling Reader x but that won't work
-
Windows Media Player keeps stopping
Hi, I probably am in the wrong forum for this so, if someone can first move this to the appropriate forum, I'd be pleased. Anyways, my Windows Media Player constantly stops whenever I play a movie through the CD Rom Drive and I'd like this issue reso
-
Client in VB run on V8.1.7 but not in V9.2
Hello, My client is a VB Application on Windows 2000/NT. The VB application runs on v8.1.7 oracle server database on AIX 4.3.3 but it does not run on v9.2 oracle server database. Can someone help me ? Is there a différence between V8.1.7 and V9.2 ora