SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye

Welcome, Guest
Guest Settings
Help

Compass Support Forums » Compass » Compass Users

Thread: nested exception is java.lang.NullPointerException: null setter Author.id

This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 27 - Pages: 2 [ 1 2 | Next ] - Last Post: Dec 25, 2011 8:58 PM Last Post By: chuang ddd
enguzekli

Posts: 31
Registered: 5/13/08
nested exception is java.lang.NullPointerException: null setter Author.id
Posted: Oct 9, 2008 9:08 AM
 
  Click to reply to this thread Reply
Hi,
I created a class Author which is like

class Author {
static searchable = {
except = [];
};

Long id:
Long version;
String name =""
}

After mapping I indexed some instances of these class. After that, I added another subclass named

class Poet extends Author {
static searchable = {
except = [];
};

Long id:
Long version;
String poemName =""
}

And after mapping I started my application. When I performed search using Author I got following exception. Does anybody have an idea about this exception?

Thanks...

org.codehaus.groovy.runtime.InvokerInvocationException: org.compass.core.accessor.PropertyAccessException: NullPointerException occurred while calling; nested exception is java.lang.NullPointerException: null setter of Author.id

at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:49)

at org.jsecurity.web.servlet.WebInterceptorFilter.doFilter(WebInterceptorFilter.java:66)

at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:54)

at org.jsecurity.web.servlet.WebInterceptorFilter.doFilter(WebInterceptorFilter.java:66)

at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:54)

at org.jsecurity.web.servlet.WebInterceptorFilter.doFilter(WebInterceptorFilter.java:66)

at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:54)

at org.jsecurity.web.servlet.WebInterceptorFilter.doFilter(WebInterceptorFilter.java:66)

at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:54)

at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:519)

at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:111)

at com.planetj.servlet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:222)

Caused by: org.compass.core.accessor.PropertyAccessException: NullPointerException occurred while calling; nested exception is java.lang.NullPointerException: null setter of Author.id

at org.compass.core.accessor.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:66)

at org.compass.core.converter.mapping.osem.ClassMappingConverter.unmarshall(ClassMappingConverter.java:275)

at org.compass.core.marshall.DefaultMarshallingStrategy.unmarshall(DefaultMarshallingStrategy.java:167)

at org.compass.core.marshall.DefaultMarshallingStrategy.unmarshall(DefaultMarshallingStrategy.java:159)

at org.compass.core.impl.DefaultCompassSession.getByResource(DefaultCompassSession.java:236)

at org.compass.core.impl.DefaultCompassSession.getByResource(DefaultCompassSession.java:224)

at org.compass.core.impl.DefaultCompassHits.data(DefaultCompassHits.java:66)

at SearchableGrailsPlugin$_closure1_closure5.doCall(SearchableGrailsPlugin.groovy:68)

at SearchableGrailsPlugin$_closure1_closure5.call(SearchableGrailsPlugin.groovy)

at com.ifountain.rcmdb.domain.method.CompassMethodInvoker.search(CompassMethodInvoker.groovy:103)

at SearchableExtensionGrailsPlugin$_addQueryMethods_closure21.doCall(SearchableExtensionGrailsPlugin.groovy:186)

at AuthorController$_closure2.doCall(AuthorController.groovy:14)

at AuthorController$_closure2.doCall(AuthorController.groovy)

... 12 more

Caused by: java.lang.NullPointerException

at org.compass.core.accessor.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:60)

... 24 more

Shay Banon

Posts: 4,028
Registered: 9/6/05
Re: nested exception is java.lang.NullPointerException: null setter Author.id
Posted: Oct 11, 2008 3:58 PM   in response to: enguzekli in response to: enguzekli
 
  Click to reply to this thread Reply
I am not really sure why you get this. Have you asked on the Searchable plugin?
enguzekli

Posts: 31
Registered: 5/13/08
Re: nested exception is java.lang.NullPointerException: null setter Author.id
Posted: Oct 12, 2008 4:16 AM   in response to: Shay Banon in response to: Shay Banon
 
  Click to reply to this thread Reply
Hi,
No I have not asked yet on the Searchable Plugin groups. I thought that it is a compass issue.

