Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

java.lang.UnsatisfiedLinkError: awt (An exception was pendin

Hi,

When I call session.put( asset, new NullProgressMonitor()); I get the following exception. Any help on why I would get this would be much appreciated. Thank you.

<message>java.lang.UnsatisfiedLinkError: awt (An exception was pending after running JNI_OnLoad)</message>
<frame>
<class>java.lang.ClassLoader</class>
<method>loadLibraryWithPath</method>
<line>993</line>
</frame>
<frame>
<class>java.lang.ClassLoader</class>
<method>loadLibraryWithClassLoader</method>
<line>962</line>
</frame>
<frame>
<class>java.lang.System</class>
<method>loadLibrary</method>
<line>465</line>
</frame>
<frame>
<class>sun.security.action.LoadLibraryAction</class>
<method>run</method>
<line>69</line>
</frame>
<frame>
<class>java.security.AccessController</class>
<method>doPrivileged</method>
<line>202</line>
</frame>
<frame>
<class>java.text.Bidi</class>
<method><clinit></method>
<line>67</line>
</frame>
<frame>
<class>java.lang.J9VMInternals</class>
<method>initializeImpl</method>
<line>-2</line>
</frame>
<frame>
<class>java.lang.J9VMInternals</class>
<method>initialize</method>
<line>200</line>
</frame>
<frame>
<class>com.ibm.ram.client.RAMAsset</class>
<method>toLocalizedString</method>
<line>4195</line>
</frame>
<frame>
<class>com.ibm.ram.client.RAMAsset</class>
<method>getLocalArtifactArchiveFile</method>
<line>3195</line>
</frame>
<frame>
<class>com.ibm.ram.client.RAMSession</class>
<method>putAsset</method>
<line>2853</line>
</frame>
<frame>
<class>com.ibm.ram.client.RAMSession</class>
<method>put</method>
<line>4715</line>
</frame>

0 votes



2 answers

Permanent link
Usually this kind of error is due to the JVM version mismatch.
Check your classpath/path to see what JRE set is set
If say the eclipse-based product requires a higher JRE version and yet your machine has installed a lower JRE version, this kind of problem will occur.

0 votes


Permanent link
Thank you for the reply. The issue is with WebSphere sMash environment on which we run our application.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 23 '11, 5:46 p.m.

Question was seen: 10,904 times

Last updated: Jan 23 '11, 5:46 p.m.

Confirmation Cancel Confirm