Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] (no subject)

Thank you Andy. It works! Many thanks.

2015-04-09 18:39 GMT+02:00 Andy Clement <andrew.clement@xxxxxxxxx>:
Here you go, see ENABLE_CLEAR_REFERENCES on here: https://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html

Andy

On Apr 9, 2015, at 2:16 AM, Benjamin Lefevre <benjamin.lefevre@xxxxxxxxxxxx> wrote:

Thank you Andy.

Would anyone know what option is Andy talking about?


2015-04-08 22:19 GMT+02:00 Andy Clement <andrew.clement@xxxxxxxxx>:
I think there is some tomcat option (I forget what it is) that causes it to eagerly clear out static state in classes to avoid memory leaks on shutdown? I wonder if you have that switched on and it is affecting AspectJ state.

cheers,
Andy

On 7 April 2015 at 00:40, Benjamin Lefevre <benjamin.lefevre@xxxxxxxxxxxx> wrote:

I'm a developper in a company (photobox) and I'm trying to upgrade the jvm (of the software I work for) from java 1.6 to java 1.8.

For this purpose, I upgraded aspectJ as well. I try to use the 1.8.5 release with the oracle jdl 1..8.0_40. 

When my tomcat (6.0.29) shutdowns, some ajcore files are dumped on the file system (please find them in attachement).
Do you have any of the cause of this issue? What can I do? Thank you in advance.

ps1: I did not find any similar issues using Google search engine.
ps2: sorry for my english :p


---- AspectJ Properties ---
AspectJ Compiler 1.8.5 built on Thursday Jan 29, 2015 at 01:03:58 GMT
---- Dump Properties ---
Dump file: ajcore.20150403.065756.672.txt
Dump reason: java.lang.NullPointerException
Dump on exception: true
Dump at exit condition: abort
---- Exception Information ---
java.lang.NullPointerException
        at org.aspectj.weaver.tools.cache.SimpleCacheFactory.isEnabled(SimpleCacheFactory.java:100)

        at org.aspectj.weaver.loadtime.Aj.preProcess(Aj.java:106)
....



iprod@iprod-renderer-java8:~ : java -version
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)



_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-dev


_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-dev



_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-dev


_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-dev



--

Benjamin Lefevre      Senior Software Engineer / iWays & iRender

Email                          benjamin.lefevre@xxxxxxxxxxxx

Address                      37-39 rue de Beauce - 78500  Sartrouville (France)

Phone                         +33 (0)1 30 86 80 43

PHOTOBOX


Back to the top