Okay, I'll try with an ApplicationAssembler in a "clean" environment...

On 04/03/2010, at 01.07, Niclas Hedhman wrote:

I think you are looking at the wrong exception and that there is an
underlying cause. "Rental" is probably not be stable yet.

On Wed, Mar 3, 2010 at 8:36 AM, Marc Grue <[email protected]> wrote:

I'm right-clicking RentalApplicationAssembler (that extends
ApplicationAssembler) in the rental sample app and running Envisage in
IntelliJ. But I get the following exception:

Assembler:org.qi4j.sample.rental.web.assembly.RentalApplicationAssembler
Exception in thread "main" java.lang.InstantiationException:
org.qi4j.sample.rental.web.assembly.RentalApplicationAssembler
       at java.lang.Class.newInstance0(Class.java:335)
       at java.lang.Class.newInstance(Class.java:303)
       at org.qi4j.envisage.Main.main(Main.java:34)

Why is the InstantiationException thrown when RentalApplicationAssembler is a normal class, or am I missing something (the exception is supposed to bark only at attempts to instantiate interfaces an abstract classes, right)?

@related
http://old.nabble.com/Envisage-in-IntelliJ-ts22595291.html#a22595291

Thanks for helping - hope to get Envisage up and running...
--
View this message in context: 
http://old.nabble.com/Envisage-exception-tp27763145p27763145.html
Sent from the Qi4j-dev mailing list archive at Nabble.com.


_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev




--
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I  live here; http://tinyurl.com/2qq9er
I  work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev


_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to