Thanks..
Shay Banon

Posts: 4,028
Registered: 9/6/05
Re: nested exception is java.lang.NullPointerException: null setter Author.id
Posted: Oct 12, 2008 8:02 AM   in response to: enguzekli in response to: enguzekli
 
  Click to reply to this thread Reply
This might be a compass issue, I don't know, but Maurice will help here I think in narrowing down the problem.
louisvuittonbox

Posts: 411
Registered: 8/23/11
Re: nested exception is java.lang.NullPointerException: null setter Author.id
Posted: Aug 23, 2011 10:48 PM   in response to: enguzekli in response to: enguzekli
 
  Click to reply to this thread Reply
Looking for a new ghd lisseur? Now, you can make your hair to be curl or straight with styler ghd, which is a suitable styling tool, you are able to use it to change your hairstyle which you like in a entirely very less period of time. This useful product was created and designed by the Farouk Systems, and today lisser ghd are loved by more and more young girls and graceful ladies. There are many ghd hair straighteners around the whole world nowadays, and GHD Outlet online store may be the best choice for you, if you want to buy discount Ghd IV salon styler.As a professional ghd France online seller, we provide Ghd Iv Styler,Ghd Iv Salon Styler,Ghd Iv,Ghd Salon Styler,ghd iv mini styler,ghd straighteners sale,ghd gold styler and so on at lower price, you can find different designs, colors of GHD IV Styler are listed in our livraison gratuite. When you find your ideal GHD IV Styler, you can order them soon, and we will send our products to you witnin a week, no tax sale, fast free shipping. Hope you enjoy your shopping here.
asd

Posts: 70
Registered: 10/12/11
Re: nested exception is java.lang.NullPointerException: null setter Author.id
Posted: Oct 12, 2011 10:46 PM   in response to: enguzekli in response to: enguzekli
 
  Click to reply to this thread Reply
Good Liji Shou Travel Management Liji Shou Slimming Capsules has been Lida Daidaihua selling Lida Daidaihua Weight loss Capsules for Lida Daidaihua Slimming 120 years Pai You Ji and this Pai You Ji Plus pay for Pai You Ji Plus Tea labels P57 Hoodia the first P57 Hoodia Cactus Slimming Capsule time it has augmented past its restricted area. Specialising in expedition performances, trade missions, enterprise tour and high-end leisure tour, the firm is mostly well famous for its skill in preparing visits to the Middle East and Libya.
linzhixiong123

Posts: 128
Registered: 9/30/11
Re: nested exception is java.lang.NullPointerException: null setter Author.id
Posted: Oct 21, 2011 3:16 AM   in response to: enguzekli in response to: enguzekli
 
  Click to reply to this thread Reply
Moncler Jackets The products under Moncler, Moncler Jackets Men like Moncler jackets are the representative of the luxury since it has got great fame though out the world. Moncler jackets are made of classy down which are one of the best materials Moncler Coats Women that can keep warm even in severe cold weather and which Moncler Kids are also one of the most comfortable fabrics. Moncler Vest A large number of male and female customers are fond of wearing Moncler jackets when they need. Moncler coats are suitable for wearing in different seasons. For example, Moncler Coats Men people would like to wear Moncler down jackets in cold winter, while wearing Moncler vest or Moncler waistcoat in spring and autumn. There is a good assortment of Moncler jackets in Moncler outlet; you can get whatever the jacket you want. Moncler outlet is a good place to get best Moncler jackets. Sometimes, the Moncler Jackets Women will offer Moncler discount for customers. Moncler discount is usually used as promotion means to attract more customers and raise the Moncler sale. Moncler discount is also a good way to save money. If you have the chance to get Moncler discount, don’t miss it Moncler Sale.
chuang ddd

Posts: 10
Registered: 10/21/11
ugg boots sale
Posted: Oct 21, 2011 3:31 AM   in response to: linzhixiong123 in response to: linzhixiong123
 
  Click to reply to this thread Reply
