Showing All Errors Only (null): Task failed with exit 1 signal 0 { - xcode8

I'm using xcode 8.1 . Suddenly An error occured.
I didn't understand what will have to do if any one have figured out this then
Plz Help me.
Log as following
CopySwiftLibs /Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian\ Express.app
cd "/Users/online/Documents/Indian Express"
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.1.sdk
export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault
builtin-swiftStdLibTool --copy --verbose --sign 0BB37D869CBEC02B92622A237B58F54DFE00B053 --scan-executable /Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian\ Express.app/Indian\ Express --scan-folder /Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian\ Express.app/Frameworks --scan-folder /Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian\ Express.app/PlugIns --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.1.sdk/System/Library/Frameworks/AdSupport.framework --scan-folder /Users/online/Documents/Indian\ Express/GoogleMobileAds.framework --scan-folder /Users/online/Documents/Indian\ Express/Bolts.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.1.sdk/System/Library/Frameworks/StoreKit.framework --scan-folder /Users/online/Documents/Indian\ Express/FBSDKShareKit.framework --scan-folder /Users/online/Documents/Indian\ Express/FBSDKCoreKit.framework --scan-folder /Users/online/Documents/Indian\ Express/FBSDKLoginKit.framework --platform iphoneos --toolchain /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --toolchain /Applications/Xcode.app/Contents/Developer/Toolchains/Swift_2.3.xctoolchain --toolchain /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --destination /Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian\ Express.app/Frameworks --strip-bitcode --resource-destination /Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian\ Express.app --resource-library libswiftRemoteMirror.dylib
Requested Swift ABI version based on scanned binaries: 4
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftCore.dylib to /Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftCore.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftCore.dylib' '-r' '-o' '/Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftCore.dylib'
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftCoreGraphics.dylib to /Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftCoreGraphics.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftCoreGraphics.dylib' '-r' '-o' '/Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftCoreGraphics.dylib'
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftCoreImage.dylib to /Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftCoreImage.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftCoreImage.dylib' '-r' '-o' '/Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftCoreImage.dylib'
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftDarwin.dylib to /Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftDarwin.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftDarwin.dylib' '-r' '-o' '/Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftDarwin.dylib'
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftDispatch.dylib to /Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftDispatch.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftDispatch.dylib' '-r' '-o' '/Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftDispatch.dylib'
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftFoundation.dylib to /Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftFoundation.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftFoundation.dylib' '-r' '-o' '/Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftFoundation.dylib'
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftObjectiveC.dylib to /Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftObjectiveC.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftObjectiveC.dylib' '-r' '-o' '/Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftObjectiveC.dylib'
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftQuartzCore.dylib to /Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftQuartzCore.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftQuartzCore.dylib' '-r' '-o' '/Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftQuartzCore.dylib'
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftSwiftOnoneSupport.dylib to /Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftSwiftOnoneSupport.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftSwiftOnoneSupport.dylib' '-r' '-o' '/Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftSwiftOnoneSupport.dylib'
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftUIKit.dylib to /Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftUIKit.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftUIKit.dylib' '-r' '-o' '/Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftUIKit.dylib'
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftRemoteMirror.dylib to /Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/libswiftRemoteMirror.dylib
Probing signature of /Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftCore.dylib
/usr/bin/codesign '-r-' '--display' '/Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftCore.dylib'
/Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftCore.dylib: code object is not signed at all
Codesigning /Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftCore.dylib
/usr/bin/codesign '--force' '--sign' '0BB37D869CBEC02B92622A237B58F54DFE00B053' '--verbose' '/Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftCore.dylib'
0BB37D869CBEC02B92622A237B58F54DFE00B053: no identity found
error: Task failed with exit 1 signal 0 {
/usr/bin/codesign '--force' '--sign' '0BB37D869CBEC02B92622A237B58F54DFE00B053' '--verbose' '/Users/online/Library/Developer/Xcode/DerivedData/Indian_Express-elfbdjhonaqzmughbywmrbvlfces/Build/Products/Debug-iphoneos/Indian Express.app/Frameworks/libswiftCore.dylib'
}
Thanks A lot

Related

CMake error: AR19DD~1.EXE: fatal error: cannot specify -o with -c, -S or -E with multiple files compilation terminated

I am trying to create an executable from a project consisting purely of C files.
When I try to create a library as in the following:
add_library(application)
target_sources(application PUBLIC main.c)
target_include_directories(application PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(application PUBLIC lib1 lib2 lib3)
The creation of library is sucessful. But what I need is an executable (.elf file to be more precise)
if I add something similar to the following:
add_executable(application.elf)
target_sources(application.elf PUBLIC main.c)
target_include_directories(application.elf PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(application.elf PUBLIC lib1 lib2 lib3)
I get the following error:
AR19DD~1.EXE: fatal error: cannot specify -o with -c, -S or -E with multiple files compilation terminated.
The following are my Compiler and linker flags :
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -x c -mthumb -D__SAM3X8E__ -DDEBUG -DBOARD=ARDUINO_DUE_X -Dscanf=iscanf -DARM_MATH_CM3=true -Dprintf=iprintf -D__SAM3X8E__ -fdata-sections -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m3 -c -pipe -fno-strict-aliasing -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror-implicit-function-declaration -Wpointer-arith -std=gnu99 -ffunction-sections -fdata-sections -Wchar-subscripts -Wcomment -Wformat=2 -Wimplicit-int -Wmain -Wparentheses -Wsequence-point -Wreturn-type -Wswitch -Wtrigraphs -Wunused -Wuninitialized -Wunknown-pragmas -Wfloat-equal -Wundef -Wshadow -Wbad-function-cast -Wwrite-strings -Wsign-compare -Waggregate-return -Wmissing-declarations -Wformat -Wmissing-format-attribute -Wno-deprecated-declarations -Wpacked -Wredundant-decls -Wnested-externs -Wlong-long -Wunreachable-code -Wcast-align --param max-inline-insns-single=500")
set(CMAKE_EXE_LINKER_FLAGS "-mthumb -Wl,--gc-sections -mcpu=cortex-m3 -Wl,--entry=Reset_Handler -Wl,-T\"../flash.ld\"")

Android NDK build fails after adding FFmpeg with: error: cannot find -lnative

First of all, I'm fairly new to building native code on Android and C++ in general, so it's possible I am missing something very obvious to more seasonded developers...
I am working on an Android app that uses Oboe for audio processing. So far this has all been working, I set up the NDK, added a CMakeLists.txt, compiled my code and ran the app, all fine.
Now I tried to integrate FFmpeg into my project following the steps described in this article: Using FFmpeg for faster audio decoding. I compiled FFmpeg using the script provided there and moved the files to the mentioned folders. I made the changes to my CMakeList.txt to be able to use the compiled FFmpeg files, and the IDE sees everything just fine.
But my builds break with this error:
Users/myuserfolder/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lnative
I've done some googleing and research on the issue but can't seem to figure it out. Not sure what exactly is missing here and where to get it...Any help is much appreciated!
Here's my CMakeList.txt
set(FFMPEG_DIR /volumes/work/repos/android/ffmpeg/build/${ANDROID_ABI})
include_directories(src/main/cpp/)
include_directories(native-lib ${FFMPEG_DIR}/include)
add_library(avformat SHARED IMPORTED)
set_target_properties(avformat PROPERTIES IMPORTED_LOCATION
${FFMPEG_DIR}/lib/libavformat.so)
add_library(avutil SHARED IMPORTED)
set_target_properties(avutil PROPERTIES IMPORTED_LOCATION
${FFMPEG_DIR}/lib/libavutil.so)
add_library(avcodec SHARED IMPORTED)
set_target_properties(avcodec PROPERTIES IMPORTED_LOCATION
${FFMPEG_DIR}/lib/libavcodec.so)
add_library(swresample SHARED IMPORTED)
set_target_properties(swresample PROPERTIES IMPORTED_LOCATION
${FFMPEG_DIR}/lib/libswresample.so)
add_library(native-lib
SHARED
src/main/cpp/native-lib.cpp
src/main/cpp/AudioEngine.cpp
src/main/cpp/DataSource.h
src/main/cpp/StorageDataSource.cpp
src/main/cpp/LockFreeQueue.h
src/main/cpp/logging.h
src/main/cpp/NDKExtractor.cpp
src/main/cpp/Constants.h
src/main/cpp/OpenGLFunctions.cpp
src/main/cpp/Player.cpp
src/main/cpp/Mixer.h
src/main/cpp/IRenderableAudio.h
src/main/cpp/UtilityFunctions.cpp
src/main/cpp/FFMpegExtractor.h
src/main/cpp/FFMpegExtractor.cpp
)
set(TARGET_LIBS log android oboe GLESv2)
set(TARGET_LIBS ${TARGET_LIBS} native avformat avutil avcodec swresample)
target_link_libraries(native-lib ${TARGET_LIBS})
#set(CMAKE_CXX_STANDARD 14)
# Set the path to the Oboe directory.
set(OBOE_DIR /Volumes/Work/Repos/Android/oboe-test/oboe)
# Add the Oboe library as a subdirectory.
add_subdirectory(${OBOE_DIR} ./oboe)
# Specify the path to the Oboe header files.
include_directories(${OBOE_DIR}/include)
And this is the end part of the native build task's log output (full log was too large to post):
Build native-lib_armeabi-v7a
(...)
[38/41] /Users/myuserfolder/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi21 --gcc-toolchain=/Users/myuserfolder/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/myuserfolder/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DOBOE_ENABLE_LOGGING=1 -Dnative_lib_EXPORTS -I../../../../src/main/cpp -I../../../../native-lib -I/volumes/work/repos/android/ffmpeg/build/armeabi-v7a/include -I/Volumes/Work/Repos/Android/oboe-test/oboe/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -march=armv7-a -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -std=c++14 -frtti -fexceptions -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/native-lib.dir/src/main/cpp/Player.cpp.o -MF CMakeFiles/native-lib.dir/src/main/cpp/Player.cpp.o.d -o CMakeFiles/native-lib.dir/src/main/cpp/Player.cpp.o -c /Volumes/Work/Repos/Android/MyApp/app/src/main/cpp/Player.cpp
[39/41] /Users/myuserfolder/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi21 --gcc-toolchain=/Users/myuserfolder/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/myuserfolder/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DOBOE_ENABLE_LOGGING=1 -Dnative_lib_EXPORTS -I../../../../src/main/cpp -I../../../../native-lib -I/volumes/work/repos/android/ffmpeg/build/armeabi-v7a/include -I/Volumes/Work/Repos/Android/oboe-test/oboe/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -march=armv7-a -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -std=c++14 -frtti -fexceptions -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/native-lib.dir/src/main/cpp/UtilityFunctions.cpp.o -MF CMakeFiles/native-lib.dir/src/main/cpp/UtilityFunctions.cpp.o.d -o CMakeFiles/native-lib.dir/src/main/cpp/UtilityFunctions.cpp.o -c /Volumes/Work/Repos/Android/MyApp/app/src/main/cpp/UtilityFunctions.cpp
[40/41] /Users/myuserfolder/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi21 --gcc-toolchain=/Users/myuserfolder/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/myuserfolder/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DOBOE_ENABLE_LOGGING=1 -Dnative_lib_EXPORTS -I../../../../src/main/cpp -I../../../../native-lib -I/volumes/work/repos/android/ffmpeg/build/armeabi-v7a/include -I/Volumes/Work/Repos/Android/oboe-test/oboe/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -march=armv7-a -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -std=c++14 -frtti -fexceptions -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/native-lib.dir/src/main/cpp/FFMpegExtractor.cpp.o -MF CMakeFiles/native-lib.dir/src/main/cpp/FFMpegExtractor.cpp.o.d -o CMakeFiles/native-lib.dir/src/main/cpp/FFMpegExtractor.cpp.o -c /Volumes/Work/Repos/Android/MyApp/app/src/main/cpp/FFMpegExtractor.cpp
[41/41] : && /Users/myuserfolder/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi21 --gcc-toolchain=/Users/myuserfolder/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/myuserfolder/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -march=armv7-a -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -std=c++14 -frtti -fexceptions -O0 -fno-limit-debug-info -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libatomic.a -static-libstdc++ -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--exclude-libs,libunwind.a -Wl,--no-undefined -Qunused-arguments -Wl,-z,noexecstack -shared -Wl,-soname,libnative-lib.so -o ../../../../build/intermediates/cmake/debug/obj/armeabi-v7a/libnative-lib.so CMakeFiles/native-lib.dir/src/main/cpp/native-lib.cpp.o CMakeFiles/native-lib.dir/src/main/cpp/AudioEngine.cpp.o CMakeFiles/native-lib.dir/src/main/cpp/StorageDataSource.cpp.o CMakeFiles/native-lib.dir/src/main/cpp/NDKExtractor.cpp.o CMakeFiles/native-lib.dir/src/main/cpp/OpenGLFunctions.cpp.o CMakeFiles/native-lib.dir/src/main/cpp/Player.cpp.o CMakeFiles/native-lib.dir/src/main/cpp/UtilityFunctions.cpp.o CMakeFiles/native-lib.dir/src/main/cpp/FFMpegExtractor.cpp.o -llog -landroid oboe/liboboe.a -lGLESv2 -lnative /volumes/work/repos/android/ffmpeg/build/armeabi-v7a/lib/libavformat.so /volumes/work/repos/android/ffmpeg/build/armeabi-v7a/lib/libavutil.so /volumes/work/repos/android/ffmpeg/build/armeabi-v7a/lib/libavcodec.so /volumes/work/repos/android/ffmpeg/build/armeabi-v7a/lib/libswresample.so -llog -lOpenSLES -latomic -lm && :
FAILED: : && /Users/myuserfolder/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi21 --gcc-toolchain=/Users/myuserfolder/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/myuserfolder/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -march=armv7-a -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -std=c++14 -frtti -fexceptions -O0 -fno-limit-debug-info -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libatomic.a -static-libstdc++ -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--exclude-libs,libunwind.a -Wl,--no-undefined -Qunused-arguments -Wl,-z,noexecstack -shared -Wl,-soname,libnative-lib.so -o ../../../../build/intermediates/cmake/debug/obj/armeabi-v7a/libnative-lib.so CMakeFiles/native-lib.dir/src/main/cpp/native-lib.cpp.o CMakeFiles/native-lib.dir/src/main/cpp/AudioEngine.cpp.o CMakeFiles/native-lib.dir/src/main/cpp/StorageDataSource.cpp.o CMakeFiles/native-lib.dir/src/main/cpp/NDKExtractor.cpp.o CMakeFiles/native-lib.dir/src/main/cpp/OpenGLFunctions.cpp.o CMakeFiles/native-lib.dir/src/main/cpp/Player.cpp.o CMakeFiles/native-lib.dir/src/main/cpp/UtilityFunctions.cpp.o CMakeFiles/native-lib.dir/src/main/cpp/FFMpegExtractor.cpp.o -llog -landroid oboe/liboboe.a -lGLESv2 -lnative /volumes/work/repos/android/ffmpeg/build/armeabi-v7a/lib/libavformat.so /volumes/work/repos/android/ffmpeg/build/armeabi-v7a/lib/libavutil.so /volumes/work/repos/android/ffmpeg/build/armeabi-v7a/lib/libavcodec.so /volumes/work/repos/android/ffmpeg/build/armeabi-v7a/lib/libswresample.so -llog -lOpenSLES -latomic -lm && :
/Users/myuserfolder/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lnative
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

ReactNative android Error: Timeout of 120000ms exceeded

I am getting error in ReactNative android while testing with detox. The error is, "Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves."
React-Native : 0.57.7
Detox test works fine with iOS without any issues but getting timeout error while running with Android. Not sure where should i check about this.
node_modules/.bin/mocha e2e --opts e2e/mocha.opts --configuration android.emu.debug --loglevel verbose --grep :ios: --invert --artifacts-location "artifacts/android.emu.debug.2019-04-10 10-27-45Z"
detox[30977] INFO: [DetoxServer.js] server listening on localhost:51629...
detox[30977] DEBUG: [AsyncWebSocket.js/WEBSOCKET_OPEN] opened web socket to: ws://localhost:51629
detox[30977] DEBUG: [DetoxServer.js/LOGIN] role=tester, sessionId=c4ef8798-0ec8-3517-0a6f-56bb03181111
detox[30977] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=tester, sessionId=c4ef8798-0ec8-3517-0a6f-56bb03181111
detox[30977] DEBUG: [exec.js/EXEC_CMD, #0] /Users/iphone/Library/Android/sdk/emulator/emulator -list-avds --verbose
detox[30977] DEBUG: [exec.js/EXEC_CMD, #1] /Users/iphone/Library/Android/sdk/platform-tools/adb devices
detox[30977] DEBUG: [exec.js/EXEC_CMD, #2] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "getprop dev.bootcomplete"
detox[30977] DEBUG: [exec.js/EXEC_CMD, #3] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "getprop ro.build.version.sdk"
detox[30977] DEBUG: [exec.js/EXEC_CMD, #4] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "dumpsys power | grep \"^[ ]*m[UW].*=\""
detox[30977] DEBUG: [exec.js/EXEC_CMD, #5] /Users/iphone/Library/Android/sdk/build-tools/28.0.3/aapt dump badging "/Users/iphone/Desktop/extra/reactnativegettingstarted/android/app/build/outputs/apk/debug/app-debug.apk" | grep -e "package: name="
detox[30977] DEBUG: [exec.js/EXEC_CMD, #6] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "pm list packages com.plugindemoapp"
detox[30977] DEBUG: [exec.js/EXEC_CMD, #7] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 uninstall com.plugindemoapp
detox[30977] DEBUG: [exec.js/EXEC_CMD, #8] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "pm list packages com.plugindemoapp.test"
detox[30977] DEBUG: [exec.js/EXEC_CMD, #9] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 uninstall com.plugindemoapp.test
detox[30977] DEBUG: [exec.js/EXEC_CMD, #10] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 install -r -g -t /Users/iphone/Desktop/extra/reactnativegettingstarted/android/app/build/outputs/apk/debug/app-debug.apk
detox[30977] DEBUG: [exec.js/EXEC_CMD, #11] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 install -r -g -t /Users/iphone/Desktop/extra/reactnativegettingstarted/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk
detox[30977] DEBUG: [exec.js/EXEC_CMD, #12] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "pm list instrumentation"
detox[30977] DEBUG: [exec.js/SPAWN_CMD, #13] [pid=30994] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r "-e detoxServer ws://localhost:51629 -e detoxSessionId c4ef8798-0ec8-3517-0a6f-56bb03181111" -e debug false com.plugindemoapp.test/android.support.test.runner.AndroidJUnitRunner
detox[30977] DEBUG: [exec.js/EXEC_CMD, #14] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "ps | grep \"com\.plugindemoapp$\""
detox[30977] DEBUG: [exec.js/EXEC_FAIL, #14] "/Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "ps | grep \"com\.plugindemoapp$\""" failed with code = 1, stdout and stderr:
detox[30977] DEBUG: [exec.js/EXEC_FAIL, #14]
detox[30977] DEBUG: [exec.js/EXEC_FAIL, #14]
detox[30977] DEBUG: [exec.js/EXEC_CMD, #15] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "ps | grep \"com\.plugindemoapp$\""
detox[30977] DEBUG: [exec.js/EXEC_FAIL, #15] "/Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "ps | grep \"com\.plugindemoapp$\""" failed with code = 1, stdout and stderr:
detox[30977] DEBUG: [exec.js/EXEC_FAIL, #15]
detox[30977] DEBUG: [exec.js/EXEC_FAIL, #15]
detox[30977] DEBUG: [exec.js/EXEC_CMD, #16] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "ps | grep \"com\.plugindemoapp$\""
detox[30977] DEBUG: [DetoxServer.js/CANNOT_FORWARD] role=testee not connected, cannot fw action (sessionId=c4ef8798-0ec8-3517-0a6f-56bb03181111)
detox[30977] DEBUG: [exec.js/KILL] sending SIGINT to [pid = 30994]: /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:51629 -e detoxSessionId c4ef8798-0ec8-3517-0a6f-56bb03181111 -e debug false com.plugindemoapp.test/android.support.test.runner.AndroidJUnitRunner
1) "before all" hook
0 passing (2m)
1 failing
1) "before all" hook:
Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
0 passing (2m)
1 failing
1) "before all" hook:
Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
detox[30977] DEBUG: [DetoxServer.js/DISCONNECT] role=tester, sessionId=c4ef8798-0ec8-3517-0a6f-56bb03181111
child_process.js:656
throw err;
^
Error: Command failed: node_modules/.bin/mocha e2e --opts e2e/mocha.opts --configuration android.emu.debug --loglevel verbose --grep :ios: --invert --artifacts-location "artifacts/android.emu.debug.2019-04-10 10-27-45Z"
at checkExecSyncError (child_process.js:616:11)
at Object.execSync (child_process.js:653:13)
at runMocha (/Users/iphone/Desktop/extra/reactnativegettingstarted/node_modules/detox/local-cli/detox-test.js:143:6)
at run (/Users/iphone/Desktop/extra/reactnativegettingstarted/node_modules/detox/local-cli/detox-test.js:85:7)
at Object.<anonymous> (/Users/iphone/Desktop/extra/reactnativegettingstarted/node_modules/detox/local-cli/detox-test.js:233:1)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)

.NET vNext, EF7 beta6 - Missing Method exception when calling UserMananger.FindByEmailAsync

I'm getting this when calling UserMananger.FindByEmailAsync
Exception thrown: 'System.MissingMethodException' in EntityFramework.Core.dll
Additional information: Method not found: 'Remotion.Linq.Parsing.ExpressionVisitors.TreeEvaluation.PartialEvaluationInfo Remotion.Linq.Parsing.ExpressionVisitors.TreeEvaluation.EvaluatableTreeFindingExpressionVisitor.Analyze(System.Linq.Expressions.Expression)'.
Here is my project.json dependencies:
"EntityFramework": "7.0.0-beta6-*",
"EntityFramework.Commands": "7.0.0-beta6-*",
"EntityFramework.Core": "7.0.0-beta6-*",
"EntityFramework.SqlServer": "7.0.0-beta6-*",
"Microsoft.AspNet.DataProtection": "1.0.0-beta6-*",
"Microsoft.AspNet.Diagnostics": "1.0.0-beta6-*",
"Microsoft.AspNet.Diagnostics.Entity": "7.0.0-beta6-*",
"Microsoft.AspNet.Identity.EntityFramework": "3.0.0-beta6-*",
"Microsoft.AspNet.Mvc": "6.0.0-beta6-*",
"Microsoft.AspNet.Owin": "1.0.0-beta6-*",
"Microsoft.AspNet.Server.IIS": "1.0.0-beta6-*",
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta6-*",
"Microsoft.AspNet.StaticFiles": "1.0.0-beta6-*",
"Microsoft.AspNet.WebApi.Core": "5.2.3",
"Microsoft.Framework.Configuration": "1.0.0-beta6-*",
"Microsoft.Framework.Configuration.EnvironmentVariables": "1.0.0-beta6-*",
"Microsoft.Framework.Configuration.Json": "1.0.0-beta6-*",
"Microsoft.Framework.Configuration.UserSecrets": "1.0.0-beta6-*",
"Microsoft.Framework.DependencyInjection": "1.0.0-beta6-*",
"Microsoft.Framework.DependencyInjection.Ninject": "1.0.0-beta6-*",
"Microsoft.Framework.Logging": "1.0.0-beta6-*",
"Microsoft.Framework.Logging.Console": "1.0.0-beta6-*",
"Microsoft.Owin": "3.0.1",
What am I missing?
It appears you are missing re-linq. But this should be installed as it is a depencency of "EntityFramework.Core".
Try removing "EntityFramework": "7.0.0-beta6-*", as this package does not and will not exist. It could be the source of conflicts? Just a guess.
Update:
You can verify which version relinq is installed with dnu list and look under "Package References". You should have "Remotion.Linq 2.0.0-alpha-004"
listed

error while sendin http PUt to creat a new page in xwiki with REST api

i want to send a page to xwiki with
$ curl -u Admin:admin -X PUT --data-binary "#newPage.xml"
-H "Content-Type: application/xml" http://localhost:8082/xwiki/rest/wikis/xwiki/spaces/Main/pages/NewPage
my xml page is like that:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<page xmlns="http://www.xwiki.org">
<title>Hello world</title>
<syntax>xwiki/2.0</syntax>
<content>This is a new page</content></page>
but this commands return a huge code error ,anyone knows thye reason why , just for information sending just the content work without problem
error:
org.restlet.ext.jaxrs.internal.exceptions.ConvertRepresentationException: Could not convert the message body to a org.xwiki.rest.model.jaxb.Page at org.restlet.ext.jaxrs.internal.exceptions.ConvertRepresentationExcept ion.object(ConvertRepresentationException.java:58)at org.restlet.ext.jaxrs.internal.wrappers.params.EntityGetter.getValue(EntityGetter.java:115)at org.restlet.ext.jaxrs.internal.wrappers.params.ParameterList.get(ParameterList.java:1090)at org.restlet.ext.jaxrs.internal.wrappers.AbstractMethodWrapper.internalInvoke(AbstractMethodWrapper.java:169)at org.restlet.ext.jaxrs.internal.wrappers.ResourceMethod.invoke(ResourceMethod.java:291)at org.restlet.ext.jaxrs.JaxRsRestlet.invokeMethod(JaxRsRestlet.java:1043)
at org.restlet.ext.jaxrs.JaxRsRestlet.handle(JaxRsRestlet.java:792)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Router.doHandle(Router.java:500)
at org.restlet.routing.Router.handle(Router.java:740)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:154)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:114)
at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:75)
at org.restlet.Application.handle(Application.java:391)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Router.doHandle(Router.java:500)
at org.restlet.routing.Router.handle(Router.java:740)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Router.doHandle(Router.java:500)
at org.restlet.routing.Router.handle(Router.java:740)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:114)
at org.restlet.Component.handle(Component.java:391)
at org.restlet.Server.handle(Server.java:491)
at org.restlet.engine.ServerHelper.handle(ServerHelper.java:74)
at org.restlet.engine.http.HttpServerHelper.handle(HttpServerHelper.java:153)
at org.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:1031)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1667)
at org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:85)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:497)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:610)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:539)
at java.lang.Thread.run(Unknown Source)Caused by: java.io.IOException: Could not unmarshal to org.xwiki.rest.model.jaxb.Page
at org.restlet.ext.jaxrs.internal.provider.JaxbProvider.readFrom(JaxbProvider.java:197)
at org.restlet.ext.jaxrs.internal.wrappers.provider.SingletonProvider.readFrom(SingletonProvider.java:304)
at org.restlet.ext.jaxrs.internal.wrappers.params.EntityGetter.getValue(EntityGetter.java:109)
... 75 more
thanks everyone
finally done with
$ curl -X PUT -u admin:admin -T "#newPage.xml" -H "Content-Type: application/xml" http://localhost:8080/xwiki/rest/wikis/xwiki/
spaces/Main/pages/newpPage