Titanium windows support for logging, layout and pickers - windows-phone-8.1

I've been trying to add a project on titanium to windows phone. Sadly the documentation hasn't been particularly helpful with regards to several problems I've had. Note that I've tried fresh installs of this with fresh projects with a lot of googling and still not had any luck. Oh and I only use the CLI cause I have worse problems with the GUI
I think the first most annoying thing is that the logging module just cuts out after the application loads so I can't log anything, not sure what's up with that.
Second is the layout issues. I recognise that windows phone has different elements and is styled differently, but there are giant margins on textfields that I can't get rid of.
Third I tried to include a picker, however, there simply is not way to set the background once it opens, nor can I adjust the theme (of which defaults to dark), plus the setSelectedRow option doesn't work.
There's probably more, but these are the issues I've spent the most time one.
I think my build log might say something about what's wrong, there's a lot of warnings and errors:
C:\Users\username\work\cpi-app>appc ti build -p windows -T wp-emulator -C 8-1-1
Appcelerator Command-Line Interface, version 5.4.0
Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.
8/17/2016, 7:06:50 PM
Operating System
Name = Microsoft Windows 10 Pro
Version = 10.0.14393
Architecture = 64bit
# CPUs = 2
Memory = 3178790912
Node.js
Node.js Version = 4.4.7
npm Version = 2.15.8
Titanium CLI
CLI Version = 5.0.9
Titanium SDK
SDK Version = 5.4.0.GA
SDK Path = C:\ProgramData\Titanium\mobilesdk\win32\5.4.0.GA
Target Platform = windows
Command
C:\Program Files\nodejs\node.exe C:\Users\username\.appcelerator\install\5.4.0\package\node_modules\titanium\lib\titanium.js build -p windows -T wp-emulator -C 8-1-1 --config-file C:\Users\username\AppData\Local\Temp\build-1471417604044.json --log-level info --no-banner --project-dir C:\Users\username\work\cpi-app
[INFO] Building for Windows Phone emulator: 8-1-1
[INFO] Deploy type: development
[INFO] Debugging disabled
[INFO] Profiler disabled
[INFO] Launching emulator: 8-1-1
[INFO] Missing 7 app icons, generating missing icons
[INFO] Square24x24Logo.png - Used for badge - size: 24x24
[INFO] Square44x44Logo.png - Used for logo - size: 44x44
[INFO] Square71x71Logo.png - Used for logo - size: 71x71
[INFO] Square150x150Logo.png - Used for logo - size: 150x150
[INFO] Logo.png - Used for logo - size: 150x150
[INFO] StoreLogo.png - Used for logo - size: 50x50
[INFO] SmallLogo.png - Used for logo - size: 30x30
[INFO] Processing JavaScript files
[INFO] Generating i18n files
[INFO] Generating Native Type Wrappers
[INFO] Setting up native modules for CMakeLists.txt...
[INFO] Writing appxmanifest C:\Users\username\.titanium\vsbuild\cpi-app\Package.store.appxmanifest.in
[INFO] Writing appxmanifest C:\Users\username\.titanium\vsbuild\cpi-app\Package.phone.appxmanifest.in
[INFO] Writing appxmanifest C:\Users\username\.titanium\vsbuild\cpi-app\Package.win10.appxmanifest.in
[INFO] Writing CMakeLists.txt: C:\Users\username\.titanium\vsbuild\cpi-app\CMakeLists.txt
[INFO] CmakeLists.txt contents unchanged, retaining existing file.
[INFO] Running cmake at C:\ProgramData\Titanium\mobilesdk\win32\5.4.0.GA\windows\cli\vendor\cmake\bin\cmake.exe in directory C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86
[INFO] -- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
[INFO] -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
[INFO] -- Configuring done
[INFO] -- Generating done
[INFO] -- Build files have been written to: C:/Users/username/.titanium/vsbuild/cpi-app/phone.x86
[INFO] Running MSBuild on solution: C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.sln
[INFO] Windows Phone emulator is ready
[WARN] MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/done'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
[WARN] MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/cancel'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/checkin'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/leaders'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/events'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/groups'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/stream'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
[WARN] MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/cancel'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/checkin'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/done'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/events'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/groups'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
[WARN] MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/leaders'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/stream'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
[WARN] MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/done'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/cancel'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/checkin'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/leaders'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/events'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/groups'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/stream'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
"C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.sln" (default target) (1) ->
"C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj.metaproj" (default target) (2) ->
"C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj" (default target) (6) ->
(_SplitResourcesPri target) ->
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/cancel'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/checkin'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/done'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/events'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
[WARN] MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/groups'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/leaders'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
MakePRI : warning 0xdef01051: No default or neutral resource given for 'Resources/stream'. The application may throw an exception for certain user configurations when retrieving the resources. [C:\Users\username\.titanium\vsbuild\cpi-app\phone.x86\CPInteriors.vcxproj]
14 Warning(s)
0 Error(s)
Time Elapsed 00:00:21.87
[INFO] Writing build manifest: C:\Users\username\.titanium\vsbuild\cpi-app\build-manifest.json
[INFO] Copying results back to project build directory
[INFO] Finished building the application in 30s 892ms
[INFO] Installing and launching the application. Please wait as this may take some time...
[INFO] Installing dependency: Microsoft.VCLibs.x86.12.00.Phone.appx
[INFO] Project built successfully in 30s 932ms
[INFO] Installing the application...
[INFO] Connected to app
-- Start application log -----------------------------------------------------
[INFO] Database is up to date and running with migration version: 2
[INFO] Logger printing some log text
[INFO] Finished installing the application
[INFO] Waiting for app to connect to log relay
[INFO] Finished launching the application
-- End application log -------------------------------------------------------

