get crash in monotouch.

Aug 18, 2011 at 8:37 AM

HI,

I try to build the lib in monotouch. but get a crash.

i found the reason is there is not is_deleted in the json message.

So the vaule is empty.

DropBoxRequestParser.cs 86

dbentry.IsDeleted = jc.GetBooleanProperty("is_deleted");

 

        public Boolean GetBooleanProperty(string key)
        {
            String v = GetProperty(key);
           
            return Convert.ToBoolean(v);
        }

 

My other issue is if the password is wrong. it looks the lib will just throw Exception. why not return some message?

 

Sharpbox is  a good lib. i hope some one could help me fix the crash issue.

Coordinator
Aug 19, 2011 at 11:14 PM
Hi,

I will dry to fix it this weekend but do you have an idea why this property is missing?

Thanks
Dirk

Sent from my iPad

On 18.08.2011, at 10:37, eickegao <notifications@codeplex.com> wrote:

From: eickegao

HI,

I try to build the lib in monotouch. but get a crash.

i found the reason is there is not is_deleted in the json message.

So the vaule is empty.

DropBoxRequestParser.cs 86

dbentry.IsDeleted = jc.GetBooleanProperty("is_deleted");

public Boolean GetBooleanProperty(string key)
{
String v = GetProperty(key);

return Convert.ToBoolean(v);
}

My other issue is if the password is wrong. it looks the lib will just throw Exception. why not return some message?

Sharpbox is a good lib. i hope some one could help me fix the crash issue.

Coordinator
Aug 21, 2011 at 7:35 AM
Hi,

with http://sharpbox.codeplex.com/SourceControl/changeset/changes/78565 your first issue should be fixed. Do you have for the second issue a callstack where the exception comes from?

Thanks
Dirk




2011/8/20 Dirk Eisenberg <dirk.eisenberg@gmail.com>
Hi,

I will dry to fix it this weekend but do you have an idea why this property is missing?

Thanks
Dirk

Sent from my iPad

On 18.08.2011, at 10:37, eickegao <notifications@codeplex.com> wrote:

From: eickegao

HI,

I try to build the lib in monotouch. but get a crash.

i found the reason is there is not is_deleted in the json message.

So the vaule is empty.

DropBoxRequestParser.cs 86

dbentry.IsDeleted = jc.GetBooleanProperty("is_deleted");

public Boolean GetBooleanProperty(string key)
{
String v = GetProperty(key);

return Convert.ToBoolean(v);
}

My other issue is if the password is wrong. it looks the lib will just throw Exception. why not return some message?

Sharpbox is a good lib. i hope some one could help me fix the crash issue.

Read the full discussion online.

To add a post to this discussion, reply to this email (sharpbox@discussions.codeplex.com)

To start a new discussion for this project, email sharpbox@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com