Issue Details (XML | Word | Printable)

Key: GLASSFISH-19536
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: jwells
Reporter: Mohamed Taman
Votes: 0
Watchers: 1

If you were logged in you would be able to see more operations.

Errors appears in the server.log related to glassfish at startup of the server.

Created: 15/Jan/13 10:07 AM   Updated: 11/Feb/13 01:36 PM   Resolved: 11/Feb/13 01:36 PM
Component/s: hk2
Affects Version/s: 4.0_b70
Fix Version/s: None

Time Tracking:
Not Specified


Windows 7 Professional SP1
Mac OS X 10.8.2
Glassfish v4_b71

Tags: adoptajsr
Participants: Byron Nevins, jwells, Mohamed Taman, rajendra_inamdar and tvlatas

 Description  « Hide

While I was starting up and deploying my applications, I see the following errors in the log file server.log :

1. I see this error many times

	at java.util.Stack.peek(
	at org.glassfish.hk2.classmodel.reflect.impl.SignatureVisitorImpl.visitTypeVariable(
	at org.objectweb.asm.signature.SignatureReader.parseType(
	at org.objectweb.asm.signature.SignatureReader.parseType(
	at org.objectweb.asm.signature.SignatureReader.accept(
	at org.glassfish.hk2.classmodel.reflect.impl.ModelClassVisitor.visit(
	at org.objectweb.asm.ClassReader.accept(
	at org.objectweb.asm.ClassReader.accept(
	at org.glassfish.hk2.classmodel.reflect.Parser$5.on(
	at com.sun.enterprise.v3.server.ReadableArchiveScannerAdapter.handleEntry(
	at com.sun.enterprise.v3.server.ReadableArchiveScannerAdapter.onSelectedEntries(
	at org.glassfish.hk2.classmodel.reflect.Parser.doJob(
	at org.glassfish.hk2.classmodel.reflect.Parser.access$300(
	at org.glassfish.hk2.classmodel.reflect.Parser$
	at org.glassfish.hk2.classmodel.reflect.Parser$
	at java.util.concurrent.FutureTask$Sync.innerRun(
	at java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.util.concurrent.ThreadPoolExecutor$

2. Also this occurs many times in the log

_LevelValue=900_MessageID=NCLS-COMUTIL-0019;|Illegal call to close() detected
	at com.sun.enterprise.loader.ASURLClassLoader$ProtectedJarFile.close(
	at com.sun.enterprise.loader.ASURLClassLoader$ProtectedJarFile.finalize(
	at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
	at java.lang.ref.Finalizer.runFinalizer(
	at java.lang.ref.Finalizer.access$100(
	at java.lang.ref.Finalizer$

Byron Nevins added a comment - 15/Jan/13 06:59 PM

ASURLClassLoader junk in the logfile was a new problem that is fixed.

tvlatas added a comment - 15/Jan/13 07:20 PM

The errors logged here appear to be deployment related.

Is there a reason this was assigned to the "Logging" component?

tvlatas added a comment - 17/Jan/13 11:52 AM

Taking a quick look, I'm wondering if SignatureVisitorImpl should be guarding with a stack.isEmpty()check there before doing the peek.

I sent email to the HK2 team to see if what they think, to get this assigned appropriately.

rajendra_inamdar added a comment - 23/Jan/13 04:41 PM

The exception is coming from HK2.

jwells added a comment - 11/Feb/13 01:36 PM

Added in an empty stack check