Some problem that I don't understand
I have the next program
int i = 0;
int j = 0;
String[] pila = new String[10];
String[] pila1 = new String[10];
cadbase = prog2;
dirmemo = prog3[i];
do {
if (cadbase.equals("MVI B")) {
vpc ++;
vciclos = vciclos + 7;
j = i + 1;
cadena2 = cadbase;
regb.setText(" " + cadena2);
regcy.setText(" 0");
regp.setText(" 1");
regac.setText(" 0");
regz.setText(" 0");
regs.setText(" 0");
else if (cadbase.equals("INR B")) {
vpc ++;
vciclos = vciclos + 4;
b = "00" + regb.getText().trim();
cad = b;
for(int k = 0; k < 65535; k++) {
if(datos[k].equals(cad))
vcad = k;
vcad ++;
cad = Integer.toHexString(vcad).toUpperCase();
if (cad.length() == 1)
cad = "0" + cad;
regb.setText(" " + cad);
regcy.setText(" 0");
regp.setText(" 1");
regac.setText(" 0");
regz.setText(" 0");
regs.setText(" 0");
else (cadbase.equals("HLT")) {
vpc ++;
vciclos = vciclos + 5;
regcy.setText(" 0");
regp.setText(" 1");
regac.setText(" 1");
regz.setText(" 1");
regs.setText(" 0");
i = vpc ++;
//Registro PC
cadpc = enteros[vpc];
regpc.setText(" " + cadpc);
cadciclos = enteros[vciclos];
regnciclos.setText(" " + cadciclos);
} while (!(cadbase.equals("HLT")));
When I compile it, compiler tell me that I miss a ";" after (cadbase.equals("HLT")), so someone can tell what's happen ????
your block has syntax error...
else (cadbase.equals("HLT")) {
vpc ++;
vciclos = vciclos + 5;
regcy.setText(" 0");
regp.setText(" 1");
regac.setText(" 1");
regz.setText(" 1");
regs.setText(" 0");
modify 1st line & it should work fine..
else if (cadbase.equals("HLT")) {
vpc ++;
vciclos = vciclos + 5;
regcy.setText(" 0");
regp.setText(" 1");
regac.setText(" 1");
regz.setText(" 1");
regs.setText(" 0");
kamlesh
Similar Messages
-
Hi, I m using an iPhone 4 and my yahoo push email was working just fine but for the last few days I am experiencing some problem that is the emails are not getting pushed , I have to manually fetch the mails. So what could be the reason for this.....I have set the email setting to "push" mode. Moreover I can't edit the mail server address ....current it's on Yahoo SMTP server
Will it get rectified and restored...if so after how long. What could be the reason for such outage kindly share, as I am facing real problem because of this...
-
What is it with yield() that I don't understand?
The following code starts a thread that awaits a notification that never comes. However, I was expecting the Foo main thread to enter the running state again sometime after it yields and print the last line "main running again", but not so. The program hangs and never execute main's last print statement.
class Task extends Thread {
Foo foo;
Task (Foo syncOnThis) {
foo = syncOnThis;
@Override
public void run () {
synchronized (foo) {
System.out.println("task has the foo lock.");
try {
System.out.println("task about to release lock.");
foo.wait();
} catch (InterruptedException ie) {
System.err.println("task was interrupted.");
System.out.println("task was notified!");
public class Foo {
private synchronized void notifier() {
notifyAll();
System.out.println("foo notified all");
public static void main(String[] args) {
Foo foo = new Foo();
Task alpha = new Task(foo);
alpha.start();
Thread.yield();
try {
Thread.sleep(500);
} catch (InterruptedException ie) {
System.out.println("Foo's sleep interrupted");
System.out.println("main thread running again");
}My understanding of yield() is that it offers to demote the current thread to the runnable state in order to allow other threads - in this case Task - to enter the running state. But once Task calls wait(), it also retreats from the running state and this is where I expect the main thread to become running again.
If I swap yield() with something like
try {
Thread.sleep(500);
} catch (InterruptedException ie) {
System.out.println("Foo's sleep interrupted");
}then it main does actually return to a running state and executes the last statement.
what is it with yield() that I don't understand?krzn wrote:
I see.Do also note that yield seldom is used these days. You most likely have a bug in your implementation or design if you think you need to call yield, or you are executing on a really old VM or on an odd system.
(The first versions of the Solaris VM didn't use round robin so you had to release the execution to avoid starvation.)
Kaj -
HI my mac is low on memory and i want to erase some apps that i don't use in the iTunes media folder that i have already eraed from itunes
how do i erase them without going one by one checking names???There is no way to automatically select the unused apps. But, you can go go through your apps library and hold the command key as you select each app you want to delete to get them all at once.
-
Hi! I'm new to mac so I need for help . Why when I open safari also open some pages that I don't click? What should I do ,get any cleaner ?
Please review the options below to determine which method is best to remove the Adware installed on your computer.
The Easy, safe, effective method:
http://www.adwaremedic.com/index.php
If you are comfortable doing manual file removals use the somewhat more difficult method:
http://support.apple.com/en-us/HT203987
Also read the articles below to be more prepared for the next time there is an issue on your computer.
https://discussions.apple.com/docs/DOC-7471
https://discussions.apple.com/docs/DOC-8071
http://www.thesafemac.com/tech-support-scam-pop-ups/ -
I used Inkscape on Linux before moved to Mac. Now I am trying to install it
using MacPorts, but libpixman has some problems that has been reported out there.
Does any one know how to fix it without the need to use other way than MacPorts?Start with this comprehensive troubleshooting article:
https://discussions.apple.com/docs/DOC-3521
Look at this one for possible solutions:
https://discussions.apple.com/docs/DOC-3353
Ciao. -
Auto debit by Skype that I don't understand how th...
Need help. My credit card has been compromised. Have been charged on my credit card since March 2014. After approaching the my bank, i was asked to cancel my credit card and was replaced with a new card in May. However, in June I was again charged on my new card. I was then told by the bank that it was an auto debit by Skype. I really don't understand how this had happened. How do I get a refund from Skype?
This post was transferred from its previous location on a blog article to create its own new topic here; its subject and/or title has been edited to differentiate the post from other inquiries and to reflect the post's content.I have asked for your email address to be edited out. Post your address in an open thread is a sure way to be bombarded by unwanted email, remember it will be here long after you have resolved your problem, for automated detection software to find.
If you want people to contact you, enable others to see your email address in your profile. -
Java tutorial - helps, problem is i don't understand the API
I don't understand the JAVA Tutorials or the API
Take two steps back.
Buy a book on basic Java Programming. You need to understand the concepts behind programming before you should start reading the API.
But kudos for at least trying to read the API.
Now look at the column on the left, and follow the link called [url http://developer.java.sun.com/developer/onlineTraining/] Tutorials
and then the link titled [url http://java.sun.com/docs/books/tutorial/index.html]The Java Tutorial (Java Series).
And finally read through the sections starting with [url http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html]Your First Cup of Java.
Then once you have been through all of that, come back and ask for clarification
on any specific points that you have trouble understanding.
Finally (Because the Finally always gets executed) Try taking a class in java programming.
regards -
How can I get rid of some applications that I don't want anymore?
How can I get rid of some applications which I don't want anymore?
Hold the app icon until it wiggles then tap the "X"
or
Settings > General > Usage > select the app > Delete App
iOS stock apps can not be removed.
If you do not want them to show up on your devices anymore you can hide the:
iTunes Store: Hiding and unhiding purchases -
How do I talk to some human that can tell me what a charge is for on my i tunes account.
I find a $9.99 Pandora charge that I can not figure out what it is???????????You could simply type "Contact itunes support" into the google search bar. This would give you the link to contact itunes support.
Or you could just click the word Support at the top of this page, then click the link under Contact Apple Support. -
JSF Exception that I don't understand
I have a jsf fragment in a page that causes this exception:
[#|2007-02-14T12:35:43.156+0100|SEVERE|sun-appserver-pe8.2|org.apache.pluto.portalImpl.aggregation.PortletFragment|_ThreadID=14;|Error in Portlet
javax.portlet.PortletException: <not set> is not allowed
at com.sun.faces.portlet.FacesPortlet.storeInitParameter(FacesPortlet.java:388)
at com.sun.faces.portlet.FacesPortlet.render(FacesPortlet.java:311)
at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:205)
at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:145)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at org.apache.pluto.core.PortletServlet.service(PortletServlet.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:120)
at org.apache.pluto.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.java:73)
at org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:105)
at org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.renderPortlet(PortletContainerWrapperImpl.java:70)
at org.apache.pluto.portalImpl.aggregation.PortletFragment.service(PortletFragment.java:168)
at org.apache.jsp.WEB_002dINF.aggregation.ColumnFragment_jsp._jspService(ColumnFragment_jsp.java:66)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.GeneratedMethodAccessor988.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
at org.apache.jsp.WEB_002dINF.aggregation.RowFragment_jsp._jspService(RowFragment_jsp.java:66)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.GeneratedMethodAccessor988.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
at org.apache.jsp.WEB_002dINF.aggregation.PageFragment_jsp._jspService(PageFragment_jsp.java:75)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.GeneratedMethodAccessor988.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
at org.apache.jsp.WEB_002dINF.aggregation.RootFragment_jsp._jspService(RootFragment_jsp.java:159)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.GeneratedMethodAccessor988.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:281)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.GeneratedMethodAccessor988.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
|#]But I really don't understad what can be wrong. Or how can I debug it.
The fragment contains a lot of TextFields (read only) and static texts, everyone having their own style. There's one hidden field. Nothing more.
The values of the texfields and the hiddenfield are set dynamically
I guess that a property of a component is not set, or smtn like that.
The exception happens only when I press a button which returns to the same page (no other action taken).
I am using JSCreator 2.1 with bundled server.I didn't know what was "not set" and where... But as
soon as I posted this message I realized, that "<not
set>" is Creator's way to say that something is NOT
SET. So I searched through the sourcecodes and found
out, that for some reason, there is a value "<not
set>" in the style property of one of the
statictexts.
background-image: url(<Not Set>);I suppose this is a bug in Creator, isn't it?Can say for sure, as I've never worked with that.. glad you find what the problem was.
MeTitus -
Deployment problems that I don't know how to fix or trace - Please Help
I have made a javafx application in netbeans where I import classes from the java library (specifically ones from java.io for writing/readning files). The program works great in the IDE, reading and writing files, but when I build it and run the .jnlp, It does not write any files or do anything that requires any of the imported functions. I have been trying for a few weeks now and have had no luck. The same thing happens when I create a brand new javafx desktop application and try to make it write a simple text file.
My questions are these:
1. Does someone know if I'm missing something? I tried checking the box that makes it a self signed jar and pack200 compression, no luck. This program is for running locally on the user's machine.
2. I do not no how to check for exception traces the application may have thrown. I am using Mac OSX 10.6.6, and the latest Java and Netbeans. Can someone help me with this?
My deadline is coming up and I don't want to rewrite the whole thing using something else. I was pleased with this javafx application until now. Please Help
here is my test .fx file
package savetest;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.File;
import java.io.IOException;
import javax.swing.JFileChooser;
public class Main {
// <Generated Code by netbeans (unaltered or edited for this test)>
function writeData(source : java.net.URI) {
var output: BufferedWriter;
try {
def text = "Test Data";
def file = new File(source);
output = new BufferedWriter(new FileWriter(file));
output.write(text);
output.flush();
output.close();
} catch (e: IOException) {
e.printStackTrace();
function run (): Void {
var design = Main {};
var fileChooser : JFileChooser = new JFileChooser;
var goalURI : java.net.URI;
javafx.stage.Stage {
title: "Main"
scene: design.getDesignScene ()
if (fileChooser.APPROVE_OPTION == fileChooser.showSaveDialog(null)) {
goalURI = fileChooser.getSelectedFile().toURI();
writeData(goalURI);
}Hello user,
You can see the traces of your application from java console which will automatically appears when your application is running on browser. In MAC OSX the java console icon appears at top right bottom (tray icon) and you can view the console from their.
Please trace the exception what you have got so that we could find the real problem.
Thanks,
narayan -
Error Message that i don't understand please help
Hi,
Please can you help me out to figure out what this error message means. I'm novice to mac os x world and i dont know much, my computer gets freezing every now and then, and will shutdown itself. Please find below error message and please if you have time to look at it and just explain to me what do i need to do, or where is the problem with it.
Thanks in advance
Interval Since Last Panic Report: 252477 sec
Panics Since Last Report: 2
Anonymous UUID: 1F56D626-1B8C-4DA0-BC7B-298FB99E2715
Wed Feb 16 11:38:52 2011
Machine-check capabilities (cpu 0) 0x0000000000000806:
family: 6 model: 15 stepping: 6 microcode: 199
Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
6 error-reporting banks
threshold-based error status present
Machine-check status 0x0000000000000004:
machine-check in progress
MCA error-reporting registers:
IA32MC0STATUS(0x401): 0xb200004000000800 valid
MCA error code: 0x0800
Model specific error code: 0x0000
Other information: 0x00000040
Threshold-based status: No tracking
Status bits:
Processor context corrupt
Error enabled
Uncorrected error
IA32MC1STATUS(0x405): 0x0000000000000000 invalid
IA32MC2STATUS(0x409): 0x0000000000000000 invalid
IA32MC3STATUS(0x40d): 0x0020000000000000 invalid
IA32MC4STATUS(0x411): 0xd000000000020151 valid
MCA error code: 0x0151
Model specific error code: 0x0002
Other information: 0x00000000
Threshold-based status: No tracking
Status bits:
Error enabled
Error overflow
IA32MC5STATUS(0x415): 0xb200121014040400 valid
MCA error code: 0x0400
Model specific error code: 0x1404
Other information: 0x00001210
Threshold-based status: No tracking
Status bits:
Processor context corrupt
Error enabled
Uncorrected error
panic(cpu 0 caller 0x2a9d27): Machine Check at 0x17e960cc, thread:0x5e7fb7c, trapno:0x12, err:0x0,registers:
CR0: 0x80010033, CR2: 0x17e97000, CR3: 0x00100000, CR4: 0x00000660
EAX: 0x0000006d, EBX: 0xb073ad14, ECX: 0x1d52c034, EDX: 0x00000002
ESP: 0xb073ad14, EBP: 0xb073ad2c, ESI: 0x1d52c1bc, EDI: 0x22e0dd60
EFL: 0x00010206, EIP: 0x17e960cc
Backtrace (CPU 0), Frame : Return Address (4 potential args on stack)
0x819e18 : 0x21b50c (0x5d4438 0x819e4c 0x223974 0x0)
0x819e68 : 0x2a9d27 (0x595f04 0x595ff1 0x17e960cc 0x5e7fb7c)
0x819f58 : 0x2a1912 (0x1 0x0 0x0 0x0)
BSD process name corresponding to current thread: WebKitPluginHost
Mac OS version:
10J567
Kernel version:
Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386
System model name: MacBook2,1 (Mac-F4208CA9)
System uptime in nanoseconds: 602770527130
unloaded kexts:
(none)
loaded kexts:
com.apple.filesystems.autofs 2.1.0 - last loaded 366723211188
com.apple.driver.AppleTyMCEDriver 1.0.2d2
com.apple.driver.InternalModemSupport 2.6.2
com.apple.driver.AudioAUUC 1.13
com.apple.driver.AppleIntelYonahProfile 14
com.apple.driver.AppleIntelPenrynProfile 17
com.apple.DontSteal_Mac_OSX 7.0.0
com.apple.driver.AppleUpstreamUserClient 3.4.5
com.apple.driver.AppleIntelNehalemProfile 11
com.apple.driver.AudioIPCDriver 1.1.6
com.apple.driver.AppleHDA 1.9.9f12
com.apple.driver.AppleMCCSControl 1.0.17
com.apple.driver.AppleIntelGMA950 6.2.6
com.apple.driver.AirPort.Atheros 411.19.4
com.apple.driver.AppleGraphicsControl 2.8.68
com.apple.driver.SMCMotionSensor 3.0.0d4
com.apple.iokit.AppleYukon2 3.2.1b1
com.apple.driver.AppleIntelMeromProfile 19
com.apple.driver.ACPISMCPlatformPlugin 4.5.0d5
com.apple.driver.AirPort.Atheros21 424.14.5
com.apple.driver.AppleLPC 1.4.12
com.apple.driver.AppleBacklight 170.0.34
com.apple.driver.AppleIntelIntegratedFramebuffer 6.2.6
com.apple.driver.CSRHIDTransitionDriver 2.3.8f7
com.apple.driver.AppleIRController 303.8
com.apple.driver.AppleUSBTrackpad 200.3.2
com.apple.driver.AppleUSBTCKeyEventDriver 200.3.2
com.apple.driver.AppleUSBTCKeyboard 200.3.2
com.apple.driver.USBCameraFirmwareLoader 1.1.0
com.apple.iokit.SCSITaskUserClient 2.6.5
com.apple.iokit.IOAHCIBlockStorage 1.6.3
com.apple.BootCache 31
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.driver.AppleUSBHub 4.1.7
com.apple.driver.AppleAHCIPort 2.1.5
com.apple.driver.AppleEFINVRAM 1.4.0
com.apple.driver.AppleUSBEHCI 4.1.7
com.apple.driver.AppleIntelPIIXATA 2.5.1
com.apple.driver.AppleFWOHCI 4.7.1
com.apple.driver.AppleUSBUHCI 4.1.5
com.apple.driver.AppleRTC 1.3.1
com.apple.driver.AppleHPET 1.5
com.apple.driver.AppleSmartBatteryManager 160.0.0
com.apple.driver.AppleACPIButtons 1.3.5
com.apple.driver.AppleSMBIOS 1.6
com.apple.driver.AppleACPIEC 1.3.5
com.apple.driver.AppleAPIC 1.4
com.apple.driver.AppleIntelCPUPowerManagementClient 105.13.0
com.apple.security.sandbox 1
com.apple.security.quarantine 0
com.apple.nke.applicationfirewall 2.1.11
com.apple.driver.AppleIntelCPUPowerManagement 105.13.0
com.apple.driver.AppleProfileReadCounterAction 17
com.apple.driver.AppleProfileTimestampAction 10
com.apple.driver.AppleProfileThreadInfoAction 14
com.apple.driver.AppleProfileRegisterStateAction 10
com.apple.driver.AppleProfileKEventAction 10
com.apple.driver.AppleProfileCallstackAction 20
com.apple.iokit.IOSurface 74.2
com.apple.iokit.IOBluetoothSerialManager 2.3.8f7
com.apple.iokit.IOSerialFamily 10.0.3
com.apple.driver.AppleHDAPlatformDriver 1.9.9f12
com.apple.driver.AppleHDAHardwareConfigDriver 1.9.9f12
com.apple.driver.DspFuncLib 1.9.9f12
com.apple.iokit.IOAudioFamily 1.8.0fc1
com.apple.kext.OSvKernDSPLib 1.3
com.apple.iokit.IOFireWireIP 2.0.3
com.apple.iokit.AppleProfileFamily 41
com.apple.driver.AppleSMC 3.1.0d3
com.apple.driver.IOPlatformPluginFamily 4.5.0d5
com.apple.driver.AppleHDAController 1.9.9f12
com.apple.iokit.IOHDAFamily 1.9.9f12
com.apple.iokit.IO80211Family 312
com.apple.iokit.IONetworkingFamily 1.10
com.apple.iokit.IONDRVSupport 2.2
com.apple.iokit.IOGraphicsFamily 2.2
com.apple.driver.CSRUSBBluetoothHCIController 2.3.8f7
com.apple.driver.AppleUSBBluetoothHCIController 2.3.8f7
com.apple.iokit.IOBluetoothFamily 2.3.8f7
com.apple.driver.AppleUSBMergeNub 4.1.5
com.apple.iokit.IOUSBHIDDriver 4.1.5
com.apple.driver.AppleUSBComposite 3.9.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.6.5
com.apple.iokit.IOBDStorageFamily 1.6
com.apple.iokit.IODVDStorageFamily 1.6
com.apple.iokit.IOCDStorageFamily 1.6
com.apple.driver.XsanFilter 402.1
com.apple.iokit.IOATAPIProtocolTransport 2.5.1
com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.5
com.apple.driver.AppleFileSystemDriver 2.0
com.apple.iokit.IOUSBUserClient 4.1.5
com.apple.iokit.IOAHCIFamily 2.0.4
com.apple.driver.AppleEFIRuntime 1.4.0
com.apple.iokit.IOATAFamily 2.5.1
com.apple.iokit.IOFireWireFamily 4.2.6
com.apple.iokit.IOUSBFamily 4.1.7
com.apple.iokit.IOHIDFamily 1.6.5
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.TMSafetyNet 6
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.DiskImages 289
com.apple.iokit.IOStorageFamily 1.6.2
com.apple.driver.AppleACPIPlatform 1.3.5
com.apple.iokit.IOPCIFamily 2.6
com.apple.iokit.IOACPIFamily 1.3.0
Model: MacBook2,1, BootROM MB21.00A5.B07, 2 processors, Intel Core 2 Duo, 2 GHz, 2 GB, SMC 1.13f3
Graphics: Intel GMA 950, GMA 950, Built-In, spdisplaysintegratedvram
Memory Module: global_name
AirPort: AirPort Extreme, Atheros 5416: 2.1.14.5
Bluetooth: Version 2.3.8f7, 2 service, 19 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: WDC WD1600BEVT-22A23T0, 149.05 GB
Parallel ATA Device: HL-DT-ST DVDRW GSA-S10N6
USB Device: Built-in iSight, 0x05ac (Apple Inc.), 0x8501, 0xfd400000
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac (Apple Inc.), 0x021b, 0x1d200000
USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8240, 0x5d200000
USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8205, 0x7d100000Welcome to Discussions, proartpro
You have encountered a "kernel panic".
Start here for help resolving your kernel panic: http://www.thexlab.com/faqs/kernelpanics.html
Don't be concerned that it refers to OS X 10.5. The suggestions also apply to your 10.6.x Mac.
If you want more info, the following will give you as much as you want:
• Another KP help site: http://www.index-site.com/kernelpanic.html
• Apple's KP knowledge base article: http://support.apple.com/kb/HT1392
• Apple's 10.6 help article: http://docs.info.apple.com/article.html?path=Mac/10.6/en/8965.html
• In-depth KP info: http://developer.apple.com/mac/library/technotes/tn2002/tn2063.html
EZ Jim
Mac Pro Quad Core (Early 2009) 2.93Ghz Mac OS X (10.6.6); MacBook Pro (13 inch, Mid 2009) 2.26GHz (10.6.6)
LED Cinema Display; G4 PowerBook 1.67GHz (10.4.11); iBookSE 366MHz (10.3.9); External iSight; iPod4touch4.2.1 -
ERROR ORA-03113 that I don't understand
When I try to change the code of a dynamic page, or even to create a synonym or any database object, portal30.wwv_builder procedure don't execute an a page with the message :
Mon, 23 Apr 2001 10:15:59 GMT
ORA-03113: fin de fichier sur canal de communication
DAD name: portal30
PROCEDURE : PORTAL30.wwv_builder.show
URL : http://demo:80/pls/portal30/PORTAL30.wwv_builder.show?p_module_id=1802612552&p_version=1&p_section=1&p_save_version=1&p_mode=CREATE
PARAMETERS :
============
p_module_id:
1802612552
p_version:
1
p_section:
1
p_save_version:
1
p_mode:
CREATE
is displayed ???
nulljean-robert,
The ORA-3113 error usually means that an internal Oracle Server error has occured on the server side and client process has been disconnected from the server, it should be some kind of ORA-600 error. When this happens a trace file is generated on the server side. Please try to locate the trace files in DB /admin/udump directory and alert.log file and please post the error numbers here.
Thanks,
Dmitry -
Again something that I don't understand to the fullest. (Port Fowarding)
I'm trying to port forward to make a Minecraft server. The port is 25565, and here's a tutorial for it. http://www.youtube.com/watch?v=8nFl6r3XpwM I've watched the tutorial and my format when I go to port forwarding looks NOTHING like that. It brings up a couple problems, in which I don't know how to explain. I originally posted, then I got rid of it because I thought I fixed it but I realize that that method doesn't work. Any help? Thanks.
Solved!
Go to Solution.Try the Simple portforwarding tool.
It's a free download. and it's completely automated. Or they have a walk through
If not and you feel adventurous - you can check these two current video's from actiontec.
How to enable BASIC Port Forwarding on the MI424WR Verizon FiOS Router
How to Configure Advanced Port Forwarding on the MI424WR Verizon FiOS Router
the only trick or advice that I have is that the Source port - make sure to leave that, as ANY and then the only place you put then number is for your destination port.
Maybe you are looking for
-
Adobe acrobat X pro installation takes up over 6gb of space
Hi! I'm not really an acrobat expert. I mainly use premiere, after effects and photoshop. I mostly use acrobat to read academic articles in pdf format and I make notes to those articles with underlining etc. I have used acrobat to open hundreds of pd
-
Using Iwork 09 I have spent several hours setting up a mail merge from a spread sheet in Numbers to create receipts for my customers from a Pages template. After the merge I am left with one long Pages document that will not save as separate files; o
-
Please introduce the best way to create education in share point
Hi I want to use chm in share point. but i suppose that there are better ways for training because i think chm is suit for software that are windows-based not web based. please introduce the best way to create education in share point thanks
-
Dear Friends , I would like to learn and Practice the Scnarios ,where we can use the following in detail and with better examples Exceptions and Conditions formulas and Variables in Bex Explorer. I have still sofar practiced with basic examples usin
-
I ordered Tunebite 12 SKU#1050017208 @BB online via digital download. In 10 minutes I received confirmation to download the product. I was directed to download site. The product displayed was Moviebox 12 SKU#1050017208. which is the same number as th