I saw something like this myself with Kevin's recent issue with downloading
actions that returned Blobs.  Turns out that the code looks at the compile
time return type of the action when determining how to handle the response
(eg a Blob requires a "deferred" strategy). Unfortunately this strategy
can't be determined at runtime by inspecting the actual type of the
returned object.

I guess the error we have here is a missing strategy.  Perhaps the code
should fail-fast if it has to guess?

The code in question is ActionResultResponse
 and ActionResultResponseHandlingStrategy.

~~~
Joerg,
appreciate that you have this working for you, but it'd be nice to get a
less obscure error in the future.  When you said the example code was in
google drive, was that sharing something the app privately with Martin?
Could you share on github (or just copy-n-paste here?)

Thanks
Dan



2015-12-05 6:57 GMT+00:00 Martin Grigorov <[email protected]>:

> Hi,
>
> This is a really weird way to trigger this kind of exception.
> I'll to debug it when I have some time.
> On Dec 4, 2015 5:21 PM, "Rade, Joerg / Kuehne + Nagel / Ham GI-PS" <
> [email protected]> wrote:
>
> > Hi Martin,
> >
> > I've put an app to Google Drive.
> >
> > Execute the FixtureScript and select 'Measurements'.
> >
> > Thanks for your help!
> > Jörg
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Martin Grigorov [mailto:[email protected]]
> > Gesendet: Freitag, 4. Dezember 2015 14:30
> > An: users
> > Betreff: Re: Unable to find component with id 'entityIconAndTitle'
> >
> > Hi,
> >
> > On Fri, Dec 4, 2015 at 3:21 PM, Rade, Joerg / Kuehne + Nagel / Ham GI-PS
> <
> > [email protected]> wrote:
> >
> > > Unable to find component with id 'entityIconAndTitle' in [FormGroup
> > > [Component id = scalarIfRegular]]
> > >         Expected:
> > >
> >
> 'theme:entityPageContainer:entity:entity-0:entityPropertiesAndCollections:entityProperties:leftColumn:memberGroup:1:properties:
> > > *3*:property:scalarIfRegular:entityIconAndTitle'.
> > >         Found with similar names:
> > >
> >
> 'theme:entityPageContainer:entity:entity-0:entityPropertiesAndCollections:entityProperties:leftColumn:memberGroup:1:properties:
> > > *1*:property:scalarIfCompact:entityLink:entityIconAndTitle',
> > >
> >
> theme:entityPageContainer:entity:entity-0:entityPropertiesAndCollections:entityProperties:leftColumn:memberGroup:1:properties:
> > > *1*:property:scalarIfRegular:entityIconAndTitle'
> > >
> >
> > The reason seems to be in the index of the repeater's item with wicket id
> > "property".
> > There is a property with index "1", but there are no with "2" and "3".
> > I cannot tell what is the reason.
> > Can you replicate this in a mini application?
> >
> > Martin Grigorov
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> > Kühne + Nagel (AG & Co.) KG
> > Rechtsform: Kommanditgesellschaft, Bremen HRA 21928, USt-IdNr.: DE
> > 812773878.
> > Geschäftsleitung Kühne + Nagel (AG & Co.) KG: Reiner Heiken (Vors.), Dirk
> > Blesius, Martin Brinkmann, Matthias Heimbach, Jan-Hendrik Köstergarten,
> > Nicholas Minde, Lars Wedel, Jens Wollesen.
> > Persönlich haftende Gesellschafterin: Kühne & Nagel A.G., Rechtsform:
> > Aktiengesellschaft nach luxemburgischem Recht, HR-Nr.: B 18745,
> > Geschäftsführendes Verwaltungsratsmitglied: Karl Gernandt.
> > Geschäftsleitung Region Westeuropa: Yngve Ruud (Vors.), Richard Huhn,
> > Diederick de Vroet, Björn Johansson, Jan Kunze, Bruno Mang, Stefan Paul,
> > Holger Ketz, Dominic Edmonds.
> >
> > Wir arbeiten ausschließlich auf Grundlage der Allgemeinen Deutschen
> > Spediteursbedingungen (ADSp), jeweils neuester Fassung. Wir verweisen
> > insbesondere auf die vom Gesetz abweichenden Haftungsbeschränkungen von
> > Ziffer 23 und 24 ADSp. Den vollständigen Text der ADSp übersenden wir
> Ihnen
> > gerne auf Anfrage und können Sie auch unter http://www.kuehne-nagel.com
> > einsehen. Ergänzend wird vereinbart, dass (1) Ziffer 27 ADSp im Rahmen
> > internationaler Übereinkommen weder unsere Haftung noch die Zurechnung
> des
> > Verschuldens von Leuten und sonstigen Dritten zu Gunsten des
> Auftraggebers
> > erweitert, und (2) wir in den im deutschen Seehandelsrecht aufgeführten
> > Fällen des nautischen Verschuldens oder Feuer an Bord nur für eigenes
> > Verschulden und (3) im Sinne der CMNI genannten Voraussetzungen nicht für
> > nautisches Verschulden, Feuer an Bord oder Mängel des Schiffes haften.
> >
>

Reply via email to