Tech industry hopes for a solution to the problem of patent trolls became more illusive Wednesday when lawmakers gave up on patent legislation after being unable to reach a compromise on some details.

Senate Judiciary Committee Chairman Patrick Leahy, D-Vt., announced Wednesday he’s pulling the patent troll legislation for the foreseeable future because of an inability to resolve some outstanding issues.

“Unfortunately, there has been no agreement on how to combat the scourge of patent trolls on our economy without burdening the companies and universities who rely on the patent system every day to protect their inventions,” Leahy said in a statement.

As we noted recently, a disagreement between tech companies and universities over “fee shifting,” or who pays the legal fees when patent troll lawsuits fail, has been a stumbling block for lawmakers. It was one of a handful of issues that have divided senators in recent weeks as they tried unsuccessfully to reach a compromise.

The Senate bill was similar to legislation that easily passed the House in December, both aimed at reducing lawsuits brought by non-practicing entities, or patent trolls.

Leahy’s decision to pull the legislation wasn’t totally unexpected since he had previously delayed committee action on the measure five times while lawmakers tried to placate concerns raised by tech and pharmaceutical companies, academia and other industries (retail, financial services, etc.) with a stake in the debate.

People close to the negotiations said that they thought they were close to a deal when Leahy pulled the plug. They said Senate Majority Leader Harry Reid shut down the effort on behalf of pharmaceutical firms and trial lawyers by making it clear that a compromise bill wouldn’t be given floor time for a debate. A spokesman for Reid did not respond to a request for comment.

Sen. Chuck Grassley, R-Iowa, said he was “surprised and disappointed that the Senate Democrat leadership is not willing to move forward on a bill that we’ve worked on so hard and were ready and expecting to mark up tomorrow.”

The Coalition for Patent Fairness, which counts Google, Oracle, Verizon and Cisco among its members, said that “patent trolls and their special interest allies are the only winners today.”

The Internet Association, which represents Internet companies including Google, Facebook and Amazon, said it was “deeply disappointed” by the decision and said that if the Senate Judiciary Committee couldn’t act, Reid should bring the House bill that passed last year to the floor of the Senate for a vote.

Meanwhile, the National Retail Federation called the decision a victory for patent trolls and said in a statement it too was “deeply disappointed that groups representing the status quo have continued to stall and stymie attempts at effective patent reform.”

On the other side of the debate, the Biotechnology Industry Association, which represents Amgen, Pfizer and other pharmaceutical companies, said lawmakers should hold off on action “until greater stakeholder consensus can be achieved.”

University associations said in a statement that the Senate Judiciary compromise would “substantially weak all patents and the rights of patent holders large and small” and applauded the decision to shelve the plan.