Although it became stable a year ago, Titanium SDK support for Windows Phone is still very poor. It is almost impossible to create fully functional app in Appcelerator for that OS. Some examples:
Ti.UI.SIZE is not supported
log output is still not available
as you discovered, there are several other GUI problems

Related

IIS-10 worker processes crashing

We recently upgraded our server O/S from Win2012 to Win2019. While on 2012, in IIS, we had configured a Virtual Directory called PDFReader. The physical path was a filestream directory which contains a series of PDFs, which is essentially just a UNC share.
The directory was being called by an SSRS report & its sole purpose was to call the PDF from filestream and render it in SSRS.
We used a simple virtual directory when we were on Windows 2012 which worked fine. But we noticed that the app pool kept crashing on 2019. So that led to me convert it to an application because that way, I could assign an individual app pool to it & manage the rapid fail protection settings as a band-aid for now until we could identify the underlying issue. That has been getting us by.
I tried a few things such as changing the application pool identity to LocalSystem, then a privileged domain user w/SQL Filestream access. I also tried changing the .NET CLR Version to "No Managed Code" and the pipeline from Integrated to Classic. The latter seemed to slow the failures slightly, but nevertheless the problem persists.
Here's the stacktrace which we consistently see every few minutes as users frequently pull up PDFs.
Faulting application name: w3wp.exe, version: 10.0.17763.1, time stamp: 0xa7ccada2
Faulting module name: nativerd.dll, version: 10.0.17763.1, time stamp: 0x84a81d7a
Exception code: 0xc0000005
Fault offset: 0x0000a8f0
Faulting process id: 0x25cc
Faulting application start time: 0x01d921151b65f242
Faulting application path: C:\Windows\SysWOW64\inetsrv\w3wp.exe
Faulting module path: C:\Windows\System32\inetsrv\nativerd.dll
Report Id: 88535cc3-8716-40f7-bfab-1f53f9c77b92
Faulting package full name:
Faulting package-relative application ID:
Fault bucket 1192683016347496699, type 1
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: w3wp.exe
P2: 10.0.17763.1
P3: a7ccada2
P4: nativerd.dll
P5: 10.0.17763.1
P6: 84a81d7a
P7: c0000005
P8: 0000a8f0
P9:
P10:
There are a number of PDFs that are called which one might consider large, over 20MB with a handful of them over 100mb.
As for the user experience, since I implemented the rapid fail protection, the user doesn't run into the 503 errors anymore, requiring me to start the stopped app pool. Occasionally, when the worker process dies & hands off to the next one spawned, it's a minor delay.
Any help or insight would be appreciated.
Thanks,
Mike
Converted virtual directory to application.
Created/assigned individual app pool to application.
Changed rapid fail protection settings to allow for 25 failures in 10 minutes instead of the 5/5 out of the box.
Changed application pool identity to LocalSystem... Problem persisted. So I changed to a privileged domain user/local admin with proper SQL filestream rights, same behavior.
Ensured nativerd.dll was present in system directory, no discernible permissions issues.
Looked into MaxWebConfigFileSizeInKB registry key associated with nativerd.dll per a Microsoft KB article, but I don't see that key present in the registry.
Ran DebugDiag analysis with this summary result:
In w3wp__PDFReader__PID__160__Date__06_15_2022__Time_08_39_35AM__249__Second_Chance_Exception_C0000005.dmp the assembly instruction at nativerd!INDEXED_ARRAY_LIST::FindEntry+18 in c:\Windows\System32\inetsrv\nativerd.dll from Microsoft Corporation has caused an access violation exception (0xC0000005) when trying to read from memory location 0x00000038 on thread 6

