Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Upgrading to Build 700 caused error "Nullable object must have a value"
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Oren Eini (Ayende Rahien)  
View profile  
 More options Mar 15 2012, 10:25 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Thu, 15 Mar 2012 16:25:37 +0200
Local: Thurs, Mar 15 2012 10:25 am
Subject: Re: [RavenDB] Re: Upgrading to Build 700 caused error "Nullable object must have a value"

Working on both things, yes

On Thu, Mar 15, 2012 at 4:19 PM, Linus Kvarnhammar <li...@kvarnhammar.com>wrote:

> Maybe you could introduce voting on builds - like R# EAP. Could be a good
> idea both for Stable and Unstable builds.

> And when I'm at it would also like to suggest better release notes - so
> that I know if I should upgrade or not.

> On Thu, Mar 15, 2012 at 15:15, Oren Eini (Ayende Rahien) <
> aye...@ayende.com> wrote:

>> Yeah, unstable is as as unstale as the name suggest.
>> We try to do better though, and we will have a better build soo

>> On Thu, Mar 15, 2012 at 3:46 PM, Linus Kvarnhammar <li...@kvarnhammar.com
>> > wrote:

>>> That seemed to fix it. Thanks!

>>> But the studio is broken. Crashes hard at load time.

>>> /Linus

>>> On Thu, Mar 15, 2012 at 12:55, Oren Eini (Ayende Rahien) <
>>> aye...@ayende.com> wrote:

>>>> A few hours, at most.

>>>> On Thu, Mar 15, 2012 at 1:50 PM, Linus Kvarnhammar <
>>>> li...@kvarnhammar.com> wrote:

>>>>> Ok, when can I expect it?

>>>>> On Thu, Mar 15, 2012 at 12:28, Oren Eini (Ayende Rahien) <
>>>>> aye...@ayende.com> wrote:

>>>>>> Hm...
>>>>>> Okay, I think that I fixed this issue, please test this again with
>>>>>> the next build.

>>>>>> On Thu, Mar 15, 2012 at 12:21 PM, LinusK <li...@kvarnhammar.com>wrote:

>>>>>>> It's from an upgraded store.

>>>>>>> Den torsdagen den 15:e mars 2012 kl. 11:20:43 UTC+1 skrev Oren Eini:

>>>>>>>> Is this against a NEW store, or against an existing store that was
>>>>>>>> upgraded from an older build?

>>>>>>>> On Thu, Mar 15, 2012 at 12:19 PM, LinusK <li...@kvarnhammar.com>wrote:

>>>>>>>>> I actually don't see the how the test will help. Because the error
>>>>>>>>> occurred directly after the upgrade when the Studio accessed the server.

>>>>>>>>> When I run your test on an in-memory store it succeeds. When I run
>>>>>>>>> it against regular store I get the same error as stated before:

