This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 187226 - [69cat] NullPointerException at org.apache.ivyde.common.ivyfile.IvyModuleDescriptorModel.<init>
Summary: [69cat] NullPointerException at org.apache.ivyde.common.ivyfile.IvyModuleDesc...
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Spring (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Alexey Butenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-05 14:21 UTC by nanosn
Modified: 2010-08-13 08:43 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 137689


Attachments
stacktrace (3.42 KB, text/plain)
2010-06-05 14:21 UTC, nanosn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nanosn 2010-06-05 14:21:37 UTC
Build: NetBeans IDE 6.9 Beta (Build 201004200117)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-10M3025
OS: Mac OS X

User Comments:
GUEST: Tried to edit ivy.xml file in project root. Have ivybeans plugin installed and has used it in the project previously.

GUEST: editing an XML. Trying to write on it cause this exception.

aldobrucale: Editing a spring configuration file

GUEST: I tried to start up my web application with apache web server.  I got the following stack trace because I don't have my configuration file.

org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Could not resolve placeholder 'jdbc.driverClassName'
        at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:252)
        at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:75)
        at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:541)
        at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:515)

mithun_gonsalvez: Editing build.xml to add Ivy Properties.

GUEST: modifying 'conf' attributes on dependencies ... now, can't seem to type a '-'

GUEST: editing an xml. I have around a total of 16 files opened

GUEST: editing ivy.xml file




Stacktrace: 
java.lang.NullPointerException
   at org.apache.ivyde.common.ivyfile.IvyModuleDescriptorModel.<init>(IvyModuleDescriptorModel.java:550)
   at com.googlecode.ivybeans.module.completion.ivyfiles.IvyFileCompletionProvider.getCodeCompletionProcessor(IvyFileCompletionProvider.java:28)
   at com.googlecode.ivybeans.module.completion.IvyCompletionProvider.createTask(IvyCompletionProvider.java:28)
   at org.netbeans.modules.editor.completion.CompletionImpl.completionQuery(CompletionImpl.java:639)
   at org.netbeans.modules.editor.completion.CompletionImpl.showCompletion(CompletionImpl.java:839)
   at org.netbeans.modules.editor.completion.CompletionImpl.insertUpdate(CompletionImpl.java:326)
Comment 1 nanosn 2010-06-05 14:21:43 UTC
Created attachment 99836 [details]
stacktrace
Comment 2 Peter Pis 2010-06-07 09:08:52 UTC
Please evaluate.
Comment 3 Exceptions Reporter 2010-08-10 12:41:11 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=137689
Comment 4 Alexey Butenko 2010-08-13 08:43:38 UTC
It is related to IvyBeans plgin, and should be filled there