Results 1 to 2 of 2

Thread: code completion problem

  1. #1
    Join Date
    Sep 2006
    Posts
    10

    Default code completion problem

    Hi all,
    I am using spring 3.2 and SpringIDE 1.3.6.

    I declared my spring config file as such but I can't get code completion on ref.
    For example in the following context file the code assist works fine for class and property name but for ref bean I receive ""Content Assist" did not complete normally. ... Reason: java.lang.NullPointerException" message.
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    
    <beans xmlns="http://www.springframework.org/schema/beans"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="
    http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
    
    	<bean id="sessionFactory"
    		class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
    		<property name="dataSource">
    			<ref bean="dataSource" />
    		</property>
    	</bean>
    
    
    </beans>
    Any Idea?
    Thanks in advance
    Guy

  2. #2
    Join Date
    Aug 2004
    Location
    Duesseldorf, Germany
    Posts
    1,210

    Default

    Hi,

    that problem has been addressed in http://springide.org/project/ticket/406 and already been fixed.

    Watch out for the (today) upcoming Spring IDE 2.0 M1.

    Christian
    Christian Dupuis
    SpringSource, a division of VMware
    Lead, SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/cdupuis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •