Announcement Announcement Module
Collapse
No announcement yet.
code completion problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment

    Working...
    X