Java.lang.nullpointerexception when editing large files

Posted by rvkanten on 24-Jan-2008 05:16

OE 10.1B01
Eclipse Platform
Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330

We get nullpointer exceptions when editing large files. Can this be solved by a JVM setting or by upgrading Eclipse?

All Replies

Posted by Admin on 24-Jan-2008 05:27

How about Updating to OpenEdge 10.1B03 ?

Posted by rvkanten on 24-Jan-2008 06:10

Mike,

Did this solve the problem for you because I can't find any reference to my question in the release notes of 10.1B03?

Posted by Admin on 24-Jan-2008 06:19

How large are your large files? OpenEdge Architect is a rather young product (2 years now), so I try to keep up with recent releases/service packs rather close to their availbility.

I personally haven't seen the issue your describing (not in 10.1B01 and not in 10.1B03).

Mike

Posted by rvkanten on 24-Jan-2008 06:23

size: > 300 Kb
#lines:

Posted by Admin on 24-Jan-2008 06:28

I frequently open ADM2 source code into OEA.

src/adm2/toolbar.p > 500 kB ~ 15.000 lines

src/adm2/data.p > 400 kB ~ 10.000 lines

From what I heard from others, too much preprocessor directives and to many include file levels may have impact on the parsing time. ADM2 apps also have many nested include files and I haven't seen it there.

Posted by rvkanten on 24-Jan-2008 06:37

I meant more than 7.700 lines.

I think your remark on too much preprocessor directives applies to our source.

Posted by Matt Baker on 24-Jan-2008 07:08

Roger,

I would encourage you to call tech support if you are getting errors like this. They are best equipped to deal with the issue.

mattB

Posted by Thomas Mercer-Hursh on 24-Jan-2008 10:53

Do you have any extra arguments in your shortcut? I am using

-vmargs -Xmx1024m -Xss2M

Posted by rvkanten on 25-Jan-2008 01:44

eclipse.vm=C:\Java\jre1.6.0_03\bin\javaw.exe-XX:MaxPermSize=128m

Posted by Thomas Mercer-Hursh on 25-Jan-2008 11:08

I'm no expert on these options, but if you have a reasonable amount of RAM, you could try boosting to 1024.

This thread is closed