GayaBalan / ivybeans

Automatically exported from code.google.com/p/ivybeans
0 stars 0 forks source link

NullPointerException while trying to edit XML files with IvyBeans enabled #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Environment : ivybeans 1.0, 1,1M2, netbeans 6.5, OS Windows XP, jdk 1.6.0
(u11/u12)

Description :

NullPointer exception occurs in IvyBeans code whenever I try to type in an
XML file. Specifically, if I open an XML file in the Netbeans editor what I
type does not appear in the file. Instead I get a dialog box from Netbeans
which reports a Null Pointer Exception and leads to this issue:

http://statistics.netbeans.org/analytics/detail.do?id=114792

Unfortunately I can't attach a project as suggested in the forum as they
are work related. I tried creating a new empty project, but the error isn't
happening in the new project. 

Actually - here's something - I can edit XML files in the newly created
project, but I can't edit XML files in *any* old project, even ones which
do not have Ivy enabled. So... it is something to do with the older
projects I have.

Original issue reported on code.google.com by kurois...@gmail.com on 5 Feb 2009 at 9:18

GoogleCodeExporter commented 9 years ago
Ok I can fix with avoiding the NullPointerException.

And see what happen later.

Original comment by laurent....@gmail.com on 5 Feb 2009 at 9:25

GoogleCodeExporter commented 9 years ago

Sending       
D:\scm\svn\code.google\ivybeans\trunk\ivybeans\ivy-module\src\com\googlecode\ivy
beans\module\completion\IvyCompletionProvider.java
Transmitting file data .
Committed revision 241.

Original comment by laurent....@gmail.com on 5 Feb 2009 at 9:54

GoogleCodeExporter commented 9 years ago
Laurent - thanks - I downloaded and installed the patched file.

It has definitely made things better, I can now type in the file.... however 
Netbeans
is still throwing an exception some of the time:

http://statistics.netbeans.org/analytics/exception.do?id=159889

Maybe the new line number helps you figure out what's going on?

Original comment by kurois...@gmail.com on 6 Feb 2009 at 1:29

GoogleCodeExporter commented 9 years ago

Original comment by laurent....@gmail.com on 6 Feb 2009 at 5:46

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by laurent....@gmail.com on 6 Feb 2009 at 8:49

GoogleCodeExporter commented 9 years ago
Sending       
D:\scm\svn\code.google\ivybeans\trunk\ivybeans\ivy-module\src\com\googlecode\ivy
beans\module\classpath\ScopedClassPathImpl.java
Transmitting file data .
Committed revision 246.

Original comment by laurent....@gmail.com on 6 Feb 2009 at 9:49

GoogleCodeExporter commented 9 years ago
Issue 30 has been merged into this issue.

Original comment by laurent....@gmail.com on 11 Feb 2009 at 7:43