Ok guys i have found a solution
the problem happens when i have an ee item with energy/health/durability on it
an example would be a philosopher's stone with energy.
as long as you have that item in your inventory (not just the hotbar) then you will have this issue
my solution is: put a chest close to the pipe, and empty items of that sort in there, so when you open pipe, your java will not crash
Cheers :D