|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Problem on java applet
Hi,
I've this software installed: O.S. Windows 2000 server ColdFusion MX 6.1 Autodesk Whip Internet Explorer 6.0 When I run on link of ColdFusion I get this error (At the bottom left corner): "Applet MultiBarChart notinited" and after "loading java applet failed" How can I resolve this error? Thanks in advance! |
|
#2
|
|||
|
|||
|
Applets run in the browser so they don't have anything to do with ColdFusion. It sounds like you're not setting it up correctly at the browser end. You may want to consult the documentation from whoever created the Applet, or contact them directly.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
|
#3
|
|||
|
|||
|
Quote:
I noted that coldfusion run with this cfm file: <cfquery name="GetData" datasource=#Cookie.AFMDSN#> SELECT bl_id, fl_id, ( {fn CONCAT( dv_id, {fn CONCAT('-', dp_id)} )} ) AS bdd, ROUND(SUM(area),0) as area FROM rm WHERE bl_id = '#var_rm_bl_id#' GROUP BY bl_id, fl_id, dv_id, dp_id ORDER BY bl_id, fl_id DESC, bdd </cfquery> <CFIF IsDefined("URL.SuperCat")> <CFCOOKIE NAME="hotlist_SuperCat" VALUE=#URL.SuperCat# > </CFIF> <CFIF IsDefined("URL.Cat")> <CFCOOKIE NAME="hotlist_Cat" VALUE=#URL.Cat# > </CFIF> <p><p> <!--- Display The Graph ---> <applet codebase="/Classes/CFGraphs/" code="MultiBarChart.class" width=100% height=90%> <!--- Set the optional display parameters ---> <PARAM NAME="Title" VALUE="Departmental Stack Plan"> <PARAM NAME="TitleFontName" VALUE="Arial"> <PARAM NAME="TitleFontHeight" VALUE="14"> <param name="ShowLegend" value="yes"> <param name="LegendFontName" value="Arial"> <PARAM NAME="LegendFontHeight" VALUE="12"> <PARAM NAME="DrawBorders" VALUE="yes"> <param name="ShowDateTime" value="No"> <PARAM NAME="Orientation" VALUE="horizontal"> <!--- Set required record set parameters ---> <PARAM NAME="ChartData.Rows" VALUE="<cfoutput>#GetData.RecordCount#</cfoutput>"> <PARAM NAME="ChartData.Columns" VALUE="Groups,Items,Values"> <PARAM NAME="ChartData.Groups" VALUE="<CFOUTPUT QUERY="GetData">#bl_id# #fl_id#,</CFOUTPUT>"> <PARAM NAME="ChartData.Items" VALUE="<CFOUTPUT QUERY="GetData">#bdd#,</CFOUTPUT>"> <PARAM NAME="ChartData.Values" VALUE="<CFOUTPUT>#ValueList(GetData.area)#</CFOUTPUT>"> </applet> Before loading java applet failed I get: java.lang.nullpointerexception Have you any idea why I have this error? Thanks |
|
#4
|
|||
|
|||
|
Not without more information, but the error is generally due to trying to reference a variable that does not exist.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Problem on java applet |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|