Ubuntu Zend Framework cli securityCheck Error - zend-framework

I followed all the instructions. I am on Ubuntu 10.10. using Zend Server Ce.
In my .bashrc I have ld_library_path, zend framework library, etc.
I can run zf, but its giving an error:
Fatal error: Uncaught exception 'Zend_Exception' with message 'Security check: Illegal character in filename' in /usr/local/zend/share/ZendFramework/library/Zend/Loader.php:303
Stack trace:
#0 /usr/local/zend/share/ZendFramework/library/Zend/Loader.php(128): Zend_Loader::_securityCheck('Zend/Tool/Proje...')
#1 /usr/local/zend/share/ZendFramework/library/Zend/Loader.php(94): Zend_Loader::loadFile('Zend/Tool/Proje...', NULL, true)
#2 /usr/local/zend/share/ZendFramework/library/Zend/Tool/Project/Context/Repository.php(88): Zend_Loader::loadClass('Zend_Tool_Proje...')
#3 /usr/local/zend/share/ZendFramework/library/Zend/Tool/Project/Context/Repository.php(79): Zend_Tool_Project_Context_Repository->addContextClass('Zend_Tool_Proje...')
#4 /usr/local/zend/share/ZendFramework/library/Zend/Tool/Project/Provider/Abstract.php(85): Zend_Tool_Project_Context_Repository->addContextsFromDirectory('/usr/local/zend...', 'Zend_Tool_Proje...')
#5 /usr/local/zend/share/ZendFramework/library/Zend/Tool/Framework/Provider/Repository.php(187): Z in /usr/local/zend/share/ZendFramework/library/Zend/Loader.php on line 303
If I comment the line Zend_loader 303, it seems to work, but if I try to create controller or something, it's giving an error like below:
[ 21.01.2011 10:26:40 ERROR] [ ZendExtensionManager.cpp : 654 ( sig_handler ) ] ZendExtensionManager got SIG 11 at pid 4781 !
[ 21.01.2011 10:26:40 ERROR] [ ZendExtensionManager.cpp : 667 ( sig_handler ) ] Crash happened during IDLE stage
[ 21.01.2011 10:26:40 ERROR] [ ZendExtensionManager.cpp : 670 ( sig_handler ) ] The stack trace follows:
[ 21.01.2011 10:26:40 SYSTEM] Obtained 20 stack frames
[ 21.01.2011 10:26:40 SYSTEM] /usr/local/zend/lib/ZendExtensionManager.so(+0x21c1e) [0xb718fc1e]
[ 21.01.2011 10:26:40 SYSTEM] /usr/local/zend/lib/ZendExtensionManager.so(+0xf0b7) [0xb717d0b7]
[ 21.01.2011 10:26:40 SYSTEM] [0xb78d3400]
[ 21.01.2011 10:26:40 SYSTEM] /usr/local/zend/bin/php() [0x81ccc07]
[ 21.01.2011 10:26:40 SYSTEM] /usr/local/zend/bin/php() [0x830e044]
[ 21.01.2011 10:26:40 SYSTEM] /usr/local/zend/bin/php() [0x82e2961]
[ 21.01.2011 10:26:40 SYSTEM] /usr/local/zend/bin/php(execute+0x212) [0x82e4032]
[ 21.01.2011 10:26:40 SYSTEM] /usr/local/zend/lib/debugger/php-5.3.x/ZendDebugger.so(+0x4bed6) [0xb2c72ed6]
[ 21.01.2011 10:26:40 SYSTEM] /usr/local/zend/bin/php() [0x830daef]
[ 21.01.2011 10:26:40 SYSTEM] /usr/local/zend/bin/php() [0x82e2961]
[ 21.01.2011 10:26:40 SYSTEM] /usr/local/zend/bin/php(execute+0x212) [0x82e4032]
[ 21.01.2011 10:26:40 SYSTEM] /usr/local/zend/lib/debugger/php-5.3.x/ZendDebugger.so(+0x4bed6) [0xb2c72ed6]
[ 21.01.2011 10:26:40 SYSTEM] /usr/local/zend/bin/php() [0x830daef]
[ 21.01.2011 10:26:40 SYSTEM] /usr/local/zend/bin/php() [0x82e2961]
[ 21.01.2011 10:26:40 SYSTEM] /usr/local/zend/bin/php(execute+0x212) [0x82e4032]
[ 21.01.2011 10:26:40 SYSTEM] /usr/local/zend/lib/debugger/php-5.3.x/ZendDebugger.so(+0x4bed6) [0xb2c72ed6]
[ 21.01.2011 10:26:40 SYSTEM] /usr/local/zend/bin/php() [0x830daef]
[ 21.01.2011 10:26:40 SYSTEM] /usr/local/zend/bin/php() [0x82e2961]
[ 21.01.2011 10:26:40 SYSTEM] /usr/local/zend/bin/php(execute+0x212) [0x82e4032]
[ 21.01.2011 10:26:40 SYSTEM] /usr/local/zend/lib/debugger/php-5.3.x/ZendDebugger.so(+0x4bed6) [0xb2c72ed6]
Segmentation fault
How can I solve this problem?

In zf.sh you must add just before if test "#php_bin#" != '#'php_bin'#'; then line,
LANG=C
export LANG
Everything is working now, and i am happy...

I understand how the error occurred.
My operating system using utf8 character encoding for file names. utf8-encoded file names with the php is run by the terminal gives the error. 'I' is the upper one 'ı' in my language. But php expects to be 'i'. If i change the file names to ASCII in php using iconv , error happens again because it cant find the location of the file at this time. I found the cause of the problem but still do not know the solution.
Thank you.

I believe this is not ZF issue. This is either php bug or misconfiguration.
replace in Zend_Loader and post here output so i can confirm my suspicion
protected static function _securityCheck($filename)
{
var_dump($filename); exit;
}
Also try this:
mb_internal_encoding('UTF-8');
mb_regex_encoding('UTF-8');
Sorry if i'm wrong. I'm not an expert here.

Related

No output if any params used in Positioned - Rare case #120698

Steps to Reproduce
Create a Flutter project.
Make a list of containers.
run .map() function on it which returns Positioned() widget.
Use a list of these positioned widgets inside a Stack.
If you use paraments like top, left etc., no output will be given.
If these are ignored, it works like a charm.
Execute flutter run on the code sample
Expected results:
After removing top parameter. Even just using top: 25 gives no output.
Actual results:
Code sample
import "package:flutter/material.dart";
class StackedList extends StatefulWidget {
const StackedList({
required this.children,
this.activeItemCount = 3,
super.key,
});
//List containing all the widgets to be showed as part of stacked UI
final List<Widget> children;
//number of items shown
final int activeItemCount;
#override
State<StackedList> createState() => _StackedListState();
}
class _StackedListState extends State<StackedList> {
#override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: Stack(
children:
widget.children.map((element) {
final index = widget.children.indexOf(element);
return Positioned(
top: 200 + (index * 10),
child: Transform.scale(
scale: 1 - (index / 20),
child: element,
),
);
}).toList()
),
));
}
}
final childrens = <Widget>[
Container(
height: 75,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(16),
color: Colors.green,
),
),
Container(
height: 75,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(16),
color: Colors.greenAccent,
),
),
Container(
height: 75,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(16),
color: Colors.grey,
),
),
Container(
height: 75,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(16),
color: Colors.brown,
),
)
],
Logs
No error logs
[ ] Transforming lifecycle-runtime-2.2.0.aar (androidx.lifecycle:lifecycle-runtime:2.2.0) with
ExtractAarTransform
[ ] Transforming lifecycle-runtime-2.2.0.aar (androidx.lifecycle:lifecycle-runtime:2.2.0) with AarTransform
[ ] Transforming lifecycle-runtime-2.2.0.aar (androidx.lifecycle:lifecycle-runtime:2.2.0) with JetifyTransform
[ ] Transforming lifecycle-runtime-2.2.0.aar (androidx.lifecycle:lifecycle-runtime:2.2.0) with
ExtractAarTransform
[ ] Transforming lifecycle-runtime-2.2.0.aar (androidx.lifecycle:lifecycle-runtime:2.2.0) with AarTransform
[ ] Transforming savedstate-1.0.0.aar (androidx.savedstate:savedstate:1.0.0) with JetifyTransform
[ ] Transforming savedstate-1.0.0.aar (androidx.savedstate:savedstate:1.0.0) with ExtractAarTransform
[ ] Transforming savedstate-1.0.0.aar (androidx.savedstate:savedstate:1.0.0) with AarTransform
[ ] Transforming lifecycle-livedata-2.0.0.aar (androidx.lifecycle:lifecycle-livedata:2.0.0) with
JetifyTransform
[ ] Transforming lifecycle-livedata-2.0.0.aar (androidx.lifecycle:lifecycle-livedata:2.0.0) with
ExtractAarTransform
[ ] Transforming lifecycle-livedata-2.0.0.aar (androidx.lifecycle:lifecycle-livedata:2.0.0) with AarTransform
[ ] Transforming lifecycle-livedata-core-2.0.0.aar (androidx.lifecycle:lifecycle-livedata-core:2.0.0) with
JetifyTransform
[ ] Transforming lifecycle-livedata-core-2.0.0.aar (androidx.lifecycle:lifecycle-livedata-core:2.0.0) with
ExtractAarTransform
[ ] Transforming lifecycle-livedata-core-2.0.0.aar (androidx.lifecycle:lifecycle-livedata-core:2.0.0) with
AarTransform
[ ] Transforming lifecycle-common-2.2.0.jar (androidx.lifecycle:lifecycle-common:2.2.0) with JetifyTransform
[ ] Transforming lifecycle-common-2.2.0.jar (androidx.lifecycle:lifecycle-common:2.2.0) with
ExtractJniTransform
[ ] Transforming tracing-1.0.0.aar (androidx.tracing:tracing:1.0.0) with JetifyTransform
[ ] Transforming tracing-1.0.0.aar (androidx.tracing:tracing:1.0.0) with ExtractAarTransform
[ ] Transforming tracing-1.0.0.aar (androidx.tracing:tracing:1.0.0) with AarTransform
[ ] Transforming core-runtime-2.0.0.aar (androidx.arch.core:core-runtime:2.0.0) with JetifyTransform
[ ] Transforming core-runtime-2.0.0.aar (androidx.arch.core:core-runtime:2.0.0) with ExtractAarTransform
[ ] Transforming core-runtime-2.0.0.aar (androidx.arch.core:core-runtime:2.0.0) with AarTransform
[ ] Transforming core-common-2.1.0.jar (androidx.arch.core:core-common:2.1.0) with JetifyTransform
[ ] Transforming core-common-2.1.0.jar (androidx.arch.core:core-common:2.1.0) with ExtractJniTransform
[ ] Transforming versionedparcelable-1.1.1.aar (androidx.versionedparcelable:versionedparcelable:1.1.1) with
JetifyTransform
[ ] Transforming versionedparcelable-1.1.1.aar (androidx.versionedparcelable:versionedparcelable:1.1.1) with
ExtractAarTransform
[ ] Transforming versionedparcelable-1.1.1.aar (androidx.versionedparcelable:versionedparcelable:1.1.1) with
AarTransform
[ ] Transforming collection-1.1.0.jar (androidx.collection:collection:1.1.0) with JetifyTransform
[ ] Transforming collection-1.1.0.jar (androidx.collection:collection:1.1.0) with ExtractJniTransform
[ ] Transforming lifecycle-viewmodel-2.1.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.1.0) with
JetifyTransform
[ ] Transforming lifecycle-viewmodel-2.1.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.1.0) with
ExtractAarTransform
[ ] Transforming lifecycle-viewmodel-2.1.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.1.0) with AarTransform[ ] Transforming annotation-1.2.0.jar (androidx.annotation:annotation:1.2.0) with JetifyTransform
[ ] Transforming annotation-1.2.0.jar (androidx.annotation:annotation:1.2.0) with ExtractJniTransform
[ ] Transforming kotlin-stdlib-1.7.10.jar (org.jetbrains.kotlin:kotlin-stdlib:1.7.10) with JetifyTransform
[ ] Transforming kotlin-stdlib-1.7.10.jar (org.jetbrains.kotlin:kotlin-stdlib:1.7.10) with ExtractJniTransform
[ ] Transforming annotation-experimental-1.1.0.aar (androidx.annotation:annotation-experimental:1.1.0) with
JetifyTransform
[ ] Transforming annotation-experimental-1.1.0.aar (androidx.annotation:annotation-experimental:1.1.0) with
ExtractAarTransform
[ ] Transforming annotation-experimental-1.1.0.aar (androidx.annotation:annotation-experimental:1.1.0) with
AarTransform
[ ] Transforming kotlin-stdlib-common-1.7.10.jar (org.jetbrains.kotlin:kotlin-stdlib-common:1.7.10) with
JetifyTransform
[ ] Transforming kotlin-stdlib-common-1.7.10.jar (org.jetbrains.kotlin:kotlin-stdlib-common:1.7.10) with
ExtractJniTransform
[ ] Transforming annotations-13.0.jar (org.jetbrains:annotations:13.0) with JetifyTransform
[ ] Transforming annotations-13.0.jar (org.jetbrains:annotations:13.0) with ExtractJniTransform
[ ] Caching disabled for task ':app:mergeDebugNativeLibs' because:
[ ] Build cache is disabled
[ ] Skipping task ':app:mergeDebugNativeLibs' as it is up-to-date.
[ ] :app:mergeDebugNativeLibs (Thread[Execution worker Thread 4,5,main]) completed. Took 0.007 secs.
[ ] Resolve mutations for :app:stripDebugDebugSymbols (Thread[Execution worker Thread 5,5,main]) started.
[ ] Resolve mutations for :app:stripDebugDebugSymbols (Thread[Execution worker Thread 5,5,main]) completed.
Took 0.0 secs.
[ ] :app:stripDebugDebugSymbols (Thread[Execution worker Thread 4,5,main]) started.
[ ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[ ] Caching disabled for task ':app:stripDebugDebugSymbols' because:
[ ] Build cache is disabled
[ ] Skipping task ':app:stripDebugDebugSymbols' as it is up-to-date.
[ ] :app:stripDebugDebugSymbols (Thread[Execution worker Thread 4,5,main]) completed. Took 0.001 secs.
[ ] Resolve mutations for :app:validateSigningDebug (Thread[Execution worker Thread 5,5,main]) started.
[ ] Resolve mutations for :app:validateSigningDebug (Thread[Execution worker Thread 5,5,main]) completed. Took
0.0 secs.
[ ] :app:validateSigningDebug (Thread[Execution worker Thread 5,5,main]) started.
[ ] > Task :app:validateSigningDebug UP-TO-DATE
[ ] Caching disabled for task ':app:validateSigningDebug' because:
[ ] Build cache is disabled
[ ] Skipping task ':app:validateSigningDebug' as it is up-to-date.
[ ] :app:validateSigningDebug (Thread[Execution worker Thread 5,5,main]) completed. Took 0.0 secs.
[ ] Resolve mutations for :app:writeDebugAppMetadata (Thread[Execution worker Thread 4,5,main]) started.
[ ] Resolve mutations for :app:writeDebugAppMetadata (Thread[Execution worker Thread 4,5,main]) completed. Took0.0 secs.
[ ] :app:writeDebugAppMetadata (Thread[Execution worker Thread 4,5,main]) started.
[ ] > Task :app:writeDebugAppMetadata UP-TO-DATE
[ ] Caching disabled for task ':app:writeDebugAppMetadata' because:
[ ] Build cache is disabled
[ ] Skipping task ':app:writeDebugAppMetadata' as it is up-to-date.
[ ] Resolve mutations for :app:writeDebugSigningConfigVersions (Thread[Execution worker Thread 5,5,main])
started.
[ ] Resolve mutations for :app:writeDebugSigningConfigVersions (Thread[Execution worker Thread 5,5,main])
completed. Took 0.0 secs.
[ ] :app:writeDebugAppMetadata (Thread[Execution worker Thread 4,5,main]) completed. Took 0.001 secs.
[ ] :app:writeDebugSigningConfigVersions (Thread[Execution worker Thread 5,5,main]) started.
[ ] > Task :app:writeDebugSigningConfigVersions UP-TO-DATE
[ ] Caching disabled for task ':app:writeDebugSigningConfigVersions' because:
[ ] Build cache is disabled
[ ] Skipping task ':app:writeDebugSigningConfigVersions' as it is up-to-date.
[ ] :app:writeDebugSigningConfigVersions (Thread[Execution worker Thread 5,5,main]) completed. Took 0.002 secs.[ ] > Task :app:compressDebugAssets
[ ] Execution optimizations have been disabled for task ':app:compressDebugAssets' to ensure correctness due tothe following reasons:
[ ] - Gradle detected a problem with the following location: 'C:\Code
Projects\amazon_echo_page\build\app\intermediates\assets\debug\mergeDebugAssets'. Reason: Task
':app:compressDebugAssets' uses this output of task ':app:copyFlutterAssetsDebug' without declaring an explicit or
implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are
executed. Please refer to https://docs.gradle.org/7.5/userguide/validation_problems.html#implicit_dependency for more
details about this problem.
[ ] Invalidating VFS because task ':app:compressDebugAssets' failed validation
[ ] Not watching anything anymore
[ ] Watching 0 directory hierarchies to track changes
[ ] Caching disabled for task ':app:compressDebugAssets' because:
[ ] Build cache is disabled
[ ] Task ':app:compressDebugAssets' is not up-to-date because:
[ ] Incremental execution has been disabled to ensure correctness. Please consult deprecation warnings for
more details.
[ ] The input changes require a full rebuild for incremental task ':app:compressDebugAssets'.
[ ] :app:compressDebugAssets (Thread[Execution worker Thread 6,5,main]) completed. Took 0.681 secs.
[ ] Resolve mutations for :app:packageDebug (Thread[Execution worker Thread 5,5,main]) started.
[ +23 ms] Resolve mutations for :app:packageDebug (Thread[Execution worker Thread 5,5,main]) completed. Took 0.0
secs.
[ ] :app:packageDebug (Thread[Execution worker Thread 6,5,main]) started.
[ ] > Task :app:packageDebug UP-TO-DATE
[ ] Caching disabled for task ':app:packageDebug' because:
[ ] Build cache is disabled
[ ] Skipping task ':app:packageDebug' as it is up-to-date.
[ ] :app:packageDebug (Thread[Execution worker Thread 6,5,main]) completed. Took 0.007 secs.
[ ] Resolve mutations for :app:createDebugApkListingFileRedirect (Thread[Execution worker Thread 6,5,main])
started.
[ ] Resolve mutations for :app:createDebugApkListingFileRedirect (Thread[Execution worker Thread 6,5,main])
completed. Took 0.0 secs.
[ ] :app:createDebugApkListingFileRedirect (Thread[Execution worker Thread 6,5,main]) started.
[ ] producer locations for task group 0 (Thread[Execution worker,5,main]) started.
[ ] producer locations for task group 0 (Thread[Execution worker,5,main]) completed. Took 0.0 secs.
[ ] > Task :app:createDebugApkListingFileRedirect UP-TO-DATE
[ ] Caching disabled for task ':app:createDebugApkListingFileRedirect' because:
[ ] Build cache is disabled
[ ] Skipping task ':app:createDebugApkListingFileRedirect' as it is up-to-date.
[ ] :app:createDebugApkListingFileRedirect (Thread[Execution worker Thread 6,5,main]) completed. Took 0.001
secs.
[ ] Resolve mutations for :app:assembleDebug (Thread[Execution worker Thread 6,5,main]) started.
[ ] Resolve mutations for :app:assembleDebug (Thread[Execution worker Thread 6,5,main]) completed. Took 0.0
secs.
[ ] :app:assembleDebug (Thread[Execution worker Thread 6,5,main]) started.
[ +25 ms] > Task :app:assembleDebug
[ ] Caching disabled for task ':app:assembleDebug' because:
[ ] Build cache is disabled
[ ] Task ':app:assembleDebug' is not up-to-date because:
[ ] Task has not declared any outputs despite executing actions.
[ ] :app:assembleDebug (Thread[Execution worker Thread 6,5,main]) completed. Took 0.104 secs.
[ ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[ ] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come
from your own scripts or plugins.
[ ] See https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings
[ ] Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure
correctness.
[ ] Please consult deprecation warnings for more details.
[ ] BUILD SUCCESSFUL in 5s
[ ] 36 actionable tasks: 6 executed, 30 up-to-date
[ ] Watched directory hierarchies: []
[ +529 ms] Running Gradle task 'assembleDebug'... (completed in 6.5s)
[ +2 ms] Calculate SHA1: LocalDirectory: 'C:\Code
Projects\amazon_echo_page\build\app\outputs\flutter-apk'/app-debug.apk
[ +597 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk.
[ +2 ms] executing: C:\src\Android\SDK\build-tools\33.0.1\aapt dump xmltree C:\Code
Projects\amazon_echo_page\build\app\outputs\flutter-apk\app-debug.apk AndroidManifest.xml
[ +24 ms] Exit code 0 from: C:\src\Android\SDK\build-tools\33.0.1\aapt dump xmltree C:\Code
Projects\amazon_echo_page\build\app\outputs\flutter-apk\app-debug.apk AndroidManifest.xml
[ ] N: android=http://schemas.android.com/apk/res/android
E: manifest (line=2)
A: android:versionCode(0x0101021b)=(type 0x10)0x1
A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x21
A: android:compileSdkVersionCodename(0x01010573)="13" (Raw: "13")
A: package="com.example.amazon_echo_page" (Raw: "com.example.amazon_echo_page")
A: platformBuildVersionCode=(type 0x10)0x21
A: platformBuildVersionName=(type 0x10)0xd
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x21
E: uses-permission (line=15)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: application (line=17)
A: android:label(0x01010001)="amazon_echo_page" (Raw: "amazon_echo_page")
A: android:icon(0x01010002)=#0x7f080000
A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application")
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
"androidx.core.app.CoreComponentFactory")
E: activity (line=23)
A: android:theme(0x01010000)=#0x7f0a0000
A: android:name(0x01010003)="com.example.amazon_echo_page.MainActivity" (Raw:
"com.example.amazon_echo_page.MainActivity")
A: android:exported(0x01010010)=(type 0x12)0xffffffff
A: android:launchMode(0x0101001d)=(type 0x10)0x1
A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
E: meta-data (line=38)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw:
"io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=#0x7f0a0001
E: intent-filter (line=42)
E: action (line=43)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=45)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw:
"android.intent.category.LAUNCHER")
E: meta-data (line=52)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
E: uses-library (line=56)
A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
A: android:required(0x0101028e)=(type 0x12)0x0
E: uses-library (line=59)
A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
A: android:required(0x0101028e)=(type 0x12)0x0
[ +6 ms] Stopping app 'app-debug.apk' on sdk gphone64 x86 64.
[ ] executing: C:\src\Android\SDK\platform-tools\adb.exe -s emulator-5554 shell am force-stop
com.example.amazon_echo_page
[ +65 ms] executing: C:\src\Android\SDK\platform-tools\adb.exe -s emulator-5554 shell pm list packages
com.example.amazon_echo_page
[ +97 ms] package:com.example.amazon_echo_page
[ +1 ms] executing: C:\src\Android\SDK\platform-tools\adb.exe -s emulator-5554 shell cat
/data/local/tmp/sky.com.example.amazon_echo_page.sha1
[ +47 ms] 3a2dbb94e641ceb1c011256a71b600fb6d6342f3
[ +1 ms] Latest build already installed.
[ ] executing: C:\src\Android\SDK\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[ +51 ms] --------- beginning of main
02-14 21:13:59.045 D/CarrierSvcBindHelper( 921): No carrier app for: 0
[ +4 ms] executing: C:\src\Android\SDK\platform-tools\adb.exe -s emulator-5554 shell am start -a
android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x20000000 --ez enable-dart-profiling true --ez
enable-checked-mode true --ez verify-entry-points true
com.example.amazon_echo_page/com.example.amazon_echo_page.MainActivity
[ +70 ms] Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x20000000
cmp=com.example.amazon_echo_page/.MainActivity (has extras) }
[ +1 ms] Waiting for observatory port to be available...
[ +559 ms] Observatory URL on device: http://127.0.0.1:36213/YB2WX5_tTgw=/
[ +1 ms] executing: C:\src\Android\SDK\platform-tools\adb.exe -s emulator-5554 forward tcp:0 tcp:36213
[ +40 ms] 60200
[ ] Forwarded host port 60200 to device port 36213 for Observatory
[ +4 ms] Caching compiled dill
[ +31 ms] Connecting to service protocol: http://127.0.0.1:60200/YB2WX5_tTgw=/
[ +262 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at
http://127.0.0.1:60200/YB2WX5_tTgw=/.
[ +171 ms] DDS is listening at http://127.0.0.1:60203/WwK9SPk9WF0=/.
[ +53 ms] Successfully connected to service protocol: http://127.0.0.1:60200/YB2WX5_tTgw=/
[ +71 ms] DevFS: Creating new filesystem on the device (null)
[ +31 ms] DevFS: Created new filesystem on the device
(file:///data/user/0/com.example.amazon_echo_page/code_cache/amazon_echo_pageNQVHSV/amazon_echo_page/)
[ +3 ms] Updating assets
[ +107 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more
information see #56466.
[ +5 ms] Syncing files to device sdk gphone64 x86 64...
[ +3 ms] Compiling dart to kernel with 0 updated files
[ ] Processing bundle.
[ +1 ms] <- recompile package:amazon_echo_page/main.dart 06fa5efe-3a35-4146-8cc0-5480b01cce6b
[ ] <- 06fa5efe-3a35-4146-8cc0-5480b01cce6b
[ +2 ms] Bundle processing done.
[ +87 ms] Updating files.
[ ] DevFS: Sync finished
[ +2 ms] Syncing files to device sdk gphone64 x86 64... (completed in 97ms)
[ +1 ms] Synced 0.0MB.
[ +4 ms] <- accept
[ +8 ms] Connected to _flutterView/0x72f67ca58530.
[ +2 ms] Flutter run key commands.
[ +1 ms] r Hot reload.
[ +4 ms] R Hot restart.
[ +1 ms] h List all available interactive commands.
[ +1 ms] d Detach (terminate "flutter run" but leave application running).
[ ] c Clear the screen
[ ] q Quit (terminate the application on the device).
[ ] Running with sound null safety
[ ] An Observatory debugger and profiler on sdk gphone64 x86 64 is available at:
http://127.0.0.1:60203/WwK9SPk9WF0=/
[ +582 ms] The Flutter DevTools debugger and profiler on sdk gphone64 x86 64 is available at:
http://127.0.0.1:9101?uri=http://127.0.0.1:60203/WwK9SPk9WF0=/
No issues found! (ran in 1.5s)
[√] Flutter (Channel stable, 3.7.0, on Microsoft Windows [Version 10.0.19045.2546], locale en-US)
• Flutter version 3.7.0 on channel stable at C:\src\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision b06b8b2710 (3 weeks ago), 2023-01-23 16:55:55 -0800
• Engine revision b24591ed32
• Dart version 2.19.0
• DevTools version 2.20.1
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
• Android SDK at C:\src\Android\SDK
• Platform android-33, build-tools 33.0.1
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Build Tools 2022 17.4.0)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools
• Visual Studio Build Tools 2022 version 17.4.33103.184
• Windows 10 SDK version 10.0.22621.0
[√] Android Studio (version 2022.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
[√] Connected device (4 available)
• sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 12 (API 32) (emulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.2546]
• Chrome (web) • chrome • web-javascript • Google Chrome 109.0.5414.120
• Edge (web) • edge • web-javascript • Microsoft Edge 109.0.1518.70
[√] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
You can use Align widget for this case, else provide width or left and right value.
final index = widget.children.indexOf(element);
return Positioned(
top: 200 + (index * 10),
left: 0,
right: 0,
child: Transform.scale(
scale: 1,
child: element,
),
);

Aries JPA EntityManager services not starting for WebLogic data source

I'm trying to get an OSGi persistence bundle working on WebLogic's built-in Felix framework. As per the WebLogic OSGi documentation, my WebLogic data source test-ds appears to be available as a service within OSGi:
Service 59 - [weblogic.jdbc.common.internal.RemoteDataSource, javax.sql.DataSource, javax.sql.CommonDataSource, java.sql.Wrapper, weblogic.jdbc.extensions.WLDataSource, java.rmi.Remote, weblogic.jdbc.common.internal.DataSourceMetaData, weblogic.common.resourcepool.ObjectLifeCycle, weblogic.jndi.CrossPartitionAware] (pid: n/a)
from Bundle 0 - System Bundle (org.apache.felix.framework), version 5.6.0
Name: test-ds
service.bundleid: 0
service.scope: singleton
I've created a persistence bundle com.test.persistence-bundle with the following entity class:
#Entity
public class TestEntity {
#Id
private Integer id;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
}
... and persistence.xml:
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.2" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_2.xsd">
<persistence-unit name="test-pu" transaction-type="JTA">
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
<jta-data-source>osgi:service/test-ds</jta-data-source>
<non-jta-data-source>osgi:service/test-ds</non-jta-data-source>
<class>test.model.TestEntity</class>
<properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.Oracle12cDialect"/>
</properties>
</persistence-unit>
</persistence>
... and manifest:
Manifest-Version: 1.0
Bnd-LastModified: 1556912147017
Build-Jdk: 1.8.0_171
Built-By: roadkill
Bundle-ManifestVersion: 2
Bundle-Name: test-persistence-bundle
Bundle-SymbolicName: com.test.persistence-bundle
Bundle-Version: 1.0.0.SNAPSHOT
Created-By: Apache Maven Bundle Plugin
DynamicImport-Package: org.hibernate.proxy,javassist.util.proxy
Export-Package: test.model;uses:="javax.persistence";version="1.0.0"
Import-Package: javax.persistence;version="[2.2,3)",org.hibernate.proxy;
resolution:=optional,javassist.util.proxy;resolution:=optional
Meta-Persistence: META-INF/persistence.xml
Provide-Capability: osgi.service;effective:=active;objectClass="javax.pe
rsistence.EntityManager";osgi.unit.name=test-pu,osgi.service;effective:
=active;objectClass="javax.persistence.EntityManagerFactory";osgi.unit.
name=test-pu,osgi.service;effective:=active;objectClass="org.apache.ari
es.jpa.template.JpaTemplate";osgi.unit.name=test-pu,osgi.service;effect
ive:=active;objectClass="org.apache.aries.jpa.supplier.EmSupplier";osgi
.unit.name=test-pu
Require-Capability: osgi.extender;osgi.extender="aries.jpa",osgi.service
;effective:=active;objectClass="javax.persistence.spi.PersistenceProvid
er";javax.persistence.provider="org.hibernate.jpa.HibernatePersistenceP
rovider",osgi.service;effective:=active;objectClass="javax.transaction.
TransactionManager",osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"
Tool: Bnd-4.2.0.201903051501
I've also created a client bundle com.test.service-impl which implements TestService from another bundle:
#Component(service = TestService.class)
public class TestServiceImpl implements TestService {
#PersistenceContext(unitName = "test-pu")
EntityManager em;
#Override
public void foo() {
System.out.println(em);
}
}
The EntityManager instance should be injected via the blueprint for the service implementation:
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:jpa="http://aries.apache.org/xmlns/jpa/v2.0.0" xmlns:tx="http://aries.apache.org/xmlns/transactions/v2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 https://osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
<jpa:enable />
<tx:enable />
<bean id="testService" class="test.service.impl.TestServiceImpl"/>
<service ref="testService" interface="test.service.TestService"/>
</blueprint>
However, em is always null. It seems the EntityManager services are never started even though all bundles are Active. I get the following message when updating com.test.service-impl:
13:20:36.380 [Blueprint Extender: 1] INFO org.apache.aries.blueprint.container.BlueprintContainerImpl - Blueprint bundle com.test.service-impl/1.0.0.SNAPSHOT is waiting for dependencies [(&(osgi.unit.name=test-pu)(objectClass=javax.persistence.EntityManager))]
13:20:36.380 [Blueprint Extender: 1] DEBUG org.apache.aries.blueprint.container.BlueprintEventDispatcher - Sending blueprint container event BlueprintEvent[type=GRACE_PERIOD, dependencies=[(&(osgi.unit.name=test-pu)(objectClass=javax.persistence.EntityManager))]] for bundle com.test.service-impl/1.0.0.SNAPSHOT
I'm using Aries JPA to wire everything together with Hibernate as the persistence provider. I also have Aries Blueprint and Aries Transaction installed along with all required dependencies.
Here are the relevant bundles from my bundlelist:
com.test.persistence-api (1.0.0.SNAPSHOT) "test-persistence-api" [active, 23]
com.test.persistence-bundle (1.0.0.SNAPSHOT) "test-persistence-bundle" [active, 25]
com.test.service-impl (1.0.0.SNAPSHOT) "test-service-impl" [active, 21]
javax.persistence-api (2.2) "Java(TM) Persistence API jar" [active, 45]
javax.transaction-api (1.2) "javax.transaction API" [active, 10]
javax.transaction-api (1.3) "javax.transaction API" [active, 18]
org.apache.aries.blueprint.annotation.impl (1.0.1) "Apache Aries Blueprint Annotation Impl" [active, 32]
org.apache.aries.blueprint.core (1.10.2) "Apache Aries Blueprint Core" [active, 19]
org.apache.aries.jpa.api (2.7.2) "Apache Aries JPA Container API" [active, 44]
org.apache.aries.jpa.blueprint (2.7.2) "Apache Aries JPA blueprint" [active, 22]
org.apache.aries.jpa.container (2.7.2) "Apache Aries JPA container" [active, 64]
org.apache.aries.jpa.javax.persistence_2.1 (2.7.2) "Apache Aries JPA Specification 2.1 API" [active, 67]
org.apache.aries.jpa.support (2.7.2) "Apache Aries JPA support" [active, 66]
org.apache.aries.proxy (1.1.4) "Apache Aries Proxy Service" [active, 70]
org.apache.aries.transaction.blueprint (2.2.0) "Apache Aries Transaction Blueprint" [active, 52]
org.apache.aries.transaction.manager (1.3.3) "Apache Aries Transaction Manager" [active, 34]
org.apache.aries.util (1.1.3) "Apache Aries Util" [active, 30]
org.hibernate.common.hibernate-commons-annotations (5.1.0.Final) "hibernate-commons-annotations" [active, 56]
org.hibernate.orm.core (5.3.10.Final) "hibernate-core" [active, 31]
org.hibernate.orm.core (5.4.2.Final) "hibernate-core" [active, 29]
org.hibernate.orm.osgi (5.4.2.Final) "hibernate-osgi" [active, 59]
org.osgi.service.blueprint (1.0.2.201505202024) "org.osgi:org.osgi.service.blueprint" [active, 27]
org.osgi.service.cm (1.5.0.201505202024) "org.osgi:org.osgi.service.cm" [active, 6]
org.osgi.service.coordinator (1.0.2.201505202024) "org.osgi:org.osgi.service.coordinator" [active, 73]
org.osgi.service.jdbc (1.0.0.201505202023) "org.osgi:org.osgi.service.jdbc" [active, 37]
org.osgi.util.function (1.1.0.201802012106) "org.osgi:org.osgi.util.function" [active, 65]
org.osgi.util.promise (1.1.1.201810101357) "org.osgi:org.osgi.util.promise" [active, 17]
Any ideas?
Thanks in advance!
TL;DR: It turns out this was due to a bug in the version of Felix that WebLogic ships with. I was able to upgrade the framework by simply replacing \wlserver\server\lib\org.apache.felix.org.apache.felix.main.jar and \wlserver\server\lib\osgi.jar with the latest versions of felix-main and osgi-core, respectively.
While trying to figure out the source of the issue, I ended up downloading and manually reading through Karaf's jpa, transaction, and hibernate features to ensure all of the proper bundles were installed and started in the correct order. WebLogic allows you to specify start levels by placing bundles inside of subdirectories within the osgi-lib folder. I'm not sure how helpful this was in the long run, but it gave me some confidence that things were set up in a verified way.
Here's the list of bundles, with versions and start levels, that I gathered from the Karaf features (not shown: logging/console/shell stuff):
START LEVEL 100
ID State Level Name
[ 0] [Active ] [ 0] System Bundle (6.0.3)
[ 1] [Active ] [ 10] Apache Felix Configuration Admin Service (1.9.14)
[ 2] [Active ] [ 11] Apache Felix File Install (3.6.4)
[ 3] [Active ] [ 20] org.objectweb.asm (7.1.0)
[ 4] [Active ] [ 20] org.objectweb.asm.tree.analysis (7.1.0)
[ 5] [Active ] [ 20] org.objectweb.asm.commons (7.1.0)
[ 6] [Active ] [ 20] org.objectweb.asm.tree (7.1.0)
[ 7] [Active ] [ 20] org.objectweb.asm.util (7.1.0)
[ 8] [Active ] [ 20] Apache Aries Blueprint API (1.0.1)
[ 9] [Active ] [ 20] Apache Aries Blueprint CM (1.3.1)
[ 10] [Active ] [ 20] Apache Aries Blueprint Core (1.10.2)
[ 11] [Resolved ] [ 20] Apache Aries Blueprint Core Compatiblity Fragment Bundle (1.0.0)
[ 12] [Active ] [ 20] Apache Aries Proxy Service (1.1.4)
[ 13] [Active ] [ 20] Apache Aries Util (1.1.3)
[ 14] [Active ] [ 30] jaxb-api (2.3.1)
[ 15] [Active ] [ 30] Apache Aries JMX API (1.1.5)
[ 16] [Active ] [ 30] Apache Aries JMX Blueprint API (1.2.0)
[ 17] [Active ] [ 30] Apache Aries JMX Blueprint Core (1.2.0)
[ 18] [Active ] [ 30] Apache Aries JMX Core (1.1.8)
[ 19] [Active ] [ 30] Apache Aries Whiteboard support for JMX DynamicMBean services (1.2.0)
[ 20] [Active ] [ 30] Apache Aries JPA Container API (2.7.2)
[ 21] [Active ] [ 30] Apache Aries JPA blueprint (2.7.2)
[ 22] [Active ] [ 30] Apache Aries JPA container (2.7.2)
[ 23] [Active ] [ 30] Apache Aries JPA support (2.7.2)
[ 24] [Active ] [ 30] Apache ServiceMix :: Specs :: Activation API 1.4 (2.9.0)
[ 25] [Active ] [ 5] Apache Felix EventAdmin (1.5.0)
[ 26] [Active ] [ 5] Apache Felix Metatype Service (1.2.2)
[ 27] [Active ] [ 8] jansi (1.17.1)
[ 31] [Active ] [ 80] Byte Buddy (without dependencies) (1.9.10)
[ 32] [Active ] [ 80] CDI APIs (1.2.0)
[ 33] [Active ] [ 80] ClassMate (1.3.4)
[ 34] [Active ] [ 80] org_dom4j_dom4j_2.1.1_dom4j-2.1.1.jar (0)
[ 36] [Active ] [ 80] geronimo-jta_1.1_spec (1.1.1)
[ 37] [Active ] [ 80] hibernate-commons-annotations (5.1.0.Final)
[ 38] [Active ] [ 80] hibernate-core (5.4.2.Final)
[ 39] [Active ] [ 80] hibernate-osgi (5.4.2.Final)
[ 40] [Active ] [ 80] Java Annotation Indexer (2.0.5.Final)
[ 41] [Active ] [ 80] Javassist (3.24.0.GA)
[ 42] [Active ] [ 80] Expression Language 3.0 API (3.0.0)
[ 43] [Active ] [ 80] javax.interceptor API (1.2)
[ 44] [Active ] [ 80] Java(TM) Persistence API jar (2.2)
[ 45] [Active ] [ 80] Apache Aries JPA Specification 2.1 API (2.7.2)
[ 46] [Active ] [ 80] javax.transaction API (1.2)
[ 47] [Active ] [ 80] JBoss Logging 3 (3.3.2.Final)
[ 48] [Active ] [ 80] Java Transaction API (1.1.1.Final)
[ 49] [Active ] [ 80] Apache Aries Transaction Blueprint (1.1.1)
[ 50] [Active ] [ 80] Apache Aries Transaction Blueprint (2.2.0)
[ 51] [Active ] [ 80] Apache ServiceMix :: Bundles :: javax.inject (1.0.0.2)
[ 52] [Active ] [ 80] org.osgi:org.osgi.service.jdbc (1.0.0.201505202023)
[ 53] [Active ] [ 80] pax-transx-tm-api (0.4.3)
[ 54] [Active ] [ 80] pax-transx-tm-geronimo (0.4.3)
[ 55] [Active ] [ 9] Apache Felix Coordinator Service (1.0.2)
[ 61] [Active ] [ 1] Apache Felix Declarative Services (2.1.16)
[ 65] [Active ] [ 1] org.osgi:org.osgi.util.function (1.1.0.201802012106)
[ 66] [Active ] [ 1] org.osgi:org.osgi.util.promise (1.1.1.201810101357)
I also made some changes to the OSGi framework configuration itself via the WebLogic console:
Boot delegation - these were mostly copied from the Karaf configuration, although sun.* and com.sun.* are definitely needed to avoid ClassNotFoundExceptions from bytebuddy:
com.sun.*, javax.transaction, javax.transaction.*, javax.xml.crypto, javax.xml.crypto.*, jdk.nashorn.*, sun.*, jdk.internal.reflect, jdk.internal.reflect.*
Init Properties - again, mostly copied from Karaf:
felix.startlevel.bundle=80
org.apache.aries.blueprint.synchronous=true
org.apache.aries.proxy.weaving.disabled=org.objectweb.asm.*,org.slf4j.*,org.apache.log4j.*,javax.*,org.apache.xerces.*
org.apache.aries.proxy.weaving.enabled=none
org.osgi.framework.startlevel.beginning=100
Lastly, it appears WebLogic sets the name property of the published DataSource service to the JNDI name of the data source itself. Thus, the full value for jta-data-source should be something like:
osgi:service/javax.sql.DataSource/(name=test-ds)
Hope this helps.

What is the mean of [-] and [+] in silktest script

I got a project to convert Silk Test to some other GUI testing framework. I can't understand how the Silk Test script organized by [-] and [+] signs.
are there someone help me to understand the meaning? Here is a sample script
[+] if(AssignSymbolToCatalogNumber.Exists(4))
[ ] AssignSymbolToCatalogNumber.setActive()
[ ] Sleep(1)
[ ] AssignSymbolToCatalogNumber.notMapToCatalog.SetFocus()
[ ] AssignSymbolToCatalogNumber.notMapToCatalog.Click()
[ ] WaitForDialogExists (Keep)
[-] if !Keep1.Exists (1)
[ ] ResLog.LogFail ("The number {i} Keep dialog did not pop up!")
[ ] goto EndProgram
[-] else
[ ] Keep1.SetActive ()
[ ] Keep1.RadioList1RL.Select ("#1")
[ ] Keep1.ShowEditDialogAfterEachCK.Check ()
[ ] Keep1.OK.Click ()
[ ]
[ ] WaitForDialogExists (InsertEditChildComponent)
[-] if !InsertEditChildComponent.Exists (1)
[ ] ResLog.LogFail ("Insert/Edit child component dialog did not pop up!")
[ ] goto EndProgram
[-] else
[ ] InsertEditChildComponent.SetActive ()
[ ] InsertEditChildComponent.ParentSiblingPB.Click ()
[ ]
[ ] Sleep (1)
In Silk Test's 4Test language, blocks are indicated by an additional tab-character in the indentation, similar to Python.
The [+] and [-] tags are an indication for the code-editor that a new block begins and also encode the folding status of that block. That means that when you fold that block in the IDE, it will become [-] and if you open it up again, it will become [+].
For the purpose of running a script they make no difference, it's only relevant for displaying the code.

glmnet MatLab -

I am trying to use glmnet package for MatLab. The glmnet works fine, but when trying to use cvglmnet (which is another function from the package), MatLab gives a "catastrophic" error which requires me to close it. It has something to do with a MEX file it is calling. I copied the whole error message below.
Any help is appreciated.
MATLAB crash file:C:\Users\Marcelo\AppData\Local\Temp\matlab_crash_dump.10552-1:
------------------------------------------------------------------------
Access violation detected at Mon Jul 06 17:28:49 2015
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Default Encoding : windows-1252
Graphics card 1 : NVIDIA ( 0x10de ) NVIDIA GeForce GT 740M Version 9.18.13.4752
Graphics card 2 : Intel Corporation ( 0x8086 ) Intel(R) HD Graphics 4000 Version 10.18.10.3308
MATLAB Architecture: win64
MATLAB Root : C:\Program Files\MATLAB\R2014b
MATLAB Version : 8.4.0.150421 (R2014b)
Operating System : Microsoft Windows 8.1 Single Language
Processor ID : x86 Family 6 Model 58 Stepping 9, GenuineIntel
Software OpenGL : 0
Virtual Machine : Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : Version 6.3 (Build 9600)
Fault Count: 1
Abnormal termination:
Access violation
Register State (from fault):
RAX = 0000000000000000 RBX = 0000000000000000
RCX = 000000000402e7f0 RDX = 000000000402e8f0
RSP = 000000000402cd08 RBP = 000000000402e8f0
RSI = 0000000078ab6550 RDI = 000000000402e7f0
R8 = 000000000402db10 R9 = 000000000402e7f0
R10 = 0000000000000000 R11 = 000000000402e8f0
R12 = 0000000000000001 R13 = 0000000000000000
R14 = 000000000402e8f0 R15 = 000000000402e7f0
RIP = 00000000fe160b03 EFL = 00010286
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00000000fe160b03 C:\Program Files\MATLAB\R2014b\bin\win64\libmx.dll+00396035 MXGETPR+00000003
[ 1] 0x00007ffee4d619dc C:\Users\Marcelo\Desktop\Marcelo\PUC\Mestrado\Dissertação\Instrument Selection\glmnet_matlab\glmnetMex.mexw64+00006620 MEXFUNCTION+00002524
[ 2] 0x00000000fc5f36f0 C:\Program Files\MATLAB\R2014b\bin\win64\libmex.dll+00079600 mexRunMexFile+00000112
[ 3] 0x00000000fc5f2762 C:\Program Files\MATLAB\R2014b\bin\win64\libmex.dll+00075618 inSwapMexfileReader+00000690
[ 4] 0x00000000fc5f2248 C:\Program Files\MATLAB\R2014b\bin\win64\libmex.dll+00074312 mexUnlock+00006008
[ 5] 0x0000000004a805e3 C:\Program Files\MATLAB\R2014b\bin\win64\m_dispatcher.dll+00067043 Mfh_file::dispatch_fh+00000659
[ 6] 0x0000000004a80aee C:\Program Files\MATLAB\R2014b\bin\win64\m_dispatcher.dll+00068334 Mfunction_handle::dispatch+00000766
[ 7] 0x0000000004e62b2f C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00273199 inGetNameInSymbolTable+00017071
[ 8] 0x0000000004e640c0 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00278720 inGetNameInSymbolTable+00022592
[ 9] 0x0000000004e61b4f C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00269135 inGetNameInSymbolTable+00013007
[ 10] 0x0000000004e61ab1 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00268977 inGetNameInSymbolTable+00012849
[ 11] 0x0000000004e8406f C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00409711 inPathNotification::function_delete_notification+00098591
[ 12] 0x0000000004e827af C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00403375 inPathNotification::function_delete_notification+00092255
[ 13] 0x0000000004e81359 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00398169 inPathNotification::function_delete_notification+00087049
[ 14] 0x0000000004a805e3 C:\Program Files\MATLAB\R2014b\bin\win64\m_dispatcher.dll+00067043 Mfh_file::dispatch_fh+00000659
[ 15] 0x0000000004a80aee C:\Program Files\MATLAB\R2014b\bin\win64\m_dispatcher.dll+00068334 Mfunction_handle::dispatch+00000766
[ 16] 0x0000000004e62b2f C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00273199 inGetNameInSymbolTable+00017071
[ 17] 0x0000000004e640c0 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00278720 inGetNameInSymbolTable+00022592
[ 18] 0x0000000004e61b4f C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00269135 inGetNameInSymbolTable+00013007
[ 19] 0x0000000004e61ab1 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00268977 inGetNameInSymbolTable+00012849
[ 20] 0x0000000004e8406f C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00409711 inPathNotification::function_delete_notification+00098591
[ 21] 0x0000000004e827af C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00403375 inPathNotification::function_delete_notification+00092255
[ 22] 0x0000000004e81359 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00398169 inPathNotification::function_delete_notification+00087049
[ 23] 0x0000000004a805e3 C:\Program Files\MATLAB\R2014b\bin\win64\m_dispatcher.dll+00067043 Mfh_file::dispatch_fh+00000659
[ 24] 0x0000000004a80aee C:\Program Files\MATLAB\R2014b\bin\win64\m_dispatcher.dll+00068334 Mfunction_handle::dispatch+00000766
[ 25] 0x0000000004e62b2f C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00273199 inGetNameInSymbolTable+00017071
[ 26] 0x0000000004e640c0 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00278720 inGetNameInSymbolTable+00022592
[ 27] 0x0000000004e61b4f C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00269135 inGetNameInSymbolTable+00013007
[ 28] 0x0000000004e61ab1 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00268977 inGetNameInSymbolTable+00012849
[ 29] 0x0000000004e8406f C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00409711 inPathNotification::function_delete_notification+00098591
[ 30] 0x0000000004e827af C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00403375 inPathNotification::function_delete_notification+00092255
[ 31] 0x0000000004e81359 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00398169 inPathNotification::function_delete_notification+00087049
[ 32] 0x0000000004a805e3 C:\Program Files\MATLAB\R2014b\bin\win64\m_dispatcher.dll+00067043 Mfh_file::dispatch_fh+00000659
[ 33] 0x0000000004a80aee C:\Program Files\MATLAB\R2014b\bin\win64\m_dispatcher.dll+00068334 Mfunction_handle::dispatch+00000766
[ 34] 0x0000000004e3b606 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00112134 MathWorks::MException::IMExceptionData::IMExceptionData+00037094
[ 35] 0x0000000004e3aa20 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00109088 MathWorks::MException::IMExceptionData::IMExceptionData+00034048
[ 36] 0x0000000004e39219 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00102937 MathWorks::MException::IMExceptionData::IMExceptionData+00027897
[ 37] 0x0000000004e38de5 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00101861 MathWorks::MException::IMExceptionData::IMExceptionData+00026821
[ 38] 0x0000000004e8b708 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00440072 inPathNotification::function_delete_notification+00128952
[ 39] 0x0000000004e63ea5 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00278181 inGetNameInSymbolTable+00022053
[ 40] 0x0000000004e61b4f C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00269135 inGetNameInSymbolTable+00013007
[ 41] 0x0000000004e61ab1 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00268977 inGetNameInSymbolTable+00012849
[ 42] 0x0000000004e8406f C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00409711 inPathNotification::function_delete_notification+00098591
[ 43] 0x0000000004e827af C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00403375 inPathNotification::function_delete_notification+00092255
[ 44] 0x0000000004e81359 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00398169 inPathNotification::function_delete_notification+00087049
[ 45] 0x0000000004a807a4 C:\Program Files\MATLAB\R2014b\bin\win64\m_dispatcher.dll+00067492 Mfh_file::dispatch_fh+00001108
[ 46] 0x0000000004a80aee C:\Program Files\MATLAB\R2014b\bin\win64\m_dispatcher.dll+00068334 Mfunction_handle::dispatch+00000766
[ 47] 0x0000000004e62b2f C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00273199 inGetNameInSymbolTable+00017071
[ 48] 0x0000000004f4b6f7 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+01226487 inFullEvalFcn+00011159
[ 49] 0x0000000004e65592 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00284050 inGetNameInSymbolTable+00027922
[ 50] 0x0000000004e61b4f C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00269135 inGetNameInSymbolTable+00013007
[ 51] 0x0000000004e61ab1 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00268977 inGetNameInSymbolTable+00012849
[ 52] 0x0000000004e8406f C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00409711 inPathNotification::function_delete_notification+00098591
[ 53] 0x0000000004e827af C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00403375 inPathNotification::function_delete_notification+00092255
[ 54] 0x0000000004e81359 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00398169 inPathNotification::function_delete_notification+00087049
[ 55] 0x0000000004a807a4 C:\Program Files\MATLAB\R2014b\bin\win64\m_dispatcher.dll+00067492 Mfh_file::dispatch_fh+00001108
[ 56] 0x0000000004a80aee C:\Program Files\MATLAB\R2014b\bin\win64\m_dispatcher.dll+00068334 Mfunction_handle::dispatch+00000766
[ 57] 0x0000000004eb4a88 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00608904 inPathNotification::function_delete_notification+00297784
[ 58] 0x0000000004eb4a04 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00608772 inPathNotification::function_delete_notification+00297652
[ 59] 0x0000000004eb49c5 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00608709 inPathNotification::function_delete_notification+00297589
[ 60] 0x0000000004eb4992 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00608658 inPathNotification::function_delete_notification+00297538
[ 61] 0x0000000004eb4947 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00608583 inPathNotification::function_delete_notification+00297463
[ 62] 0x0000000004e2d69d C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00054941 inEvalExp+00001309
[ 63] 0x0000000004f5525d C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+01266269 inEvalCmdWithLocalReturn+00000285
[ 64] 0x0000000004f55181 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+01266049 inEvalCmdWithLocalReturn+00000065
[ 65] 0x00000000fb5fe31d C:\Program Files\MATLAB\R2014b\bin\win64\libmwbridge.dll+00058141 mnGetPrompt+00001517
[ 66] 0x00000000fb5fed09 C:\Program Files\MATLAB\R2014b\bin\win64\libmwbridge.dll+00060681 mnParser+00000745
[ 67] 0x00000000fd0dd834 C:\Program Files\MATLAB\R2014b\bin\win64\mcr.dll+00383028 mcrInstance::mnParser_on_interpreter_thread+00000036
[ 68] 0x00000000fd0a68e7 C:\Program Files\MATLAB\R2014b\bin\win64\mcr.dll+00157927 mcr::runtime::setInterpreterThreadToCurrent+00019751
[ 69] 0x00000000fd0a6923 C:\Program Files\MATLAB\R2014b\bin\win64\mcr.dll+00157987 mcr::runtime::setInterpreterThreadToCurrent+00019811
[ 70] 0x00000000fd0a7121 C:\Program Files\MATLAB\R2014b\bin\win64\mcr.dll+00160033 mcr::runtime::setInterpreterThreadToCurrent+00021857
[ 71] 0x00000000fab5d3a6 C:\Program Files\MATLAB\R2014b\bin\win64\uiw.dll+00512934 UIW_AttachThreadInput+00001270
[ 72] 0x00000000fab5cc35 C:\Program Files\MATLAB\R2014b\bin\win64\uiw.dll+00511029 wsd_to_MSW+00004373
[ 73] 0x00000000fab5ccb9 C:\Program Files\MATLAB\R2014b\bin\win64\uiw.dll+00511161 wsd_to_MSW+00004505
[ 74] 0x00007fff0f5108ca C:\WINDOWS\system32\USER32.dll+00592074 BroadcastSystemMessageExA+00000586
[ 75] 0x00007fff0f482e1f C:\WINDOWS\system32\USER32.dll+00011807 IsWindow+00000367
[ 76] 0x00007fff0f482e96 C:\WINDOWS\system32\USER32.dll+00011926 IsWindow+00000486
[ 77] 0x00007fff0f693034 C:\WINDOWS\SYSTEM32\ntdll.dll+00602164 KiUserCallbackDispatcher+00000036
[ 78] 0x00007fff0f482a8a C:\WINDOWS\system32\USER32.dll+00010890 PeekMessageW+00000250
[ 79] 0x00007fff0f486283 C:\WINDOWS\system32\USER32.dll+00025219 GetMessageA+00000243
[ 80] 0x00007fff0f48622f C:\WINDOWS\system32\USER32.dll+00025135 GetMessageA+00000159
[ 81] 0x00000000fab0a26b C:\Program Files\MATLAB\R2014b\bin\win64\uiw.dll+00172651 UIW_ShowMenuItem+00003995
[ 82] 0x00000000fab5dce2 C:\Program Files\MATLAB\R2014b\bin\win64\uiw.dll+00515298 UIW_SuspendAttachThreadInput+00000466
[ 83] 0x0000000100118223 C:\Program Files\MATLAB\R2014b\bin\win64\libmwservices.dll+01212963 services::system_events::PpeDispatchHook::dispatchOne+00032291
[ 84] 0x0000000100123c95 C:\Program Files\MATLAB\R2014b\bin\win64\libmwservices.dll+01260693 sysq::addProcessPendingEventsUnitTestHook+00005813
[ 85] 0x0000000100123d50 C:\Program Files\MATLAB\R2014b\bin\win64\libmwservices.dll+01260880 sysq::addProcessPendingEventsUnitTestHook+00006000
[ 86] 0x0000000100125b75 C:\Program Files\MATLAB\R2014b\bin\win64\libmwservices.dll+01268597 sysq::getCondition+00004629
[ 87] 0x00000001001274ba C:\Program Files\MATLAB\R2014b\bin\win64\libmwservices.dll+01275066 svWS_ProcessPendingEvents+00000138
[ 88] 0x00000000fd0a783d C:\Program Files\MATLAB\R2014b\bin\win64\mcr.dll+00161853 mcr::runtime::setInterpreterThreadToCurrent+00023677
[ 89] 0x00000000fd0a84aa C:\Program Files\MATLAB\R2014b\bin\win64\mcr.dll+00165034 mcr::runtime::setInterpreterThreadToCurrent+00026858
[ 90] 0x00000000fd0a0135 C:\Program Files\MATLAB\R2014b\bin\win64\mcr.dll+00131381 mcr_process_events+00007477
[ 91] 0x00000000fd0a1a12 C:\Program Files\MATLAB\R2014b\bin\win64\mcr.dll+00137746 mcr_process_events+00013842
[ 92] 0x0000000008078f2d C:\Program Files\MATLAB\R2014b\bin\win64\MVMLocal.dll+00167725 mvm_server::inproc::LocalFactory::terminate+00048285
[ 93] 0x00000000fa8ef1ea C:\Program Files\MATLAB\R2014b\bin\win64\mvm.dll+00782826 mvm::detail::initLocalMvmHack+00000490
[ 94] 0x00000000fa8ef7a8 C:\Program Files\MATLAB\R2014b\bin\win64\mvm.dll+00784296 mvm::detail::SessionImpl::privateSession+00000376
[ 95] 0x00000000fa8ef9f8 C:\Program Files\MATLAB\R2014b\bin\win64\mvm.dll+00784888 mvm::detail::SessionImpl::privateSession+00000968
[ 96] 0x0000000140005ddd C:\Program Files\MATLAB\R2014b\bin\win64\MATLAB.exe+00024029
[ 97] 0x0000000140007870 C:\Program Files\MATLAB\R2014b\bin\win64\MATLAB.exe+00030832
[ 98] 0x00007fff0d1f13d2 C:\WINDOWS\system32\KERNEL32.DLL+00005074 BaseThreadInitThunk+00000034
[ 99] 0x00007fff0f615444 C:\WINDOWS\SYSTEM32\ntdll.dll+00087108 RtlUserThreadStart+00000052
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.
If this problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
Thank you for your help.

Maple equivalent to Matlab matrix(1:N)?

What is the Maple equivalent to Matlab matrix(1:N) so how can I reach matrix elements in Maple?
M := LinearAlgebra:-RandomMatrix(4);
[-93 -32 8 44]
[ ]
[-76 -74 69 92]
M := [ ]
[-72 -4 99 -31]
[ ]
[ -2 27 29 67]
M[2..4,1..2];
[-76 -74]
[ ]
[-72 -4]
[ ]
[ -2 27]
M[2..3,..];
[-76 -74 69 92]
[ ]
[-72 -4 99 -31]
M[..,2..4];
[-32 8 44]
[ ]
[-74 69 92]
[ ]
[ -4 99 -31]
[ ]
[ 27 29 67]
See the help topic rtable_indexing for more.