This might. “Guan Hanqing Road. “I’m one person in the background singing, you can just as mouth.” I listened to chuckle,ugg boots sale there are lip-synching the original ancient times, is really a long history. See they all looked at me earnestly. Are busy, said: “But I will not dance.”ugg boots cardy “Step is simple, Liu Gongzi snow smart, a school will.” Guan Hanqing Road, without any explanation, dragged me into the clothes. I am busy to push him out, his replacement, and Youhuan a man came to me combed head, this shy to come out. I saw an amazing voice. Everyone can see it dazzled Shen Yao.canada goose jackets sale “Fairy is coming.” A child with a made road. All Jujie laughter. Guan Hanqing came to me and Road. “If it were not already know Liu Gongzai old lady’s spirit, when you really want to think that you are a woman was.” Xiaolan in Lianhou raspberry to me, I just make do not know. As night fell, opening the show to be. I went to front desk, I saw many pairs of eyes looking at me,canada goose parkas jackets not help shaking his legs, then soon Guxiang, floating behind a Ruqirusu music.
chuang ddd

Posts: 10
Registered: 10/21/11
ugg boots sale
Posted: Oct 21, 2011 3:33 AM   in response to: enguzekli in response to: enguzekli
 
  Click to reply to this thread Reply
New UGG 1873 Bailey Button Boots (sand) Bailey of the season of three button UGG, there must be a style!ugg boots sale There are three function button can discover this guide is completely closed the infinite formative choice. A loose fit, can easily change in your favorite pair of jeans.ugg boots cardy uggs australia uk Tip in the loose sheepskin ugg boots and top peep periphery for accurate talent!moncler men jackets You of the rotating bailey button style three! Features: provide traditional classical Ugg boots collection of color-I’ve faced sheepskin costly utmost comfort insole wicks moisture skins 100% premium feet away from light EVA outsole provide flexibility and traction approximate overall height 12 inches,canada goose jackets cheap the close button: the wood is flexible.
chuang ddd

Posts: 10
Registered: 10/21/11
ugg boots cardy
Posted: Oct 21, 2011 3:34 AM   in response to: enguzekli in response to: enguzekli
 
  Click to reply to this thread Reply
The spirit of the boots and black tie wedding is among the most relaxed elegance. Put simply, it’s black tie, that could be formal, but, festive, fun, and most importantly, never stuffy.ugg boots sale The bride to be can wear any gown that strikes her fancy, although thinking about the men in black tie,ugg boots cardy it has to need to be fairly dressy. An all-over lace gown may be the perfect answer, obviously, if the skirt is full enough, your son’s bride might wear her own list of boots under it (this really is cute underneath a full skirt, because boots will peek out at times).moncler jackets sale To accept form backtrack to earth, unique handcrafted bridal jewelry is great, as is a loose hairstyle. Either choose a hairdo in which soft waves to cascade using the shoulders, or just a soft and modern updo, accented with a simple bit of handcrafted bridal hair jewelry,canada goose jackets as opposed to a princess style tiara.
chuang ddd

Posts: 10
Registered: 10/21/11
ugg boots cardy
Posted: Oct 21, 2011 3:35 AM   in response to: enguzekli in response to: enguzekli
 
  Click to reply to this thread Reply
Food is definitely a lot of this festivities with a wedding. On the boots and black tie reception, serve up a menu of crowd pleasing flavors like barbeque, but finished with a sophisticated twist.ugg boots sale It’ll need the perfect caterer to get recipes which can be both homey and upscale,ugg boots cardy but it surely will certainly performed, your friends and relatives will see the modification out of your standard baked chicken reception will likely be welcome one.moncler jackets You can easily take a look at incorporating your theme on your wedding cake. Opt for a whimsical cake topper to perch atop your dessert,genuine classic ugg say for instance a little bride and groom dressed in formal attire with cowboy boots (here is the version of thing that you can now custom order via an internet site like etsy).
chuang ddd

Posts: 10
Registered: 10/21/11
ugg boots sale
Posted: Oct 21, 2011 3:36 AM   in response to: enguzekli in response to: enguzekli
 
  Click to reply to this thread Reply
