")" error with code tags
[ code ]
{ code ]
import java.util.Scanner;
import java.io.File;
import java.io.IOException;
import javax.swing.JOptionPane;
public class MicahYPA4
public static void main( String [] args ) throws IOException
FileMan myF = new FileMan();
myF.process();
class Fileman
public void process()throws IOException
double qbRating;
String filename;
filename = JOptionPane.showInputDialog (null,"Give name of the input file:");
File inputFile = new File(filename);
Scanner scan = new Scanner( inputFile );
while ( scan.hasNext() )
while(scan.hasNext() )
String qbLastName = scan.next();
while(scan.hasNext() )
String qbFirstName = scan.next();
while(scan.hasNextInt() )
int attempts = scan.nextInt();
while(scan.hasNextInt() )
int comp = scan.nextInt();
while(scan.hasNextInt() )
int yards = scan.nextInt();
while(scan.hasNextInt() )
int tds = scan.nextInt();
while(scan.hasNextInt() )
int ints = scan.nextInt();
qbRating = (5(%comp - 30)/6) + (10(%tds)/3) + (25*(19 - 2(%ints))/12) + (25*(yards/attempt - 3)/6);
[ code ]
[ code ]
{ code ]The error is that you don't need > [ code ] ,
and this > { code ] should start with [ and not {
Similar Messages
-
"ink system failure" error with code oxc19e0023 on a HP Photosmart Premium All-in-One Printer - C309
"ink system failure" error with code oxc19e0023 on have a HP Photosmart Premium All-in-One Printer - C309g - Have done all the resets and reseated the ink also tried replacing ink with new HP carts..getting frustrated please help
This question was solved.
View Solution.Have you tried the steps outlined in this article:
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03081973&cc=us&dlc=en&lc=en
If not give the steps a try and let us know if it helps.
Best of Luck!
You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too. -
How to resolve error with code: 0xe7210001 cannot load powrprof, object:cls
Hello there
Doses anybody know how to resolve the error with code: 0xe7210001, message: cannot load powrprof, object:clsd-not-found;
OR: Fingerprintsoftware error OR: THotkey.exe message window multiplicates and computer freezes
Scanned maleware and viruses, also in safe mode, found no infection, reinstalled fingerprint driver but nothing changed.
grateful for help!Hello
> message: cannot load powrprof, object:clsd-not-found;
In my opinion this would mean that there is a problem with Toshiba Power Saver
What Toshiba notebook you have exactly?
Maybe reinstalling Power Saver could help. You can find it on official Toshiba website. -
App-fnd-0756 error with code =MTLL
제품 : MFG_PO
작성날짜 : 2002-11-27
app-fnd-0756 error with code =MTLL
===========================================
PURPOSE
APP-FND-0756 error가 code MTLL으로 발생시
Explanation
Location id 가 missing 되거나 invalid 한경우 MTLL으로 error 발생한다
Example
Reference Documents
-------------------Hi Hussein:
Thank you for your reply,
Was this working before? If yes, any changes have been done recently?--Yes. Nothing to do at this moment. Just After Bounce Apps service.
Can you find any errors in the database log file?-- no error in the alter_log and can login with SQLPLUS successfully.
Did AutoConfig complete successfully?-- I think at this time ,it is no need to do the autoconfig, the service running normal.
Any ideas about my case?
Thanks & Regards
Terry -
Install is giving an error with code 24
Hi,
An app that I would like to use requires Adobe AIR.
I already have tried to install it from Playstore, but unfortunately without success.
I have tried this 6-7 time and also with different gmail accounts.
It downloads fine, however install is giving an error with code 24.
My device is Asus MeMo Pad fhd 10 with Android 4.3
How can I overcome this issue?
I don’t care if it is not “officially supported”, it is OK for me if it works most of the time.
Thanks in advance!
TofigHi Senthil / JK,
Is your issue resolved.
I have similar issue but error text is
COM error 38 when deleting a manufacturing order
Message no. /SAPAPO/SNPOPT250
Do you have any idea about it?
Please reply
Regards
Samir -
Parsing errors with CDATA tags using oracle xml parser v2
I'm using the oracle.xml.parser.v2 parser to combine a
generated xml document from a database with a static
xsl file to produce html. Within the xml document, there
are fairly large CDATA sections (500 lines) which happen
to contain javaScript.
Occasionally, I'm getting xml tags in the final html
document! It seems that the oracle parser pukes
on a certain type of data within a CDATA tag, and then
replaces an angle bracket (<) of a tag with a #60. This
can cause html tags being viewed in the document. At
first, I thought the amount of JavaScript within the
CDATA tag was too large for the parser to handle,
because when I split it up into 2 or more parts the errors
went away. But, re-arranging the JavaScript (String in the CDATA tag)
can make the errors disappear. And, if I
use the Saxon parser to manually combine the xsl with
the xml, the output is fine. If anyone knows that this is
a confirmed bug by Oracle, or any other relevant info on
this, please let me know.Hi,
Your lucky, i've just finished a project that used the oracle parser extensively.
I think the problem may stem from your xsl. Although your cdata tags may be well formed, in the xsl you might need to escape the text again, this may mean that the xsl needs to print a further cdata tag around the data. This is because the parser (well the version I was using) strips the cdata tags before the transformation happens.
This is the probably the cause of the nasty html output. -
hi all
i have proplem with this code
// These lines begin broadcasting.
var my_nc:NetConnection = new NetConnection(); // Create
connection object.
my_nc.connect("rtmp://MYserver:1935/test"); // Connect to
server.
publish_ns:NetStream = new NetStream(my_nc); // Open stream
within connection.
publish_ns.attachAudio(Microphone.get()); //Capture audio.
//publish_ns.attachVideo(Camera.get()); Capture video.
publish_ns.publish("todays_news"); // Begin broadcasting.
/* These lines open a stream to play the video portion of the
broadcast inside a Video object named my_video. The audio is played
through the standard output device--you don’t need to issue a
separate command to hear the audio. */
var play_ns:NetStream = new NetStream(my_nc);
//my_video.attachVideo(play_ns); // Specify where to display
video.
play_ns.play("todays_news"); // play() uses the same name as
publish() above.
the error appear is:
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 5:
Syntax error.
publish_ns:NetStream = new NetStream(my_nc); // Open stream
within connection.
Total ActionScript Errors: 1 Reported Errors: 1publish_ns = new NetStream(my_nc);
-
Hi,
I have a simple form for a simple page flow app
public static class CheckforloopcountForm extends FormData
private List loopCountResult;
private String loopCountVal;
public void setLoopCountVal(String loopCountVal)
this.loopCountVal = loopCountVal;
public String getLoopCountVal()
return this.loopCountVal;
public void setLoopCountResult(List loopCountResult)
this.loopCountResult = loopCountResult;
public List getLoopCountResult()
return this.loopCountResult;
now I populate the loopCountReult list with value in
my jpf.
then in the reponse.jsp I try to
get it as
<body>
<p>
The result page is showing:
</p>
<netui-data:repeater dataSource="{actionForm.loopCountResult}">
<netui-data:repeaterHeader><ol></netui-data:repeaterHeader>
<netui-data:repeaterItem>
<li>
<netui:label value="{container.item}"></netui:label>
</li>
</netui-data:repeaterItem>
<netui-data:repeaterFooter></ol>
</netui-data:repeaterFooter>
</netui-data:repeater>
I get the following error in jsp.
Caught exception when evaluating expression '{actionForm.loopCountResult}' with
available binding contexts [currentTag, session, pageContext, request, response,
application]. Root exception cause: com.bea.wlw.netui.script.xscript.IllegalContextStateException:
The action form for the expression "actionForm["loopCountResult"]" could not be
found
Any help on this will be great.
thanks,
SubhabrataThanks,
For your answer. Make sense now. So what will
be the best approach for receiving result from a formbean
in the result jsp.
Thanks,
Subhabrata
Eddie O'Neil <[email protected]> wrote:
Subhabrata--
I'm not exactly sure what the rest of the structure of your
application is, but the "actionForm" binding context can only be used
inside of the <netui:form> tag. Using it outside of this tag will
result in the error that you mention.
You can either pass the data to your page in the request and bind
to
it using the "request" binding context, or you can expose it as a public
property of the page flow and bind to it using the "pageFlow" binding
context. You could also wrap the repeater in a <netui:form> tag if you
have data to submit from the page.
Hope that helps...
Eddie
Subhabrata Sarkar wrote:
Hi,
I have a simple form for a simple page flow app
public static class CheckforloopcountForm extends FormData
private List loopCountResult;
private String loopCountVal;
public void setLoopCountVal(String loopCountVal)
this.loopCountVal = loopCountVal;
public String getLoopCountVal()
return this.loopCountVal;
public void setLoopCountResult(List loopCountResult)
this.loopCountResult = loopCountResult;
public List getLoopCountResult()
return this.loopCountResult;
now I populate the loopCountReult list with value in
my jpf.
then in the reponse.jsp I try to
get it as
<body>
<p>
The result page is showing:
</p>
<netui-data:repeater dataSource="{actionForm.loopCountResult}">
<netui-data:repeaterHeader><ol></netui-data:repeaterHeader>
<netui-data:repeaterItem>
<li>
<netui:label value="{container.item}"></netui:label>
</li>
</netui-data:repeaterItem>
<netui-data:repeaterFooter></ol>
</netui-data:repeaterFooter>
</netui-data:repeater>
I get the following error in jsp.
Caught exception when evaluating expression '{actionForm.loopCountResult}'with
available binding contexts [currentTag, session, pageContext, request,
response,>> application. Root exception cause: com.bea.wlw.netui.script.xscript.IllegalContextStateException:
The action form for the expression "actionForm["loopCountResult"]"could not be
found
Any help on this will be great.
thanks,
Subhabrata -
R3trans error with code 0012 and its Solution
After system refresh i got following error from Quality system while running R3trans -d
This is R3trans version 6.14 (release 700 - 18.09.06 - 09:35:00).
unicode enabled version
2EETW169 no connect possible: "DBMS = ORACLE
--- dbs_ora_tnsname = 'QUA'"
R3trans finished (0012).Trans Logs are,
4 ETW000 [developertra,00000] Got ORACLE_SID=QUA from environment 49921 55.681220
4 ETW000 [developertra,00000] Got NLS_LANG=AMERICAN_AMERICA.WE8DEC from environment
4 ETW000 10732 55.691952
4 ETW000 [developertra,00000] Logon as OPS$-user to get SAPR3's password 6065 55.698017
4 ETW000 [developertra,00000] Connecting as /@QUAon connection 0 ... 5661 55.703678
4 ETW000 [developertra,00000] -->oci_logon(con_hdl=0, user='', dbname='QUA') 5874 55.709552
4 ETW000 [developertra,00000] Now I'm connected to ORACLE 11073827 66.783379
4 ETW000 [dbsloci. ,00000] *** ERROR => ORA-1403 when accessing table SAPUSER
4 ETW000 523513 67.306892
4 ETW000 [developertra,00000] Disconnecting from connection 0 ... 5926 67.312818
4 ETW000 [developertra,00000] -->oci_logoff(con_hdl=0) 5316 67.318134
4 ETW000 [developertra,00000] Now I'm disconnected from ORACLE 426449 67.744583
4 ETW000 [developertra,00000] Try to connect with default password 7185 67.751768
4 ETW000 [developertra,00000] Connecting as SAPR3/<pwd>@QUA on connection 0 ...
4 ETW000 8873 67.760641
4 ETW000 [developertra,00000] -->oci_logon(con_hdl=0, user='SAPR3', dbname='QUA')
4 ETW000 8634 67.769275
4 ETW000 [dbsloci. ,00000] *** ERROR => OCI-call 'olog' failed: rc = 28000 10999248 78.768523
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '28000'
4 ETW000 12028 78.780551
4 ETW000 [dblink ,00627] ***LOG BY2=>sql error 28000 performing CON 12525 78.793076
4 ETW000 [dblink ,00627] ***LOG BY0=> 5373 78.798449
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'QUA'" -
TS3694 how do i solve error with code 1015
please help me to solve an unknown error code 1015
1. Close iTunes.
2. Connect your iPhone to your computer and then launch iTunes.
3. Turn your iPhone off (hold down the power button at the top of the iPhone).
4. Then, hold down the sleep/wake button and home button together for EXACTLY 10 SECONDS, then release the sleep/wake button.
5. Continue to hold down the Home button until a message appears in iTunes telling you an iPhone in recover mode has been detected. When you are in DFU mode your iPhone screen will be completely black. Remember that if you see the restore logo, iTunes logo, or any message on the iPhone screen, you are not in DFU mode but standard Recovery Mode.
6. Hit the OK message that should popup to restore your phone. Restore as "New". -
Build-time errors with custom tags in wkshop sp3
We have custom tags which create tag variables declared in the .tld file as follows:
<tag>
<name>contentsIterator</name>
<tag-class>org.cap.documentaccess.taglibs.ContentsIteratorTag</tag-class> <tei-class>org.cap.documentaccess.taglibs.ContentsIteratorTEI</tei-class>
<body-content>JSP</body-content>
<display-name>Contents Iterator</display-name>
<description>
</description>
<variable> <name-from-attribute>id</name-from-attribute> <variable-class>org.cap.documentaccess.Content</variable-class>
<declare>true</declare>
<scope>NESTED</scope>
</variable>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>
</description>
</attribute>
The calling jsp contains the following:
<cap:contentsIterator id="content">
The app built fine in wkshop(sp2) but in sp3 we get the following:
A name-from-attribute variable cannot reference a tag attribute that is request time or is not required.
Has the sp3 compiler become less forgiving or was this an oversight in sp2?if u are using weblogic workshop for ur application import c.tld into WEB-INF
and just import standard.jar, jstl.jar to WEB-INF/lib.
if u are using other than weblogic work shop like tomcat
1.just copy c.tld to WEB-INF.
2.create a 'lib' directoty inside WEB-INF copy standard.jar,jstl.jar files to that lib directory.
i think it should work. -
APSB13-10 causing an error with spreadsheetFormatCell tag
I loaded hotfix 4 and jdk-7u17 earlier in the week. All was well. Loaded APSB13-10 this morning on my development server and now I am getting a "coldfusion.excel.Excel.formatCell(Lcoldfusion/excel/ExcelInfo;Lcoldfusion/runtime/Struct ;IIZ)V null" error. Tried the same page on my test server which as HF4/jdk-7u17 and it works fine. Anyone got any ideas on what is causing the problem? Running on Windows server 2008 R2
There is a bug report here for this issue, I suggest you vote it up: https://bugbase.adobe.com/index.cfm?event=bug&id=3540876
-
ive been implementing a thread in my game for a ping pong game, ive got the shape to move in a up and down motion \ but i want to make it bounce all around the screen my code is below any help would be appreciated.
//////////DrawingPanel.java/////////////////////////
package pingpong;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.geom.Ellipse2D;
import java.awt.geom.Rectangle2D;
import javax.swing.JPanel;
class DrawingPanel extends JPanel {
int whatToDraw = 0;
int xPos = 100;
int yPos = 100;
boolean down = true;
// private Thread moveThread;
public void setWhatToDraw(int whatToDraw) {
this.whatToDraw = whatToDraw;
public void paintComponent(Graphics g) {
super.paintComponent(g);
Graphics2D gg = null;
switch (whatToDraw) {
case 1:
Ellipse2D circ;
gg = (Graphics2D) g;
gg.setColor(Color.red);
circ = new Ellipse2D.Float(xPos, yPos, 20, 20);
gg.draw(circ);
case 2:
Rectangle2D rect;
gg = (Graphics2D) g;
gg.setColor(Color.black);
rect = new Rectangle2D.Float(200, 400, 50, 20);
gg.draw(rect);
break;
public void setXPos(){
if(down){
if((this.xPos += 2) >= 360){
this.xPos = 360;
down = false;
} else {
this.xPos += 2;
} else{
if((this.xPos -= 2) <= 50){
this.xPos = 50;
down = true;
} else {
this.xPos -= 2;
public void setYPos(){
if(down){
if((this.yPos += 2) >= 360){
this.yPos = 360;
down = false;
} else {
this.yPos += 2;
} else{
if((this.yPos -= 2) <= 50){
this.yPos = 50;
down = true;
} else {
this.yPos -= 2;
///////////////////Frame.java///////////////////////////
package pingpong;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.SwingUtilities;
class MyFrame extends javax.swing.JFrame {
private DrawingPanel drawingPanel;
private javax.swing.JButton circButton;
private javax.swing.JPanel controlPanel;
public MyFrame() {
initComponents();
private void initComponents() {
controlPanel = new javax.swing.JPanel();
circButton = new javax.swing.JButton();
drawingPanel = new DrawingPanel();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
circButton.setText("Start Game");
circButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
drawingPanel.setWhatToDraw(1);
drawingPanel.repaint();
moveTheCircle();
controlPanel.add(circButton);
getContentPane().add(controlPanel, BorderLayout.NORTH);
drawingPanel.setPreferredSize(new Dimension(500, 500));
getContentPane().add(drawingPanel, BorderLayout.CENTER);
pack();
setLocationRelativeTo(null);
public void moveTheCircle() {
new Thread() {
public void run() {
while (true) {
drawingPanel.setXPos();
drawingPanel.setYPos();
SwingUtilities.invokeLater(new Runnable() {
public void run() {
drawingPanel.repaint();
try {
Thread.sleep(20);
} catch (InterruptedException ie) {
}.start();
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new MyFrame().setVisible(true);
}why i need helpI didn't say don't post on your original thread. Just stop creating new posts about the same topic.
-
TS3694 1015 error with my iphone3 when i tried to restore it
When i tried to restore my Iphone 3 it shows an error in iTunes, the error with code 1015
Please help me with that1015 error is generally related to an attempt to downgrade iOS, which is not supported. http://support.apple.com/kb/TS3694
-
SRM MDM, Error, "Table with Code 'null' does not exist in repository"
Hi experts,
We has SRM MDM scenario, while doing OCI settings, we are able to connect with MDM repository but getting follwoing error message in portal, "java.lang.IllegalArgumentException: Table with Code 'null' does not exist in the repository 'Repository' or is one of the system table (e.g. Workflows) that is not exposed in repository schema"
Can You please suggest,
Thanks and Regards,
MunishHi everyone,
Sudhanshu and Anshuk:- Thanks for your response, let me try and explain the real scenario in details:-
We have deployed the SRM-MDM Catalog Search UI in Portal.
We tried accessing the http://<Portal Host>:<Portal Port>/SRM-MDM/SRM_MDM
Then we got a screen (Search UI App screen), where in we have provided the MDM Server name, then the MDM Server Password, then presses the Connect button, then below this, it displayed the Repository name created in the MDM. We have selected the Repository, then provided the Credentials of a User (Name: T_CORP) in MDM which has "Catalog Manager", and the "UI Configuration Manager" Roles. Please note that these Role names were created by us in MDM. Is it the right procedure or do we have any standard Roles delivered by SAP in MDM to map? If any standard Roles are available, where we need to check these.
Once the Credentials of MDM User is provided, and then selected the "Login" button.
Then we are getting the below error.
"java.lang.IllegalArgumentException: Table with Code 'null' does not exist in the repository 'Repository' or is one of the system table (e.g. Workflows) that is not exposed in repository schema"
Please clarify; we are not configuring any values in iViews. Where we need to do this, I mean name of the iView, and what values do we need provide generally? We are just running the Search UI App application; I don't think it is an iView, because the URL shows the Application name details, etc...
Please guide us, how to fix this Error.
Thanks and Regards,
Munish
Maybe you are looking for
-
How can I create an auto-incrementing ID field for a web app?
I have a web app for a project database. Customers can login and add a new record to the web app. We need it to provide each new project with a unique and sequential number. The BC ID number for each web app item is unique but of course not sequentia
-
After loading the document in Adobe Reder XI and try to print it I get a response of Not Responding
How do I replace a current Adobe XI with a Download?
-
Exporting an Alpha Channel in speedgrade cc
Can I export an alpha channel from speedgrade back to premiere pro cc, for compositing after color correcting my actor? Thanks
-
I have a MacBook Pro 15.4 inch laptop. When I use the HDR function I cannot see the bottom of the window. When I click on the minimize and maximize button it does not show me the bottom of the window. All I see are the top of the images that are b
-
McAfee has blocked 2 banners of Facebbok whilst playing Zynga games on there I do have pics but do not know what to do to put them on here. Can anyone explain why McAfee has done this and how to rectify it. Also how do I put pics on here