Error: NoMethodError while building .NET Application
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Solum |
Won't Fix
|
Medium
|
Paul Czarkowski |
Bug Description
See: http://
On May 21, 2014, at 8:52 AM, Rohit Mathur <email address hidden> wrote:
Dear Team,
While running a dot net application on Solum, i am facing an error while the process tries to discover the process types -
[-e:1:in `<main>': undefined method `[]' for nil:NilClass (NoMethodError)]
Also i have raised a bug for the same in the Solum community.
https:/
Please refer this for the logs.
If anyone know the solution then kindly let me know
Thanks and Regards,
Rohit Mathur| Associate Consultant
GlobalLogic India Limited, Noida SEZ -1
P +91.120.
www.globallogic.com
http://
_______
OpenStack-dev mailing list
<email address hidden>
http://
Changed in solum: | |
milestone: | 2014.1.2 → juno-1 |
Changed in solum: | |
milestone: | juno-1 → juno-2 |
PFB the yaml file which i am using for deploying the application and the logs which are generated.
YAML File:
name: ex1 /github. com/rohitmathur 1/dot_net_ solum.git
description: dot net express.
artifacts:
- name: dotnetus
artifact_type: application.heroku
content:
href: https:/
LOGS:
2014-05-22 11:28:50.674 | Starting: docker ps /var/run/ docker. sock/v1. 11/containers/ json: dial unix /var/run/ docker. sock: permission denied apps/demo/ 02b34d28e063d36 e431c18fcb55035 0f apps/demo/ 02b34d28e063d36 e431c18fcb55035 0f [Elapsed: 0 sec] c81f0c05816d376 6e15bb2e9cad318 7269ac339f1d8a9 7d5b
2014/05/22 11:28:50 Get http://
2014-05-22 11:28:50.685 | Finished: docker ps [Elapsed: 0 sec]
2014-05-22 11:28:50.689 | Starting: glance index
2014-05-22 11:28:51.557 | Finished: glance index [Elapsed: 1 sec]
2014-05-22 11:28:51.563 | Starting: mkdir -p /dev/shm/
2014-05-22 11:28:51.568 | Finished: mkdir -p /dev/shm/
2014-05-22 11:28:51.898 | ===> Building App
2014-05-22 11:28:52.121 | Starting: sudo docker attach d470df0807c590c
-----> .NET app detected
-----> Fetching fixed NuGet.targets
-----> Compiling Mono application
XBuild Engine Version 12.0
Mono, Version 3.2.8.0
Copyright (C) 2005-2013 Various Mono authors
Build started 05/22/2014 11:28:54.
_______ _______ _______ _______ _______ _______ _______ _ FirstConsoleApp lication. sln" (default target(s)): nConfiguration: FirstConsoleApp lication/ FirstConsoleApp lication. csproj" (default target(s)):
Configuration: Release Platform: x86 teAssemblies: teAssemblies, skipping. x86/Release/ FirstConsoleApp lication. exe Program.cs Properties/ AssemblyInfo. cs obj/x86/ Release/ .NETFramework, Version= v4.0,Profile= Client. AssemblyAttribu te.cs /target:exe /define:TRACE /platform:x86 /reference: /app/mono/ lib/mono/ 4.0/System. dll /reference: /app/mono/ lib/mono/ 4.0/System. Xml.Linq. dll /reference: /app/mono/ lib/mono/ 4.0/System. Data.DataSetExt ensions. dll /reference: /app/mono/ lib/mono/ 4.0/Microsoft. CSharp. dll /reference: /app/mono/ lib/mono/ 4.0/System. Data.dll /reference: /app/mono/ lib/mono/ 4.0/System. Xml.dll /reference: /app/mono/ lib/mono/ 4.0/System. Core.dll /warn:4 FirstConsoleApp lication/ App.config' to '/tmp/cache/ build/FirstCons oleApplication. exe.config' FirstConsoleApp lication/ obj/x86/ Release/ FirstConsoleApp lication. exe.mdb' to '/tmp/cache/ build/FirstCons oleApplication. exe.mdb' FirstConsoleApp lication/ obj/x86/ Release/ FirstConsoleApp lication. exe' to '/tmp/cache/ build/FirstCons oleApplication. exe' FirstConsoleApp lication/ FirstConsoleApp lication. csproj" ....
Project "/tmp/build/
Target ValidateSolutio
Building solution configuration "Release|x86".
Target Build:
Project "/tmp/build/
Target PrepareForBuild:
Created directory "obj/x86/Release/"
Target GenerateSatelli
No input files were specified for target GenerateSatelli
Target CoreCompile:
Tool /app/mono/bin/dmcs execution started with arguments: /noconfig /debug:pdbonly /optimize+ /out:obj/
Target _CopyAppConfigFile:
Copying file from '/tmp/build/
Target DeployOutputFiles:
Copying file from '/tmp/build/
Copying file from '/tmp/build/
Done building project "/tmp/build/