The Classic Argyle Knit combines a classic prep school pattern and cozy sweater knit for the coolest.ugg boots sale The UGG Classic Argyle Knit boot is a warm and cozy merino wool blend pull on boot with a sheepskin sock-lining that wicks moisture leaving feet dry and comfortable while the molded EVA outsole provides traction and durability.ugg boots cardy The UGG Classic Argyle Knit combines a classic prep school pattern and cozy sweater knit for the coolest, This boots or other branches like UGG Bailey Button features elements that are not water resistant.moncler jackets online sale These boots are blessed with a with a perpetually temperate climate are lucky to have footwear that is warm.A mixed wool silhouette made to look like your favorite sweater. The upper of Classic argyle knit uggs is unlined knit;genuine ugg boots such as Ugg Bailey Button Boots and Short Crochet Uggs.Good quality,super sale off,free shipping,come and choose the one you like.
chuang ddd

Posts: 10
Registered: 10/21/11
ugg boots sale
Posted: Oct 21, 2011 3:38 AM   in response to: enguzekli in response to: enguzekli
 
  Click to reply to this thread Reply
As an online retailer on brand s shoes, we are specialize in ugg boots for customer.ugg boots sale In our online store here, you can choose your favourite ugg boots at any sizes with any colours.We will provide you the best service with the lowest price.ugg boots cardy This brand of bailey button tripletcan either be worn up or cuffed down in accordance with your decision . These boots are 100% first run Grade A boots guaranteed authentic. This is what everyone wants. Once you put them on you will never want to take them off.moncler jackets cheap Cushy foam for added ease is certainly stuffed with an actual degree sock that the fact that will help continue to keep your own legs dried .Update added a dash of flair with 3 wooden Ugg logo button,moncler jackets women elastic band closure and the choice of wearing them up at calf height or cuffed down to change things up when the mood for fun strikes you.
chuang ddd

Posts: 10
Registered: 10/21/11
ugg boots sale
Posted: Oct 21, 2011 3:43 AM   in response to: enguzekli in response to: enguzekli
 
  Click to reply to this thread Reply
Womens UGG Ultimate Cuff 5273 Boots.The outstanding quality genuine Ugg boots are wonderful for many anytime donning which enables it to resist tough use.ugg boots sale Excluding to become a vogue assertion, you can preserve anyone feet comfortable in winter seasons through ugg shoes or boots,ugg boots cardy customized specially designed inside of an array of colors and sizes. The twin encountered sheep leather promises in which both short and tall boots are not only eye-catching but will also useful.uggs australia uk?The UGG Womens Ultimate Cuff 5273 Chestnut Cheap For Sale possess a high shaft height that enables it to happen practically leg length,moncler jackets sale cheap using a little fold, enable the flatsoled edge include towards the charm. All boots produced by Ugg possess a gentle fleece which not merely cocoons your feet, but gives ambiance and insulates you a with or maybe without clothes. Made for each of those males and girls, the host of colors fits almost every tastes.The cold winter is coming,moncler jackets women sale you can prepare a pair of warm UGG boots for your family.
chuang ddd

Posts: 10
Registered: 10/21/11
ugg boots cardy
Posted: Oct 21, 2011 3:45 AM   in response to: enguzekli in response to: enguzekli
 
  Click to reply to this thread Reply
The craze aroused by Australian sheepskin boots has been observed by most trend followers. But not like other branded footwear, designers for this kind of footwear take more people’ s desires into consideration.ugg boots sale They flatter wealthy fashion tastes and then delight vogue aficionados.ugg boots cardy Sale Ugg Boots Also, they make their ideas also beloved by a truly significant amount of men and women who attach far more significance on practicality of footwear. To be honest, the release of genuine merino wool boots from Australian genuinely triggered a revolution in the fashion footwear world. Most designers are needed to redefine their appetites for vogue.moncler jackets women sale Also, trend devotees are reminded of being far more aware about their own types and favors. Rather than becoming ill-considered followers,genuine classic ugg most of them are a lot more thrilled to create their fashion statements on the basis of their personal fashion tastes.
Legend
Guru: 2001 + pts
Expert: 501 - 2000 pts
Super-star: 101 - 500 pts
Assistant: 51 - 100 pts
Participant: 0 - 50 pts
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums