Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.EntryPointNotFoundException #1

Open
janhar opened this issue Dec 3, 2013 · 2 comments
Open

System.EntryPointNotFoundException #1

janhar opened this issue Dec 3, 2013 · 2 comments

Comments

@janhar
Copy link

janhar commented Dec 3, 2013

Hello,

I get a System.EntryPointNotFoundException when I run the Test-Script (https://github.com/lite4cordova/Cordova-SQLitePlugin-WP-2013.12/blob/master/wp-test/index.html).

I tried it with Cordova 3.0.0 and 3.2.0. The result is still the same.

Steps to reproduce:
$ cordova create test com.example.test Test
$ cd test
$ cordova platform add wp8
$ cordova plugin add https://github.com/lite4cordova/Cordova-SQLitePlugin-WP-2013.12.git

Copy the test script to www folder.

$cordova build

Run Project.

The VS Studio Output for 3.0.0:

'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: DefaultDomain): Loaded 'C:\windows\system32\mscorlib.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Windows.RuntimeHost.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Windows.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Net.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\windows\system32\System.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Xml.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\Data\Programs{D040CDEB-123E-4BCD-8ABB-C95965569014}\Install\com.example.hello2.DLL'. Symbols loaded.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\windows\system32\Microsoft.Phone.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\windows\system32\Microsoft.Phone.Interop.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Xml.Linq.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Core.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Adding feature.value=SQLitePlugin
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\windows\system32\en-US\mscorlib.debug.resources.dll'. Module was built without symbols.
A first chance exception of type 'System.IO.IsolatedStorage.IsolatedStorageException' occurred in Unknown Module.
Updating IsolatedStorage for APP:DeviceID :: 660f53bd-ade4-4e50-84c7-8eda82e93752
CordovaBrowser_LoadCompleted
Test Open
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\windows\system32\System.ServiceModel.Web.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Runtime.Serialization.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
SQLitePlugin.open with options:["gid_native.sqlite3","SQLitePlugin887659030"]
SQLitePlugin.open():gid_native.sqlite3
The thread 0xa7c has exited with code 259 (0x103).
SQLitePlugin.close()
The thread 0xa80 has exited with code 259 (0x103).
Test pass
Test Open Error
Test pass
Test Close
SQLitePlugin.open with options:["gid_native.sqlite3","SQLitePlugin887659032"]
SQLitePlugin.open():gid_native.sqlite3
The thread 0xa84 has exited with code 259 (0x103).
SQLitePlugin.close()
The thread 0xa88 has exited with code 259 (0x103).
Test pass
SQLitePlugin.open with options:["gid_native.sqlite3","SQLitePlugin887659034"]
SQLitePlugin.open():gid_native.sqlite3
The thread 0xa8c has exited with code 259 (0x103).
queryId: 1386042893273000 transId: 1386042893271000 query: CREATE TABLE IF NOT EXISTS sql_test (test_id TEXT NOT NULL, test_name TEXT NOT NULL);
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\windows\system32\en-US\System.debug.resources.DLL'. Module was built without symbols.
---- DEBUG ASSERTION FAILED ----
---- Assert Short Message ----

---- Assert Long Message ----

at Sqlite3.sqlite3FinishCoding(Parse pParse)  
at Sqlite3.yy_reduce(yyParser yypParser, Int32 yyruleno)  
at Sqlite3.sqlite3Parser(yyParser yyp, Int32 yymajor, Token yyminor, Parse pParse)  
at Sqlite3.sqlite3RunParser(Parse pParse, String zSql, String& pzErrMsg)  
at Sqlite3.sqlite3Prepare(sqlite3 db, String zSql, Int32 nBytes, Int32 saveSqlFlag, Vdbe pReprepare, Vdbe& ppStmt, String& pzTail)  
at Sqlite3.sqlite3LockAndPrepare(sqlite3 db, String zSql, Int32 nBytes, Int32 saveSqlFlag, Vdbe pOld, Vdbe& ppStmt, String& pzTail)  
at Sqlite3.sqlite3_prepare_v2(sqlite3 db, String zSql, Int32 nBytes, Vdbe& ppStmt, Int32 dummy)  
at SQLite3.Prepare2(sqlite3 db, String query)  
at SQLiteCommand.Prepare()  
at <ExecuteDeferredQuery>d__0.MoveNext()  
at List`1..ctor(IEnumerable`1 collection)  
at Enumerable.ToList(IEnumerable`1 source)  
at SQLiteCommand.ExecuteQuery()  
at SQLiteConnection.Query2(String query, Object[] args)  
at <>c__DisplayClass2.<executeSqlBatch>b__0()  
at SQLiteConnection.RunInTransaction(Action action)  
at SQLitePlugin.executeSqlBatch(String options)  
at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)  
at RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)  
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  
at MethodBase.Invoke(Object obj, Object[] parameters)  
at BaseCommand.InvokeMethodNamed(String methodName, Object[] args)  
at BaseCommand.InvokeMethodNamed(String callbackId, String methodName, Object[] args)  
at <>c__DisplayClass6.<ProcessCommand>b__2()  
at ThreadHelper.ThreadStart_Context(Object state)  
at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)  
at ThreadHelper.ThreadStart()  

An exception of type 'System.EntryPointNotFoundException' occurred in Unknown Module. and wasn't handled before a managed/native boundary
The thread 0xa94 has exited with code 259 (0x103).
queryId: 1386042893274000 transId: 1386042893271000 query: INSERT INTO sql_test (test_id, test_name) VALUES (?, ?);
queryId: 1386042893275000 transId: 1386042893271000 query: INSERT INTO sql_test (test_id, test_name) VALUES (?, ?);
queryId: 1386042893276000 transId: 1386042893271000 query: SELECT * FROM sql_test;
queryId: 1386042893277000 transId: 1386042893271000 query: DROP table IF EXISTS sql_test;
---- DEBUG ASSERTION FAILED ----
---- Assert Short Message ----

---- Assert Long Message ----

at Sqlite3.sqlite3FinishCoding(Parse pParse)  
at Sqlite3.yy_reduce(yyParser yypParser, Int32 yyruleno)  
at Sqlite3.sqlite3Parser(yyParser yyp, Int32 yymajor, Token yyminor, Parse pParse)  
at Sqlite3.sqlite3RunParser(Parse pParse, String zSql, String& pzErrMsg)  
at Sqlite3.sqlite3Prepare(sqlite3 db, String zSql, Int32 nBytes, Int32 saveSqlFlag, Vdbe pReprepare, Vdbe& ppStmt, String& pzTail)  
at Sqlite3.sqlite3LockAndPrepare(sqlite3 db, String zSql, Int32 nBytes, Int32 saveSqlFlag, Vdbe pOld, Vdbe& ppStmt, String& pzTail)  
at Sqlite3.sqlite3_prepare_v2(sqlite3 db, String zSql, Int32 nBytes, Vdbe& ppStmt, Int32 dummy)  
at SQLite3.Prepare2(sqlite3 db, String query)  
at SQLiteCommand.Prepare()  
at SQLiteCommand.ExecuteNonQuery()  
at SQLiteConnection.Execute(String query, Object[] args)  
at <>c__DisplayClass2.<executeSqlBatch>b__0()  
at SQLiteConnection.RunInTransaction(Action action)  
at SQLitePlugin.executeSqlBatch(String options)  
at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)  
at RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)  
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  
at MethodBase.Invoke(Object obj, Object[] parameters)  
at BaseCommand.InvokeMethodNamed(String methodName, Object[] args)  
at BaseCommand.InvokeMethodNamed(String callbackId, String methodName, Object[] args)  
at <>c__DisplayClass6.<ProcessCommand>b__2()  
at ThreadHelper.ThreadStart_Context(Object state)  
at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)  
at ThreadHelper.ThreadStart()  

An exception of type 'System.EntryPointNotFoundException' occurred in Unknown Module. and wasn't handled before a managed/native boundary
The thread 0xa98 has exited with code 259 (0x103).
The thread 0xa90 has exited with code 259 (0x103).
Callback 1 complete
Callback 2 complete
Callback 3 complete
Callback 4 complete result:{"rows":{"length":2},"insertId":null}
Callback 4 length:2
Callback 4 first item:{"test_id":"1","test_name":"Hi 1"}
DROP TABLE IF EXISTS complete
SQLitePlugin.close()
The thread 0xa9c has exited with code 259 (0x103).
Test pass
Test Complete
screen shot 2013-12-03 at 11 03 42

@pkir
Copy link

pkir commented Jan 26, 2014

Hey @janhar, I've got the same problem did you find a solution?

@janhar
Copy link
Author

janhar commented Jan 26, 2014

Hi pkir,

not really. I don't use the plugin for sqllite anymore, I improved my application to directly support indexed db and sqlite instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants