Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 102223 - release being called without get?
Summary: release being called without get?
Status: CLOSED DUPLICATE of bug 115714
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Nitin Dahyabhai CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-29 17:45 EDT by David Williams CLA
Modified: 2006-06-29 14:27 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2005-06-29 17:45:51 EDT
In JUnit console logs from 6/29, I'm seeing this error logged during JSP tests. 
My *guess* is that some our our new "end job on shutdown" may have exposed this 
error. Looking at the code, I can not see how this would ever happen, without
also happening in dev. env. (which it does not), so probably some tricky thread
issues here?

Plus, the double "...core.internal.util.Assert.isNotNull" in log 
made me look and I realize we do not actually have to *log* the message in 
the assert ... that's for ever is asserting to decide. 



     [java] !ENTRY org.eclipse.wst.sse.core 4 4 2005-06-29 21:40:06.939
     [java] !MESSAGE null_argument: 

     [java] !ENTRY org.eclipse.jst.jsp.core 4 4 2005-06-29 21:40:06.944
     [java] !MESSAGE JSPIndexer problem
indexing:/org.eclipse.wst.sse.core.internal.encoding.newtests/testfiles/regressionTestFiles/defect223365/SelColBeanRow12ResultsForm.jsp
     [java] !STACK 0
     [java] org.eclipse.wst.sse.core.internal.util.Assert$AssertionFailedException
     [java] 	at
org.eclipse.wst.sse.core.internal.util.Assert.isNotNull(Assert.java:125)
     [java] 	at
org.eclipse.wst.sse.core.internal.util.Assert.isNotNull(Assert.java:107)
     [java] 	at
org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.releaseFromRead(ModelManagerImpl.java:1417)
     [java] 	at
org.eclipse.wst.sse.core.internal.model.AbstractStructuredModel.releaseFromRead(AbstractStructuredModel.java:1057)
     [java] 	at
org.eclipse.wst.xml.core.internal.document.DOMModelImpl.releaseFromRead(DOMModelImpl.java:806)
     [java] 	at
org.eclipse.wst.html.core.internal.document.DOMStyleModelImpl.releaseFromRead(DOMStyleModelImpl.java:44)
     [java] 	at
org.eclipse.jst.jsp.core.internal.java.search.JSPSearchDocument.getJSPTranslation(JSPSearchDocument.java:128)
     [java] 	at
org.eclipse.jst.jsp.core.internal.java.search.JSPSearchDocument.getPath(JSPSearchDocument.java:149)
     [java] 	at
org.eclipse.jst.jsp.core.internal.java.search.JavaSearchDocumentDelegate.<init>(JavaSearchDocumentDelegate.java:30)
     [java] 	at
org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSupport.createSearchDocument(JSPSearchSupport.java:426)
     [java] 	at
org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSupport.addJspFile(JSPSearchSupport.java:320)
     [java] 	at
org.eclipse.jst.jsp.core.internal.java.search.JSPIndexManager$ProcessFilesJob.run(JSPIndexManager.java:251)
     [java] 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Comment 1 David Williams CLA 2005-06-29 17:46:21 EDT
Phil ... any ideas?
Comment 2 Nitin Dahyabhai CLA 2006-04-20 16:48:30 EDT
Marking as duplicate since it's the symptom I'd expect with 0.7-level code.

*** This bug has been marked as a duplicate of 115714 ***
Comment 3 Nitin Dahyabhai CLA 2006-06-29 14:27:37 EDT
Closing