>>>>>>>>> System.**InvalidOperationException: Nullable object must have a
>>>>>>>>> value.
>>>>>>>>>    at System.Nullable`1.get_Value()
>>>>>>>>>    at Raven.Storage.Esent.**StorageActions.**
>>>>>>>>> DocumentStorageActions.**IndexLastUpdatedAt(String name) in
>>>>>>>>> c:\Builds\RavenDB-Unstable\**Raven.Storage.Esent\**
>>>>>>>>> StorageActions\Staleness.cs:**line 132
>>>>>>>>>    at Raven.Database.**DocumentDatabase.<>c__**
>>>>>>>>> DisplayClass82.<Query>b__78(**IStorageActionsAccessor actions) in
>>>>>>>>> c:\Builds\RavenDB-Unstable\**Raven.Database\**DocumentDatabase.cs:line
>>>>>>>>> 751
>>>>>>>>>    at Raven.Storage.Esent.**TransactionalStorage.**ExecuteBatch(Action`1
>>>>>>>>> action) in c:\Builds\RavenDB-Unstable\**Raven.Storage.Esent\**TransactionalStorage.cs: line
>>>>>>>>> 378
>>>>>>>>>    at Raven.Storage.Esent.**TransactionalStorage.Batch(**Action`1
>>>>>>>>> action) in c:\Builds\RavenDB-Unstable\**Raven.Storage.Esent\**TransactionalStorage.cs: line
>>>>>>>>> 339
>>>>>>>>>    at Raven.Database.**DocumentDatabase.Query(String index,
>>>>>>>>> IndexQuery query) in c:\Builds\RavenDB-Unstable\**Raven.Database\*
>>>>>>>>> *DocumentDatabase.cs:line 739
>>>>>>>>>    at Raven.Database.Queries.**DynamicQueryRunner.**ExecuteActualQuery(IndexQuery
>>>>>>>>> query, DynamicQueryMapping map, Tuple`2 touchTemporaryIndexResult, String
>>>>>>>>> realQuery) in c:\Builds\RavenDB-Unstable\**Raven.Database\Queries\
>>>>>>>>> **DynamicQueryRunner.cs:line 81
>>>>>>>>>    at Raven.Database.Queries.**DynamicQueryRunner.**ExecuteDynamicQuery(String
>>>>>>>>> entityName, IndexQuery query) in c:\Builds\RavenDB-Unstable\**
>>>>>>>>> Raven.Database\Queries\**DynamicQueryRunner.cs:line 48
>>>>>>>>>    at Raven.Database.Queries.**DynamicQueryExtensions.**
>>>>>>>>> ExecuteDynamicQuery(**DocumentDatabase self, String entityName,
>>>>>>>>> IndexQuery indexQuery) in c:\Builds\RavenDB-Unstable\**
>>>>>>>>> Raven.Database\Queries\**DynamicQueryExtensions.cs:line 17
>>>>>>>>>    at Raven.Database.Server.**Responders.Index.**
>>>>>>>>> PerformQueryAgainstDynamicInde**x(IHttpContext context, String
>>>>>>>>> index, IndexQuery indexQuery, Guid& indexEtag) in
>>>>>>>>> c:\Builds\RavenDB-Unstable\**Raven.Database\Server\**Responders\Index.cs:li ne
>>>>>>>>> 224
>>>>>>>>>    at Raven.Database.Server.**Responders.Index.ExecuteQuery(**IHttpContext
>>>>>>>>> context, String index, Guid& indexEtag) in c:\Builds\RavenDB-Unstable\
>>>>>>>>> **Raven.Database\Server\**Responders\Index.cs:line 169
>>>>>>>>>    at Raven.Database.Server.**Responders.Index.**
>>>>>>>>> GetIndexQueryRessult(**IHttpContext context, String index) in
>>>>>>>>> c:\Builds\RavenDB-Unstable\**Raven.Database\Server\**Responders\Index.cs:li ne
>>>>>>>>> 118
>>>>>>>>>    at Raven.Database.Server.**Responders.Index.OnGet(**IHttpContext
>>>>>>>>> context, String index) in c:\Builds\RavenDB-Unstable\**
>>>>>>>>> Raven.Database\Server\**Responders\Index.cs:line 90
>>>>>>>>>    at Raven.Database.Server.**Responders.Index.Respond(**IHttpContext
>>>>>>>>> context) in c:\Builds\RavenDB-Unstable\**Raven.Database\Server\**Responders\Index.cs:li ne
>>>>>>>>> 45
>>>>>>>>>    at Raven.Database.Server.**HttpServer.DispatchRequest(**IHttpContext
>>>>>>>>> ctx) in c:\Builds\RavenDB-Unstable\**Raven.Database\Server\**HttpServer.cs:line
>>>>>>>>> 543
>>>>>>>>>    at Raven.Database.Server.**HttpServer.**HandleActualRequest(**IHttpContext
>>>>>>>>> ctx) in c:\Builds\RavenDB-Unstable\**Raven.Database\Server\**HttpServer.cs:line
>>>>>>>>> 313
>>>>>>>>>  at Raven.Client.Connection.**HttpJsonRequest.HanldeErrors(**WebException
>>>>>>>>> e)
>>>>>>>>> at Raven.Client.Connection.**HttpJsonRequest.**ReadStringInternal(Func`1
>>>>>>>>> getResponse)
>>>>>>>>>  at Raven.Client.Connection.**HttpJsonRequest.**
>>>>>>>>> ReadResponseString()
>>>>>>>>> at Raven.Client.Connection.**HttpJsonRequest.**ReadResponseJson()
>>>>>>>>>  at Raven.Client.Connection.**ServerClient.DirectQuery(**String
>>>>>>>>> index, IndexQuery query, String operationUrl, String[] includes)
>>>>>>>>> at Raven.Client.Connection.**ServerClient.<>c__**
>>>>>>>>> DisplayClass37.<Query>b__36(**String u)
>>>>>>>>>  at Raven.Client.Connection.**ServerClient.TryOperation[T](**Func`2
>>>>>>>>> operation, String operationUrl, Boolean avoidThrowing, T& result)
>>>>>>>>> at Raven.Client.Connection.**ServerClient.**
>>>>>>>>> ExecuteWithReplication[T](**String method, Func`2 operation)
>>>>>>>>>  at Raven.Client.Connection.**ServerClient.Query(String index,
>>>>>>>>> IndexQuery query, String[] includes)
>>>>>>>>> at Raven.Client.Document.**AbstractDocumentQuery`2.**
>>>>>>>>> ExecuteActualQuery()
>>>>>>>>>  at Raven.Client.Document.**AbstractDocumentQuery`2.**InitSync()
>>>>>>>>> at Raven.Client.Document.**AbstractDocumentQuery`2.get_**
>>>>>>>>> QueryResult()
>>>>>>>>>  at Raven.Client.Linq.**RavenQueryProviderProcessor`1.**
>>>>>>>>> ExecuteQuery[TProjection]()
>>>>>>>>> at Raven.Client.Linq.**RavenQueryProviderProcessor`1.**Execute(Expression
>>>>>>>>> expression)
>>>>>>>>>  at Raven.Client.Linq.**DynamicRavenQueryProvider`1.**Execute(Expression
>>>>>>>>> expression)
>>>>>>>>> at Raven.Client.Linq.**DynamicRavenQueryProvider`1.**
>>>>>>>>> System.Linq.IQueryProvider.**Execute(Expression expression)
>>>>>>>>>  at Raven.Client.Linq.**RavenQueryInspector`1.**GetEnumerator()
>>>>>>>>> at System.Collections.Generic.**List`1..ctor(IEnumerable`1
>>>>>>>>> collection)
>>>>>>>>>  at System.Linq.Enumerable.ToList[**TSource](IEnumerable`1 source)
>>>>>>>>> LinusK.cs(31,0): at Tests.LinusK.CanQuery()

>>>>>>>>> Den torsdagen den 15:e mars 2012 kl. 11:03:15 UTC+1 skrev Fitzchak
>>>>>>>>> Yitzchaki:

>>>>>>>>>> Please open an issue about this here: http://issues.**hibernatin*
>>>>>>>>>> *grhinos.com/issues <http://issues.hibernatingrhinos.com/issues>
>>>>>>>>>> **with the failing test.

>>>>>>>>>>  On Thu, Mar 15, 2012 at 12:02 PM, LinusK <linus kvarnhammar.com<li...@kvarnhammar.com>
>>>>>>>>>> > wrote:

>>>>>>>>>>> And having the same problem with unstable build 709.

>>>>>>>>>>> Den torsdagen den 15:e mars 2012 kl. 10:35:21 UTC+1 skrev LinusK:

>>>>>>>>>>>> I just upgraded to build 700 on my dev machine and got this
>>>>>>>>>>>> error when the studio is accessing the database.

>>>>>>>>>>>> {

>>>>>>>>>>>>    - Url: "/indexes/Raven/**DocumentsByEnt****ityName?query=**
>>>>>>>>>>>>    Tag%253ATags&**sta**rt=0&pageSize=**0&**aggregation=**None",
>>>>>>>>>>>>     - Error: "System.**InvalidOperationExcept****ion: Nullable
>>>>>>>>>>>>    object must have a value. at System.Nullable`1.get_Value() at
>>>>>>>>>>>>    Raven.Storage.Esent.**StorageAct****ions.**
>>>>>>>>>>>>    DocumentStorageActions.**In****dexLastUpdatedAt(String
>>>>>>>>>>>>    name) in c:\Builds\RavenDB-Stable\**Raven****.Storage.Esent\
>>>>>>>>>>>>    **StorageActions\****Staleness.cs:**line 132 at
>>>>>>>>>>>>    Raven.Database.**DocumentDatabas****e.<>c__**
>>>>>>>>>>>>    DisplayClass7f.<Query>**b**__77(**IStorageActionsAccessor
>>>>>>>>>>>>    actions) in c:\Builds\RavenDB-Stable\**Raven****.Database\**
>>>>>>>>>>>>    DocumentDatabase.cs:****line 740 at Raven.Storage.Esent.**
>>>>>>>>>>>>    Transactio****nalStorage.**ExecuteBatch(**Action**`1
>>>>>>>>>>>>    action) in c:\Builds\RavenDB-Stable\**Raven****
>>>>>>>>>>>>    .Storage.Esent\**TransactionalSt****orage.cs:line 378 at
>>>>>>>>>>>>    Raven.Storage.Esent.**Transactio****nalStorage.Batch(**Action`1
>>>>>>>>>>>>    action) in c:\Builds\RavenDB-Stable\**Raven****
>>>>>>>>>>>>    .Storage.Esent\**TransactionalSt****orage.cs:line 339 at
>>>>>>>>>>>>    Raven.Database.**DocumentDatabas****e.Query(String index,
>>>>>>>>>>>>    IndexQuery query) in c:\Builds\RavenDB-Stable\**Raven****
>>>>>>>>>>>>    .Database\**DocumentDatabase.cs:****line 730 at
>>>>>>>>>>>>    Raven.Database.Server.**Responde****rs.Index.**
>>>>>>>>>>>>    PerformQueryAgainstEx****istingInd**ex(IHttpContext
>>>>>>>>>>>>    context, String index, IndexQuery indexQuery, Guid& indexEtag) in
>>>>>>>>>>>>    c:\Builds\RavenDB-Stable\**Raven****.Database\Server\**
>>>>>>>>>>>>    Responders\**In**dex.cs:line 174 at Raven.Database.Server.**
>>>>>>>>>>>>    Responde****rs.Index.ExecuteQuery(**IHttpCon****text
>>>>>>>>>>>>    context, String index, Guid& indexEtag) in c:\Builds\RavenDB-Stable\
>>>>>>>>>>>>    **Raven****.Database\Server\**Responders\**In**dex.cs:line
>>>>>>>>>>>>    160 at Raven.Database.Server.**Responde****rs.Index.**
>>>>>>>>>>>>    GetIndexQueryRessult(******IHttpContext context, String
>>>>>>>>>>>>    index) in c:\Builds\RavenDB-Stable\**Raven****
>>>>>>>>>>>>    .Database\Server\**Responders\**In**dex.cs:line 116 at
>>>>>>>>>>>>    Raven.Database.Server.**Responde****rs.Index.OnGet(**IHttpContext
>>>>>>>>>>>>    context, String index) in c:\Builds\RavenDB-Stable\**Raven**
>>>>>>>>>>>>    **.Database\Server\**Responders\**In**dex.cs:line 88 at
>>>>>>>>>>>>    Raven.Database.Server.**Responde****rs.Index.Respond(**IHttpContext
>>>>>>>>>>>>    context) in c:\Builds\RavenDB-Stable\**Raven****
>>>>>>>>>>>>    .Database\Server\**Responders\**In**dex.cs:line 43 at
>>>>>>>>>>>>    Raven.Database.Server.**HttpServ****er.DispatchRequest(**
>>>>>>>>>>>>    IHttpContex****t ctx) in c:\Builds\RavenDB-Stable\**Raven***
>>>>>>>>>>>>    *.Database\Server\**HttpServer.**cs**:line 534 at
>>>>>>>>>>>>    Raven.Database.Server.**HttpServ****er.**
>>>>>>>>>>>>    HandleActualRequest(**IHttpCo****ntext ctx) in
>>>>>>>>>>>>    c:\Builds\RavenDB-Stable\**Raven****.Database\Server\**
>>>>>>>>>>>>    HttpServer.**cs**:line 309"

>>>>>>>>>>>> }

>>>>>>>>>>>> My Tag class looks like this:

>>>>>>>>>>>>     public class Tag
>>>>>>>>>>>>     {
>>>>>>>>>>>>         public string Id { get; set; }
>>>>>>>>>>>>         public string Name { get; set; }
>>>>>>>>>>>>         public string Description { get; set; }

>>>>>>>>>>>>         public override string ToString()
>>>>>>>>>>>>         {
>>>>>>>>>>>>             return this.**GetPublicPropertiesAsStri****ng();
>>>>>>>>>>>>         }
>>>>>>>>>>>>     }

>>>>>>>>>>>> Is it a bug or did I do something wrong?

>>>>>>>>> Den torsdagen den 15:e mars 2012 kl. 11:03:15 UTC+1 skrev Fitzchak
>>>>>>>>> Yitzchaki:

>>>>>>>>>> Please open an issue about this here: http://issues.**hibernatin*
>>>>>>>>>> *grhinos.com/issues <http://issues.hibernatingrhinos.com/issues>
>>>>>>>>>> **with the failing test.

>>>>>>>>>>  On Thu, Mar 15, 2012 at 12:02 PM, LinusK <linus kvarnhammar.com<li...@kvarnhammar.com>
>>>>>>>>>> > wrote:

>>>>>>>>>>> And having the same problem with unstable build 709.

>>>>>>>>>>> Den torsdagen den 15:e mars 2012 kl. 10:35:21 UTC+1 skrev LinusK:

>>>>>>>>>>>> I just upgraded to build 700 on my dev machine and got this
>>>>>>>>>>>> error when the studio is accessing the database.

>>>>>>>>>>>> {

>>>>>>>>>>>>    - Url: "/indexes/Raven/**DocumentsByEnt****ityName?query=**
>>>>>>>>>>>>    Tag%253ATags&**sta**rt=0&pageSize=**0&**aggregation=**None",
>>>>>>>>>>>>     - Error: "System.**InvalidOperationExcept****ion: Nullable
>>>>>>>>>>>>    object must have a value. at System.Nullable`1.get_Value() at
>>>>>>>>>>>>    Raven.Storage.Esent.**StorageAct****ions.**
>>>>>>>>>>>>    DocumentStorageActions.**In****dexLastUpdatedAt(String
>>>>>>>>>>>>    name) in c:\Builds\RavenDB-Stable\**Raven****.Storage.Esent\
>>>>>>>>>>>>    **StorageActions\****Staleness.cs:**line 132 at
>>>>>>>>>>>>    Raven.Database.**DocumentDatabas****e.<>c__**
>>>>>>>>>>>>    DisplayClass7f.<Query>**b**__77(**IStorageActionsAccessor
>>>>>>>>>>>>    actions) in c:\Builds\RavenDB-Stable\**Raven****.Database\**
>>>>>>>>>>>>    DocumentDatabase.cs:****line 740 at Raven.Storage.Esent.**
>>>>>>>>>>>>    Transactio****nalStorage.**ExecuteBatch(**Action**`1
>>>>>>>>>>>>    action) in c:\Builds\RavenDB-Stable\**Raven****
>>>>>>>>>>>>    .Storage.Esent\**TransactionalSt****orage.cs:line 378 at
>>>>>>>>>>>>    Raven.Storage.Esent.**Transactio****nalStorage.Batch(**Action`1
>>>>>>>>>>>>    action) in c:\Builds\RavenDB-Stable\**Raven****
>>>>>>>>>>>>    .Storage.Esent\**TransactionalSt****orage.cs:line 339 at
>>>>>>>>>>>>    Raven.Database.**DocumentDatabas****e.Query(String index,
>>>>>>>>>>>>    IndexQuery query) in c:\Builds\RavenDB-Stable\**Raven****
>>>>>>>>>>>>    .Database\**DocumentDatabase.cs:****line 730 at
>>>>>>>>>>>>    Raven.Database.Server.**Responde****rs.Index.**
>>>>>>>>>>>>    PerformQueryAgainstEx****istingInd**ex(IHttpContext
>>>>>>>>>>>>    context, String index, IndexQuery indexQuery, Guid& indexEtag) in
>>>>>>>>>>>>    c:\Builds\RavenDB-Stable\**Raven****.Database\Server\**
>>>>>>>>>>>>    Responders\**In**dex.cs:line 174 at Raven.Database.Server.**
>>>>>>>>>>>>    Responde****rs.Index.ExecuteQuery(**IHttpCon****text
>>>>>>>>>>>>    context, String index, Guid& indexEtag) in c:\Builds\RavenDB-Stable\
>>>>>>>>>>>>    **Raven****.Database\Server\**Responders\**In**dex.cs:line
>>>>>>>>>>>>    160 at Raven.Database.Server.**Responde****rs.Index.**
>>>>>>>>>>>>    GetIndexQueryRessult(******IHttpContext context, String
>>>>>>>>>>>>    index) in c:\Builds\RavenDB-Stable\**Raven****
>>>>>>>>>>>>    .Database\Server\**Responders\**In**dex.cs:line 116 at
>>>>>>>>>>>>    Raven.Database.Server.**Responde****rs.Index.OnGet(**IHttpContext
>>>>>>>>>>>>    context, String index) in c:\Builds\RavenDB-Stable\**Raven**
>>>>>>>>>>>>    **.Database\Server\**Responders\**In**dex.cs:line 88 at
>>>>>>>>>>>>    Raven.Database.Server.**Responde****rs.Index.Respond(**IHttpContext
>>>>>>>>>>>>    context) in c:\Builds\RavenDB-Stable\**Raven****
>>>>>>>>>>>>    .Database\Server\**Responders\**In**dex.cs:line 43 at
>>>>>>>>>>>>    Raven.Database.Server.**HttpServ****er.DispatchRequest(**
>>>>>>>>>>>>    IHttpContex****t ctx) in c:\Builds\RavenDB-Stable\**Raven***
>>>>>>>>>>>>    *.Database\Server\**HttpServer.**cs**:line 534 at
>>>>>>>>>>>>    Raven.Database.Server.**HttpServ****er.**
>>>>>>>>>>>>    HandleActualRequest(**IHttpCo****ntext ctx) in
>>>>>>>>>>>>    c:\Builds\RavenDB-Stable\**Raven****.Database\Server\**
>>>>>>>>>>>>    HttpServer.**cs**:line 309"

>>>>>>>>>>>> }

>>>>>>>>>>>> My Tag class looks like this:

>>>>>>>>>>>>     public class Tag
>>>>>>>>>>>>     {
>>>>>>>>>>>>         public string Id { get; set; }
>>>>>>>>>>>>         public string Name { get; set; }
>>>>>>>>>>>>         public string Description { get; set; }

>>>>>>>>>>>>         public override string ToString()
>>>>>>>>>>>>         {
>>>>>>>>>>>>             return this.**GetPublicPropertiesAsStri****ng();
>>>>>>>>>>>>         }
>>>>>>>>>>>>     }

>>>>>>>>>>>> Is it a bug or did I do something wrong?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.