Each project is throwing ControllerConnectionException on startup

Ok, I don't rly know where to start, but let's do this.
So for two weeks I had my last working day where everything was working fine in VS 2019 (16.11.4). Today I wanted to start a project, and i got the following error message:
Unfortunately, a process used by VS has encountered an unrecoverable error.
Stack Trace:
Microsoft.ServiceHub.Client.ControllerConnectionException : Controller terminated before accepting connections. Exit code: -1073741674.
at async Microsoft.ServiceHub.Client.HubControllerClient.StartAsync(<Unknown Parameters>)
at async Microsoft.ServiceHub.Client.HubClient.LaunchOrFindControllerAsync(<Unknown Parameters>)
at async Microsoft.ServiceHub.Client.HubClient.GetLocationServiceAsync(<Unknown Parameters>)
at async Microsoft.ServiceHub.Utility.Shared.ServiceHubRetry.ExecuteAsync[TReturnType](<Unknown Parameters>)
at async Microsoft.ServiceHub.Utility.Shared.ServiceHubRetry.ExecuteAsync[TReturnType](<Unknown Parameters>)
at async Microsoft.ServiceHub.Client.HubClient.GetThisAsRemoteServiceBrokerAsync(<Unknown Parameters>)
at async Microsoft.ServiceHub.Client.HubClient.<Reset>b__54_0(<Unknown Parameters>)
at async Microsoft.VisualStudio.Threading.AsyncLazy`1.<>c__DisplayClass13_0.<GetValueAsync>b__0[T](<Unknown Parameters>)
at async Microsoft.ServiceHub.Client.HubClient.GetPipeAsync(<Unknown Parameters>)
at async Microsoft.ServiceHub.Client.HubClient.RequestServiceAsync(<Unknown Parameters>)
at async Microsoft.CodeAnalysis.Remote.ServiceHubRemoteHostClient.RequestServiceAsync(<Unknown Parameters>)
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
Followed by another error:
There was an error activating the remote language server. Plese select Help > Send Feedback > Report a problem.
These errors also appear, when I create a new project. The only way I can start VS19 without errors is, when I click "Continue without code" in the popup.
So I tried to repair or modify VS. When I want to repair it, it failed. The popup which is prepairing the repair info is shutting down with no error message.
I didn't find that much information in the internet, especially with the error code.
Furthermore I detected, that I cannot install or uninstall VS19. Plus, I cannot install VS22, because it is aborting again after the "preparing the VS installer". Again no error is poping up.
A sample log:
[2cf4:0001][2021-12-15T17:45:47] Saving the current locale (de-DE) to user.json.
[2cf4:0001][2021-12-15T17:45:47] Setting the telemetry services
[2cf4:0004][2021-12-15T17:45:47] Creating a new telemetry service.
[2cf4:0001][2021-12-15T17:45:47] Visual Studio Installer Version: 3.0.4496
[2cf4:0001][2021-12-15T17:45:47] Raw Command line: "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe"
[2cf4:0001][2021-12-15T17:45:47] Using registry value of (1) to theme installer.
[2cf4:0001][2021-12-15T17:45:47] Getting singleton lock. Mutex name: DevdivInstallerUI
[2cf4:0004][2021-12-15T17:45:47] Telemetry session ID: ...
[2cf4:0001][2021-12-15T17:45:47] Getting singleton lock succeed.
[2cf4:0006][2021-12-15T17:45:47] Creating new ExperimentationService
[2cf4:0006][2021-12-15T17:45:47] Telemetry property VS.ABExp.Flights : lazytoolboxinit;fwlargebuffer;refactoring;spmoretempsbtn1;asloff;keybindgoldbarext;asynccsproj;vsfricheditor;completionapi;tn-vsmacnps-7;toggleblockcomment;tasmigddvs;multitenanttasmigration_002;vsfdevcom2;lsprmsgvol;debugger-init-asynccf;vswnewinstaller;links_carousel_tfl;azure_links_tf
**[2cf4:0003][2021-12-15T17:45:47] An abnormal shutdown was detected from the previous telemetry session.**
[2cf4:0004][2021-12-15T17:45:47] Telemetry property vs.willow.source : WPF
[2cf4:0004][2021-12-15T17:45:47] Telemetry property vs.willow.locale : de-DE
[2cf4:0004][2021-12-15T17:45:47] Telemetry property vs.willow.installerversion : 3.0.4496.34889
[2cf4:0004][2021-12-15T17:45:47] Telemetry property vs.willow.startmethod : direct
[2cf4:0004][2021-12-15T17:45:47] Telemetry property vs.willow.activityid : ...
[2cf4:0004][2021-12-15T17:45:47] Telemetry property vs.willow.campaign : 70
[2cf4:0004][2021-12-15T17:45:47] Telemetry property vs.willow.passive : False
[2cf4:0004][2021-12-15T17:45:47] Telemetry property vs.willow.quiet : False
[2cf4:0004][2021-12-15T17:45:47] Telemetry property vs.willow.processtype : ui
[2cf4:0001][2021-12-15T17:45:47] Monitor center position: 960, 585
[2cf4:0001][2021-12-15T17:45:47] Showing the window.
I didn't really know what Telemetry was for. Can this cause any issues due to fireall/network problems, that I cannot install, repair, uninstall VS?
With sfc /scannow I got following lines:
2021-12-16 16:25:52, Info CSI 00000293 [SR] Cannot repair member file [l:15]'mscorlib.ni.dll' of NetFx4-mscorlib_ni, version 4.0.15805.350, arch amd64, versionScope neutral, pkt {l:8 b:b03f5f7f11d50a3a} in the store, hash mismatch
2021-12-16 16:25:52, Info CSI 00000294 [SR] This component was referenced by [l:78]'Package_3_for_KB5004331~31bf3856ad364e35~amd64~~10.0.4400.1.5004331-51_neutral'
2021-12-16 16:25:52, Info CSI 00000295 Hashes for file member [l:15]'mscorlib.ni.dll' do not match.
2021-12-16 16:25:52, Info CSI 00000297 [SR] Could not reproject corrupted file \??\C:\Windows\Microsoft.NET\Framework64\v4.0.30319\NativeImages\\mscorlib.ni.dll; source file in store is also corrupted
Does this have any connection to my general problem?
Maybe(!) a very similar problem, this guy was facing:
https://developercommunity.visualstudio.com/t/visual-studio-installer-vs2019-keep-crashing-sudde/711824
So... (further) things I tried:
Installed .NET Frameworks again
Tried the reapair tools for VS and .NET
Tried to repair VS19, but I cant
Run sfc scannow
Run chkdsk scan
Several reboots, restarting VS, ...

Cannot set configuration in Elastic Beanstalk

I have 4 Elastic Beanstalk deployments: 3 are Corretto 8 and the other one is Corretto 11.
On the Corretto 8 deployments, I can set new configuration without issue. On the Corretto 11 instance, however, any attempt to set a new configuration fails and causes a rollback.
The Corretto versions might not be the problem, but it's the only difference I can see. All 4 apps are Spring Boot apps that run as web servers (i.e embedded tomcat with exposed web ports). I am trying to set the exact same configuration name and value, and it only fails on the one instance.
The configuration I'm trying to set is pretty simple:
VALIDATE_RENEWALS = true
Even just trying to set DEBUG = true causes a failure and rollback.
I don't see a lot of information from the console about what's failing. Here is the event log:
2020-03-16 13:55:17 UTC-0600 INFO The environment was reverted to the previous configuration setting.
2020-03-16 13:54:45 UTC-0600 ERROR During an aborted deployment, some instances may have deployed the new application version. To ensure all instances are running the same version, re-deploy the appropriate application version.
2020-03-16 13:54:45 UTC-0600 ERROR Failed to deploy configuration.
2020-03-16 13:54:45 UTC-0600 ERROR Unsuccessful command execution on instance id(s) 'i-00553f4ac36afd327'. Aborting the operation.
2020-03-16 13:54:45 UTC-0600 INFO Command execution completed on all instances. Summary: [Successful: 0, Failed: 1].
2020-03-16 13:54:45 UTC-0600 ERROR [Instance: i-00553f4ac36afd327] Command failed on instance. An unexpected error has occurred [ErrorCode: 0000000001].
2020-03-16 13:54:20 UTC-0600 INFO Updating environment XXX's configuration settings.
2020-03-16 13:54:15 UTC-0600 INFO Environment update is starting.
I've also downloaded the full set of logs for the instance and don't see anything obvious. The app stdout doesn't have any errors or exceptions, it just starts normally and then gets terminated. None of the other log files have messages around the times above, so I'm really not sure what else I can look at.
Edit
The times don't line up but I do see this in eb-engine.log file:
2020/03/16 17:54:38.508634 [INFO] checking whether command is applicable to this instance...
2020/03/16 17:54:38.508658 [INFO] this command is applicable to the instance, thus instance should execute command
2020/03/16 17:54:38.508665 [INFO] check whether this is an enhanced env...
2020/03/16 17:54:38.508794 [INFO] Executing instruction: StageJavaApplication
2020/03/16 17:54:38.508858 [ERROR] GetArchivedFileType with file /opt/elasticbeanstalk/deployment/app_source_bundle failed with error open /opt/elasticbeanstalk/deployment/app_source_bundle: no such file or directory
2020/03/16 17:54:38.508868 [ERROR] An error occurred during execution of command [config-deploy] - [StageJavaApplication]. Stop running the command. Error: staging java app failed with error GetArchivedFileType with file /opt/elasticbeanstalk/deployment/app_source_bundle failed with error open /opt/elasticbeanstalk/deployment/app_source_bundle: no such file or directory

Sonar Qube plugin problems with Flex

I'm having problems after an upgrade of my Sonar Qube :(
I installed the newest version (5.0) of Sonar Qube using an existing MySQL database. The previous Sonar Qube version was 3.7.4.
I'm using it to analyze a pure ActionScript project using the Flex plugin (Version 2.1).
The problems to me seem threefold:
Just starting the server and viewing previous analysis results I get gray
rects where code quality used to be indicated in shades of green etc.
After installing the Flex plugin using the Update Center this
remains.
Running the sonar-runner (version 2.4) I get two types of errors:
A whole lot of these:
23:35:01.572 DEBUG - Resource org.sonar.api.resources.Directory#46815882[key=path/to/folder] was found using deprecated key. Please update your plugin.
After which the analysis exits with this:
23:35:01.585 INFO - Sensor FlexSquidSensor done: 4508 ms
23:35:01.585 INFO - Sensor org.sonar.plugins.flex.cobertura.CoberturaSensor#1f96a21e...
23:35:01.585 INFO - No Cobertura report provided (see 'sonar.flex.cobertura.reportPath' property)
23:35:01.585 INFO - Sensor org.sonar.plugins.flex.cobertura.CoberturaSensor#1f96a21e done: 0 ms
23:35:01.585 INFO - Sensor SCM Sensor (wrapped)...
23:35:01.612 INFO - SCM provider for this project is: git
23:35:01.612 INFO - Retrieve SCM blame information...
23:35:01.615 INFO - 280 files to be analyzed
23:35:04.012 DEBUG - Updating semaphore batch-nl.manno:Earz
23:35:04.447 DEBUG - Release semaphore on project : org.sonar.api.resources.Project#4aa0b07b[id=60,key=nl.manno:Earz,qualifier=TRK], with key batch-nl.manno:Earz
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
Total time: 14.293s
Final Memory: 15M/123M
INFO: ------------------------------------------------------------------------
ERROR: Error during Sonar runner execution
org.sonar.runner.impl.RunnerException: Unable to execute Sonar
at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)
at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
at java.security.AccessController.doPrivileged(Native Method)
at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
at org.sonar.runner.api.Runner.execute(Runner.java:100)
at org.sonar.runner.Main.executeTask(Main.java:70)
at org.sonar.runner.Main.execute(Main.java:59)
at org.sonar.runner.Main.main(Main.java:53)
Caused by: java.lang.IllegalArgumentException: Expected one blame result per line but provider returned 3 blame lines while file src/nl/aloft/earz/core/modules/interval/Interval.as has 76 lines
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
at org.sonar.batch.scm.DefaultBlameOutput.blameResult(DefaultBlameOutput.java:68)
at org.sonar.plugins.scm.git.JGitBlameCommand.blame(JGitBlameCommand.java:131)
at org.sonar.plugins.scm.git.JGitBlameCommand.access$000(JGitBlameCommand.java:44)
at org.sonar.plugins.scm.git.JGitBlameCommand$1.call(JGitBlameCommand.java:105)
at org.sonar.plugins.scm.git.JGitBlameCommand$1.call(JGitBlameCommand.java:102)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:695)
logout
Now I used to have more plugins installed than just Flex (including the mentioned Cobertura) but after installing those Sonar Qube fails to run at all without too much notification (needless to say the runner won't run either).
Can anyone shed some light on this?
Thanks in advance,
Manno
We already faced this issue with files having old Mac line ends (CR or \r). Git will not consider them as line ends so you end up having less lines in your blame than in your file.
You can "clean" your file using mac2unix utility.

addr_out_handler.c(133) No action present. Stop processing addressing

I'm just started to use axis2c (rev 1.5 on linux ) and I rewrite a simple service which is a copy of the add functionality of the math service.
It seems all ok but at the end of the procedure, when the service should send back the result of the sum, it report the error "No action present".
I called my service "ctictrlintf" and inside the ctictrlintf_invoke function I get that node with the 2 parameter to add.
Here the content of the node printed using axiom_node_to_string api.
<ns1:test1 xmlns:ns1="http://ws.apache.org/axis2/services/ctictrlintf">
<param1>40</param1>
<param2>8</param2>
</ns1:test1>
At the end of the function ctictrlintf_invoke is returned a nod ewith result of the addiction.
<ns1:result xmlns:ns1="http://axis2/test/namespace1">48</ns1:result>
What happened after that is reported below.
Somewhere in addr_out_handler.c the program reported the error "No action present" and abort the operation.
[debug] phase.c(210) Invoke the handler AddressingOutHandler within the phase MessageOut
[info] Starting addressing out handler
[debug] addr_out_handler.c(133) No action present. Stop processing addressing
[info] Request served in 0.012 seconds
What mean this error and what action should require the library to complete its work ?
Best reagards, Enzo
Added 18.07.2013 16:56
Inside the config file axis2.xml there is still enable the addressing module
<!-- ================================================= -->
<!-- Global Modules -->
<!-- ================================================= -->
<module ref="addressing"/>
and when the server is started the log report some note about the activation of the addressing
[debug] conf_builder.c(234) No custom dispatching order found. Continue with the default dispatching order
[debug] conf_builder.c(379) Module addressing found in axis2.xml
[debug] class_loader.c(140) /usr/local/axis2c/lib/libaxis2_http_sender.so shared lib loaded successfully
[debug] class_loader.c(140) /usr/local/axis2c/lib/libaxis2_http_receiver.so shared lib loaded successfully
[debug] dep_engine.c(1283) axis2_dep_engine_load_module_dll: DLL path is : /usr/local/axis2c/modules/addressing/libaxis2_mod_addr.so
[debug] class_loader.c(140) /usr/local/axis2c/modules/addressing/libaxis2_mod_addr.so shared lib loaded successfully
[debug] dep_engine.c(1283) axis2_dep_engine_load_module_dll: DLL path is : /usr/local/axis2c/modules/logging/libaxis2_mod_log.so
[debug] class_loader.c(140) /usr/local/axis2c/modules/logging/libaxis2_mod_log.so shared lib loaded successfully
[debug] svc_builder.c(318) DLL path is : /usr/local/axis2c/services/ctictrlintf/libctictrlintf.so
[debug] svc_builder.c(318) DLL path is : /usr/local/axis2c/services/echo/libecho.so
[debug] svc_builder.c(318) DLL path is : /usr/local/axis2c/services/math/libmath.so
[debug] phase_holder.c(139) Add handler AddressingInHandler to phase Transport
and the service code already had the following call
/* Create EPR with given address */
endpoint_ref = axis2_endpoint_ref_create(env, address);
/* Setup options */
options = axis2_options_create(env);
axis2_options_set_to(options, env, endpoint_ref);
axis2_options_set_action(options, env, "http://www.aesys.com/axis2/services/ctictrlintf/test1");
/* Set service client options */
axis2_svc_client_set_options(svc_client, env, options);
/* Engage addressing module */
axis2_svc_client_engage_module(svc_client, env, AXIS2_MODULE_ADDRESSING);
This message is produced by addressing module and this is not a error.
Your service has no addressing support and didn't send or receive any addressing-specific headers.
Information about WS-Addressing support in Axis2/C is here.