Obfuscation error

Hi,
When i set obfuscation level off or high, i build successfully.
But when i set obfuscation level from 1 to 8, i build fail.
I want to set obfuscation level about 5-6 for an j2me midlet.
Netbeans 6.5 show error information when obfuscation fail:
Unexpected error while computing stack sizes:
Class = [org/netbeans/microedition/lcdui/TableItem]
Method = [paint(Ljavax/microedition/lcdui/Graphics;II)V]
Exception = [java.lang.IllegalArgumentException] (Stack size becomes negative after instruction [126] ificmpge +6 (target=132) in [org/netbeans/microedition/lcdui/TableItem.paint(Ljavax/microedition/lcdui/Graphics;II)V])
Error: Stack size becomes negative after instruction [126] ificmpge +6 (target=132) in [org/netbeans/microedition/lcdui/TableItem.paint(Ljavax/microedition/lcdui/Graphics;II)V]
Plz let me why and how to solve this trouble.
Thanks and regards.

    private boolean paintValues(Graphics g, int width, int y){
        boolean rightmostColumnFullyVisible = true;
        g.setColor(getColorSchema().getColor(Display.COLOR_FOREGROUND));
        g.setFont(getValuesFont());
        for (int i=0; (i < model.getRowCount()); i++) {
            int x = BORDER_LINE_WIDTH + CELL_PADDING;
            int gy = y + CELL_PADDING + BORDER_LINE_WIDTH; // actual y used to be draw the text (icludes padding)
            for (int j=viewCellX; j < model.getColumnCount(); j++) {
                viewCellX2 = j;
                Object value = model.getValue(j,i);
                if (value != null) {
                    if ( cursorOn && (j==cursorCellX) && (i == cursorCellY)) {
                        g.setColor(getColorSchema().getColor(Display.COLOR_HIGHLIGHTED_FOREGROUND));
                        g.drawString(value.toString(), x, gy, Graphics.TOP | Graphics.LEFT);
                        g.setColor(getColorSchema().getColor(Display.COLOR_FOREGROUND));
                    } else {
                        g.drawString(value.toString(), x, gy, Graphics.TOP | Graphics.LEFT);
                x += colWidths[j] + BORDER_LINE_WIDTH;
                if (x > width) {
                    rightmostColumnFullyVisible = false;
                    break;
            y += defaultCellHeight + BORDER_LINE_WIDTH;
        return rightmostColumnFullyVisible;
    private int paintBorders(Graphics g, int titleHeight, int headersHeight, boolean rightmostColumnFullyVisible, int paintWidth, int width){
         int actualTableWidth = paintWidth;
         g.setColor(getColorSchema().getColor(Display.COLOR_BORDER));
         int currentStrokeStyle = g.getStrokeStyle();
         g.setStrokeStyle(display.getBorderStyle(false));
         int y = titleHeight;
         int totalTableHeight = tableRows * (defaultCellHeight + BORDER_LINE_WIDTH) + titleHeight; // total totalTableHeight
         if (usingHeaders) {
             totalTableHeight += headersHeight + BORDER_LINE_WIDTH; // add it to total table height
         // vertical lines
         int x = 0;
         for (int i = viewCellX; (i < tableCols) && (x < width); i++) {
             x += colWidths[i] + BORDER_LINE_WIDTH;
             g.drawLine(x, titleHeight, x, totalTableHeight);
             actualTableWidth = x; // getting value of the leftmost table line - out actualTableWidth
         if ((titleHeight > 0) && rightmostColumnFullyVisible) {
             g.drawLine(x, 0, x, titleHeight);
         // horizontal lines
         // first line on the top
         g.drawLine(0, 0, actualTableWidth, 0);
         // draw header line
         if (usingHeaders) {
             g.drawLine(0, y, actualTableWidth, y);
             y += headersHeight + BORDER_LINE_WIDTH;
         // draw value lines
         for (int i = 0; (i <= tableRows) && (y <= totalTableHeight); i++, y += defaultCellHeight+BORDER_LINE_WIDTH) {
             g.drawLine(0, y, actualTableWidth, y);
         // draw the remaining left and right line
         g.drawLine(0, 0,  0, totalTableHeight);     
         g.setStrokeStyle(currentStrokeStyle);
         return actualTableWidth;
    private void paintTitle(Graphics g, int titleHeight, boolean rightmostColumnFullyVisible, int actualTableWidth){
        g.setColor(getColorSchema().getColor(Display.COLOR_FOREGROUND));
        g.setFont(titleFont);
        // first is table title
        g.drawString(title, actualTableWidth/2, BORDER_LINE_WIDTH + CELL_PADDING, Graphics.TOP | Graphics.HCENTER);
        int half = titleHeight / 2;
        if (viewCellX > 0) {
            // draw triangle on the left
            g.drawLine(2, half, 5, half - 2);
            g.drawLine(2, half, 5, half + 2);
        if (! rightmostColumnFullyVisible) {
            // draw triangle on the right
            int rx = actualTableWidth - 2;
            g.drawLine(rx, half, rx - 3, half - 2);
            g.drawLine(rx, half, rx - 3, half + 2);
    }

Similar Messages

  • Obfuscation Error: C:\Documents (The system cannot find the file specified)

    Hi,
    I want to obfuscate my jar file. for this purpose i followed the steps below.
    1. Copied proguard.jar in C:\WTK2.5.2\bin
    2. Now opened the file ktoolbar.vm , which is present in C:\WTK2.5.2\bin
    my ktoolbar.vm looks like this
    {color:#666699}C:\PROGRA~1\Java\JDK16~1.0_0\bin\java -Dkvem.home="%KVEM_HOME%" -Djava.library.path="%KVEM_HOME%/bin" -Dsun.java2d.ddlock=true -Dsun.java2d.gdiblit=false -cp "%KVEM_HOME%/wtklib/kenv.zip";"%KVEM_HOME%/wtklib/ktools.zip";"%KVEM_HOME%/bin/JadTool.jar";"%KVEM_HOME%/bin/MEKeyTool.jar";"%KVEM_HOME%/wtklib/customjmf.jar";"%KVEM_HOME%/lib/j2me-ws.jar";"%KVEM_HOME%/lib/j2me-xmlrpc.jar";"%KVEM_HOME%/bin/schema2beansdev.jar";"%KVEM_HOME%/bin/j2me_sg_ri.jar";"%KVEM_HOME%/bin/jaxrpc-impl.jar";"%KVEM_HOME%/bin/jaxrpc-api.jar";"%KVEM_HOME%/bin/jaxrpc-spi.jar";"%KVEM_HOME%/bin/activation.jar";"%KVEM_HOME%/bin/mail.jar";"%KVEM_HOME%/bin/saaj-api.jar";"%KVEM_HOME%/bin/saaj-impl.jar";"%KVEM_HOME%/bin/xsdlib.jar";"%KVEM_HOME%/wtklib/nist-sip-1.2.jar";"%KVEM_HOME%/wtklib/JainSipApi1.1.jar";"%KVEM_HOME%/wtklib/jain-sip-presence-proxy.jar" com.sun.kvem.toolbar.Main{color}
    3. my project or my workspace is at location D:\workspace\WTK
    4. Also my wtk is located at C:\WTK2.5.2
    5 Now i renamed ktoolbar.vm to ktoolbar.bat and the edited the file then added 2 lines at the beginning of ktoolbar.bat
    SET USER_HOME=D:\workspace\WTK
    SET KVEM_HOME=C:\WTK2.5.2
    6 Also i added -Duser.home=%USER_HOME% in the next line.
    7 Now my ktoolbar.bat looks like this.
    {color:#800080}SET USER_HOME=D:\workspace\WTK SET KVEM_HOME=C:\WTK2.5.2 C:\PROGRA~1\Java\JDK16~1.0_0\bin\java -Dkvem.home="%KVEM_HOME%" -Duser.home=%USER_HOME% -Djava.library.path="%KVEM_HOME%/bin" -Dsun.java2d.ddlock=true -Dsun.java2d.gdiblit=false -cp "%KVEM_HOME%/wtklib/kenv.zip";"%KVEM_HOME%/wtklib/ktools.zip";"%KVEM_HOME%/bin/JadTool.jar";"%KVEM_HOME%/bin/MEKeyTool.jar";"%KVEM_HOME%/wtklib/customjmf.jar";"%KVEM_HOME%/lib/j2me-ws.jar";"%KVEM_HOME%/lib/j2me-xmlrpc.jar";"%KVEM_HOME%/bin/schema2beansdev.jar";"%KVEM_HOME%/bin/j2me_sg_ri.jar";"%KVEM_HOME%/bin/jaxrpc-impl.jar";"%KVEM_HOME%/bin/jaxrpc-api.jar";"%KVEM_HOME%/bin/jaxrpc-spi.jar";"%KVEM_HOME%/bin/activation.jar";"%KVEM_HOME%/bin/mail.jar";"%KVEM_HOME%/bin/saaj-api.jar";"%KVEM_HOME%/bin/saaj-impl.jar";"%KVEM_HOME%/bin/xsdlib.jar";"%KVEM_HOME%/wtklib/nist-sip-1.2.jar";"%KVEM_HOME%/wtklib/JainSipApi1.1.jar";"%KVEM_HOME%/wtklib/jain-sip-presence-proxy.jar" com.sun.kvem.toolbar.Main{color}
    8 Now i opened the command promt and i executed the bat file.
    9 Now when i try to open the WTK toolkit it gives me the following error
    Fatal error : File: C:\WTK.2.5.2\bin\ktoolbar.vm does not exist
    Please help me to resolve this issue or suggest me some different way.
    Also i would like to tell that my project is completely build using netbeans 6.5 . but when i try to make the obfuscation level high using the scroll that is provided by netbeans , it gives me following error.
    {color:#ff0000}C:\Documents and Settings\SShete\My Documents\NetBeansProjects\vtms_test_lwuit_Backup\nbproject\build-impl.xml:459: Error while expanding C:\Documents and Settings\SShete\My Documents\NetBeansProjects\vtms_test_lwuit_Backup\build\obfuscated.jar
    java.io.FileNotFoundException: C:\Documents and Settings\SShete\My Documents\NetBeansProjects\vtms_test_lwuit_Backup\build\obfuscated.jar (The system cannot find the file specified)
    BUILD FAILED (total time: 8 seconds){color}
    Also i dont know what changes are to be done to the build.xml so that obfuscation can be done .
    Thats the reason why i am now opening the same project using wtk and trying to obfuscate it.

    hi....
    i have tried another way out ,
    i followed the procedure below
    In order to integrate this plug-in in the toolkit, you'll have to put the following lines in the file {j2mewtk.dir}/wtklib/Linux/ktools.properties or {j2mewtk.dir}\wtklib\Windows\ktools.properties (whichever is applicable).
    obfuscator.runner.class.name: proguard.wtk.ProGuardObfuscator
    obfuscator.runner.classpath: /usr/local/java/proguard/lib/proguard.jar
    Please make sure the class path is set correctly for your system.
    Once ProGuard has been set up, you can apply it to your projects as part of the build process. The build process is started from the WTK menu bar:
    Project -> Package -> Create Obfuscated Package
    The Toolkit obfuscates other sample projects
    However now my project gets build without errors , but when i try to create a obfuscated package it gives me the following error
    Error preverifying class bc
    VERIFIER ERROR bc.a(Z)Lhx;:
    Incompatible object argument for invokespecial
    com.sun.kvem.ktools.ExecutionException: Preverifier returned 1
    Build failed
    Please help..

  • Obfuscation error (The system cannot find the file specified)...

    Hii....friends
    I extracted proguard.jar file in C:\WTK2.5.2\bin\ directory
    I edited the following enteries in ktools.properties file as following....
    obfuscator.runner.class.name: com.sun.kvem.ktools.RunPro
    obfuscator.runner.classpath: C:\WTK2.5.2\bin\proguard.jar
    when I create Obfuscated package Error is occured.
    Error: C:\Documents (The system cannot find the file specified)
    Obfuscation failed.
    Build failed
    Please help this is very essential for me...my application is incompleted.

    I had the same problem)))
    My WTK:
    C:\Program Files\Java\SonyEricsson_SDK\WTK2My project:
    C:\Program Files\Java\SonyEricsson_SDK\WTK2\apps\myprojectMy error:
    Error: C:\Program (The system cannot find the file specified)
    Obfuscation failed.
    Build failedMy solution:
    1) Find and open ktoolbar.BAT
    2) Replace(Ctrl+H in notepad) all "Program Files" to "PROGRA~1"
    Edited by: k06a on Aug 24, 2009 12:16 AM

  • Obfuscation error using ANT

    Hello ,
    While Obfuscating the build.xml file with ANT build m getting the below error .
    Please help me to solve the problem..
    j2mepolish:
    [j2mepolish] info: the license attribute is no longer supported. Please place your license.key file either to ${project.home} or to ${polish.home}.
    [j2mepolish] J2ME Polish 2.0-RC4 (GPL License)
    [j2mepolish] Loading device database...
    [j2mepolish] Using locale [de_DE]...
    [j2mepolish] assembling resources for device [Generic/DefaultColorPhone].
    [j2mepolish] preprocessing for device [Generic/DefaultColorPhone].
    [j2mepolish] Warning: CSS style [title] not found, you should define it for designing the titles of screens.
    [j2mepolish] compiling for device [Generic/DefaultColorPhone].
    [j2mepolish-javac-Generic/DefaultColorPhone] Compiling 114 source files to C:\JCPolish\build\real\Generic\DefaultColorPhone\de_DE\classes
    [j2mepolish] obfuscating for device [Generic/DefaultColorPhone].
    BUILD FAILED
    java.lang.NoClassDefFoundError: de/enough/polish/util/OrderedMultipleEntriesMap
    Total time: 13 seconds Thanks in advance.

    I had the same problem using j2mepolish 2.0.4 and eclipse with mepose plugin. This error comes when obfuscating with proguard. Without obfuscation it works just fine. After a lot of work I got it to compile however.
    It seems that the 2.0.4 version installer package with option to install mepose is not working or then the current version of mepose is not compatible with j2mepolish 2.0.4.
    The solution is not to install mepose. I had it installed already so I uninstalled everything including eclipse, wtk, and j2mepolish. When reinstalling I didn't check the option to install mepose in the j2mepolish installer. And it worked!
    It seems that the mepose plugin installs an earlier version (2.0?) of enough-j2mepolish-build.jar that doesn't have OrderedMultipleEntriesMap class.
    I hope this helps...

  • Retroguard  obfuscator error - please help...

    Hi!
    I'm struggling quite hard to get the MathFP package to work, I get an application errror because it won't verify my class.
    So i try to obfuscate the files, because that's somehow supposed to make it work. I get the error: "xxx.jar not obfuscatable".
    I use Jbuilder 8 with MobileSet and the wizard is doing more or less everything for me. I have to choose which packages to obfuscate or I can choose to use a script file saying which files to preserve.
    It gives the same error as above no mather what I do, except if i choose to not obfuscate. Then I get the emulator error instead....
    Bj�rn Einar
    Frustrated...

    I tried that now, if I understood what you meant... What I did was:
    - Unzip midpapi.zip, copy file with the directory structure net/jscience/math/MathFP to the root of the midpapi-archive, then zip it all back again.
    The emptyapi.zip is the one from the JBuilder8 MobileSet, and I believe it should be OK.
    I'm not 100% sure of the settings to use, I tried to remove all the classes from the "Classes to preserve" - "Use the classes below" and i tried to add all the classes in my project in the same project.
    The only way I can get it right is when I choose not to obfuscate the project..
    I really appreciate your help - this problem is really annoying!!!
    The code should work - in fact everything should - but it isn't. Hey, I guess that's how it is with computers ...
    Thanks for the help so far.
    Bj�rn Einar

  • Help with DNS setup for LAN only

    I have a Mac Mini SNS 10.6.8 as our company's local standalone fileserver.
    Everything has ran great for the past year (still is), but now I want to try and setup DNS for more control and services.
    The server host name is servername (no FQDN), which shows up in Server Admin as servername.local.
    I read and followed Hoffman Labs great step-by-step, but must have missed something, since I still cannot get DNS resolution.
    Here is a brief summary of the Server Admin settings:
              Host Name                    servername
              Host (Server) IP          192.168.4.2
              Router IP (also default public DNS IP) 192.168.4.1
              Bonjour                    Wide Area  =  Not enabled
              Settings                    Accept recursive queries  =  localnets
              Settings                    Forwarder IPs  =  8.8.8.8  &  8.8.4.4  (Google Public DNS)
    now...          Zones                              1 Primary Zone  =  companyname.net (we own the domain)
                                            Primary Zone Name  =  companyname.net
                                            Nameserver Zone  =  companyname.net
                                            Nameserver Host Name  =  servername.companyname.net
                                            2 A Records:
                                            servername          192.168.4.2
                                            user1                    192.168.4.3
                                            Reverse mapping - automatic - OK
    Testing          Ran sudo changeip -checkhostname
                        Results:
                                  Primary address          =          192.168.4.2
                                  Current hostname          =          servername
                                  The DNS hostname is not available. Please repair DNS and re-run this tool.
    I must be doing something wrong, but I don't know what it is.  Please help.

    Did you intend to have both "example.com" and "example.net" listed there?  Are those domains really different?  I'm going to assume that was an obfuscation error.  (This is part of the "fun" of obfuscation, unfortunately.  Of having to differentiate errors in the actual configuration from errors that were introduced during the obfuscation.)
    >Oddly, even though I had manually assigned our Comcast gateway's DNS to Google DNS IPs, the gateway summary still shows up as Comcast's DNS server IPs.  So I removed the manually assigned Google DNS IPs from the gateway.
    The gateway (or whatever you're using as your DHCP server) should be configured with the DNS server address of 192.168.4.2.  All other hosts on your network (if you're planning to use your local DNS everywhere on your LAN) should also reference 192.168.4.2, either through an explicit static configuration, or as the address that was received from the DHCP server.
    And as for IP routing, are all your hosts, network printers, network gateways, DHCP servers, etc., all in the range of 192.168.4.1 to 192.168.4.254?  (They should be, if you're using a /24-class 255.255.255.0 subnet mask.)
    But then I don't know where this configuration has gone off the rails...  (Over the years, I've seen and have made my own configuration errors, I've been "bagged" by DNS caches, and I've hit various bugs in DNS implementations.)  What you have stated here should work.
    I'd start at the top of the DNS configuration article, and not stray from what is written there.   That there has been Google DNS and have had ISP DNS configured at the gateway does mean there were some areas that have strayed from the article.   I'd suggest following the DNS server configuration directions exactly.
    Setting up DNS services with OS X Server isn't difficult, but it can be a little fussy. 
    If you don't understand something that's written in that article -- or if you believe you need to enter something different than what's listed there -- then please stop and ask about it.  Either ask here, or ask over there.  (This feedback also helps improve that article.)
    Straying from what's written in that article is certainly and entirely feasible, but that's something best left until after the adminstrator is more familiar with running a DNS server.  Once you know how and why and where you can stray, there are all sorts of things you can do within a DNS configuration.

  • Use J2ME APIs in J2SE, or vice versa?

    Is it possible to use J2SE APIs in a J2ME MIDlet, or vice versa? Or workarounds?
    The reason why I am even doing this is that I have a study project to make work a communication gateway between 2 systems. And 1 of them provides APIs in J2SE and 1 in J2ME.
    I tried serveral ways.
    1. In a J2ME MIDP 1.0 MIDlet, when calling the APIs provided in J2SE, I get :
    ALERT : Bad method signature
    2. In a J2ME MIDP 2.0 MIDlet, when calling the APIs provided in J2SE, I get :
    a. Before obfuscating:
    java.lang.NoclassDefFoundError:java/net/UnknownHostException:Cannot create class in system package
    at Canvas.<init>(+18)
    at MIDlet.startApp(+15)
    b. After obfuscating:
    Error verifying method MIDlet startApp()V
    Method...
    3. In a J2SE program, when calling J2ME APIs like
    javax.microedition.io.Connector.open(url);
    I get the
    java.lang.UnsatisfiedLinkError
    (see below for more details)
    Any help would be appreciated...
    Wen
    3. Details of java.lang.UnsatisfiedLinkError
    Exception in thread "main"
    java.lang.UnsatisfiedLinkError: getProperty0
    at
    com.sun.midp.Configuration.getProperty0(Native
    Method)
    at
    com.sun.midp.Configuration.getProperty(C:/tmp_java/build_WTK/j2me_mid
    p/src/share/classes/com/sun/midp/Configuration.java:34)
    at
    com.sun.midp.io.InternalConnector.<clinit>(C:/tmp_java/build_WTK/j2me
    _wtk/midp/src/lime/classes/com/sun/midp/io/InternalConnector.java:91)
    at
    javax.microedition.io.Connector.open(C:/tmp_java/build_WTK/j2me_midp/
    src/share/classes/javax/microedition/io/Connector.java:158)
    at
    javax.microedition.io.Connector.open(C:/tmp_java/build_WTK/j2me_midp/
    src/share/classes/javax/microedition/io/Connector.java:138)
    at
    javax.microedition.io.Connector.open(C:/tmp_java/build_WTK/j2me_midp/
    src/share/classes/javax/microedition/io/Connector.java:120)
    at
    terraplay.networking.SendReceiveHTTPDefault.openUrl(SendReceiveHTTPDe
    fault.java:40)
    at
    terraplay.networking.AsyncCommunicationHandler.setup(AsyncCommunicati
    onHandler.java:44)
    at Tgateway12.main(Tgateway12.java:45)

    "J2ME" is strictly speaking not defining any API. It is divided in configurations and profiles like CLDC and MIDP and so called "optional packages" like the WebService-API. All of those might have some classes in common with J2SE but definitely not all. So there might be some overlapping but it's not necessary and I wouldn't know of any configuration or profile being a true subset of j2me. CLDC / MIDP for example define a package javax.microedition that is not part of J2SE

  • Error In Obfuscating with Proguard in KToolbar

    Hi...
    I'm using Proguard 4.2 with my Ktoolbar and even tried this with Proguard 4.0.1
    When I create an obfuscated package... it creates it properly..
    Building "MobileLocalTrains"
    ProGuard, version 4.2
    Reading program jar [C:\WTK22\apps\MobileLocalTrains\bin\MobileLocalTrains.jar]
    Reading library jar [C:\WTK22\lib\midpapi20.jar]
    Reading library jar [C:\WTK22\lib\cldcapi11.jar]
    Preparing output jar [C:\Documents and Settings\Dayson\Local Settings\Temp\MobileLocalTrains.jar]
      Copying resources from program jar [C:\WTK22\apps\MobileLocalTrains\bin\MobileLocalTrains.jar]
    Wrote C:\WTK22\apps\MobileLocalTrains\bin\MobileLocalTrains.jar
    Wrote C:\WTK22\apps\MobileLocalTrains\bin\MobileLocalTrains.jad
    Build completebut when I hit run and try to run the application, the midlet terminates after the following error...
    Running with storage root DefaultColorPhone
    java.lang.NoClassDefFoundError: b/b
         at Program.startApp(+100)
         at javax.microedition.midlet.MIDletProxy.startApp(+7)
         at com.sun.midp.midlet.Scheduler.schedule(+270)
         at com.sun.midp.main.Main.runLocalClass(+28)
         at com.sun.midp.main.Main.main(+116)
    Execution completed.
    741742 bytecodes executed
    11 thread switches
    756 classes in the system (including system classes)
    4664 dynamic objects allocated (140700 bytes)
    10 garbage collections (118228 bytes collected)i need my code to be obfuscated... the obfuscation works fine in EclipseMe with the same source code....

    EclipseME also uses Proguard for obfuscation, so the difference could either be in the java compiler (eclipse has its own) or the Proguard settings, which is more likely. You asked if it could be caused by the fact that you have some classes in the default package - well, it's possible.
    When you look at eclipse Preferences -> J2ME -> Packaging -> Obfusation, you should see the Proguard root directory and something like this:
    Arguments:
         -dontusemixedcaseclassnames -dontnote -defaultpackage ''
    Keep expressions:
         public class * extends javax.microedition.midlet.MIDlet
    You should see the same things if you look in the file YourMIDlet.pro in your MIDlet project directory in WTK. Personally I only have -dontusemixedcaseclassnames and the "keep MIDlets" thing, but I don't use default packages so I didn't notice I'm missing something.
    Or you can try to get rid of the default package, that could help too.

  • Syncronization error afer obfuscating jar file

    hi.
    i am working with the MEP application. the application works fine before obfuscating the application.
    once i obfuscate the jar file, it gives me a error in synchronization
    the error is
    1251287045162 Thread[Sync Thread,6] [INFO] [HTTP 1] getHeaderField( Content-Type ) = application/vnd.syncml+xml
    dq: incompatible class: org.kxml2.io.KXmlParser
         at jd.a(+346)
         at jd.a(+5)
         at gx.a(+3)
         at as.a(+7)
         at as.a(+353)
         at c.b(+41)
         at c.a(+28)
         at fm.f(+12)
         at bj.a(+99)
         at sample.Midlet.d(+93)
         at sample.Midlet.run(+34)
    SyncMLEventReader: null
    1251287045334 Thread[Sync Thread,6] [INFO] [HTTP 1] Closing input stream
    Readed:
    1251287045412 Thread[Sync Thread,6] [INFO] [HTTP 1] Entering closed state
    kq:
    Please check URL
    http://172.29.120.50:8080/sync
    Error Details:
    java.lang.NullPointerException
         at as.a(+566)
         at c.b(+41)
         at c.a(+28)
         at fm.f(+12)
         at bj.a(+99)
         at sample.Midlet.d(+93)
         at sample.Midlet.run(+34)
    midlet.getSynchronizeTask
    ey:
    Please check URL
    http://172.29.120.50:8080/sync
    Error Details:
    java.lang.NullPointerException
         at bj.a(+179)
         at sample.Midlet.d(+93)
         at sample.Midlet.run(+34)
    Caused by:
    kq:
    Please check URL
    http://172.29.120.50:8080/sync
    Error Details:
    java.lang.NullPointerException
         at as.a(+566)
         at c.b(+41)
         at c.a(+28)
         at fm.f(+12)
         at bj.a(+99)
         at sample.Midlet.d(+93)
         at sample.Midlet.run(+34)
    ERROR in SYNC
    please help....

    Thanks it worked ...
    But i would like to share with you that ...
    i am using netbeans 6.5, and jdk 6
    i have build the complete application using netbeans 6.5 , but when increase the obfuscation level of the application and add the two lines
    -keep public class org.kxml2.io.KXmlSerializer
    -keep public class org.kxml2.io.KXmlParser to the additional settings. it give s me the following error
    {color:#ff0000}Expanding: C:\Documents and Settings\SShete\My Documents\NetBeansProjects\vtms_test_lwuit_Backup\build\obfuscated.jar into C:\Documents and Settings\SShete\My Documents\NetBeansProjects\vtms_test_lwuit_Backup\build\obfuscated
    C:\Documents and Settings\SShete\My Documents\NetBeansProjects\vtms_test_lwuit_Backup\nbproject\build-impl.xml:459: Error while expanding C:\Documents and Settings\SShete\My Documents\NetBeansProjects\vtms_test_lwuit_Backup\build\obfuscated.jar
    java.io.FileNotFoundException: C:\Documents and Settings\SShete\My Documents\NetBeansProjects\vtms_test_lwuit_Backup\build\obfuscated.jar (The system cannot find the file specified)
    BUILD FAILED (total time: 21 seconds){color}
    so what i have done is , i have opened the same project using wtk2.5.2 toolkit and then made changes to the default.pro file of proguard.jar.
    this proguard.jar is placed in c:\WTK\bin
    the changes to be made in defualt.pro are
    -keep public class org.kxml2.io.KXmlSerializer
    -keep public class org.kxml2.io.KXmlParser
    -dontoptimize
    again restart wtk toolkit.
    and now the application gets obfuscated and syncronizes properly..

  • Error: Create Obfuscated Package

    When i create obfuscated package, i get this error: Error: C:\Documents (The system cannot find the file specified)
    How can i fix it?

    Here I have some code:
    ClassFormat.java
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.MIDlet;
    public class ClassFormat extends MIDlet implements Runnable {
         public void startApp() {
              thread = new Thread(this);
              thread.start();
         public void run() {
              d = Display.getDisplay(this);
              changeForm(new MyForm());
              notifyDestroyed();
              destroyApp(false);
         static void changeForm(MyForm form) {
              currentForm = form;
              if (form != null) {
                   d.setCurrent(form);
         public void pauseApp() { }
         public void destroyApp(boolean unconditional) { }
         private Thread thread;
         public static MyForm currentForm = null;
         private static Display d;
    }MyForm.java
    import javax.microedition.lcdui.*;
    public class MyForm extends Canvas {
         public void paint(Graphics g) {
         public void update() {
    }

  • DADs on WLS 11g (version 10.3.6.0) do not work (Error 404--Not Found)

    Actually we use Application Server 10g (version 10.1.2.3.0) for different Forms 10g Applications (roundabout 1000 Forms) and want to change to Forms 11g and Weblogic Server 11g (version 10.3.6.0). A Test-Application on the Weblogic Server works fine, but DAD’s do not work at all.
    In Enterprise Manager 10g i can configure DADs within the GUI of the Enterprise Manager, where i can see, if a connection could be established or not.
    In Enterprise Manager 11g Fusion Middleware Control this doesn't seem to exist anymore, so i tried to configure the DADs manually, but something has to be wrong or missing, because there is no connection to the database and the following error appears:
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    I added several DAD’s to /opt/oracle/product/Middleware/asinst_1/config/OHS/ohs1/mod_plsql/dads.conf like this:
    <Location /pls/jd-download-dev>
    SetHandler pls_handler
    Order allow,deny
    Allow from All
    AllowOverride None
    PlsqlDatabaseUsername w_web_user_download
    PlsqlDatabasePassword @BWKChfgPacV6yQL40lIKZqXUUA9wC4cmAw==
    PlsqlDatabaseConnectString jddev TNSFormat
    PlsqlNLSLanguage German_Germany.WE8ISO8859P1
    PlsqlAuthenticationMode Basic
    PlsqlDefaultPage w_anwendung.p_web_show_document
    PlsqlAlwaysDescribeProcedure Off
    PlsqlErrorStyle DebugStyle
    </Location>
    The passwords were obfuscated with dadTool.pl and the http-Server restarted with /opt/oracle/product/Middleware/asinst_1/bin/opmnctl restartproc process-type=OHS
    The files /opt/oracle/product/Middleware/asinst_1/config/OHS/ohs1/mod_plsql.cache.conf and /opt/oracle/product/Middleware/asinst_1/config/OHS/ohs1/moduleconf.plsql.conf were left unchanged.
    Our Test-Application generates the following link
    'http://172.106.2.7:9001/pls/jddevdev/B_ARCHIVE.P_ARCHIVE_VIEW?docfid=200'
    that seems to be ok, because when i replace IP and port with our old IAS it works fine, but the WebLogic Server generates the above mentioned error.
    To get some more information i searched an error_log in /opt/oracle/product/Middleware/asinst_1/diagnostics/logs/OHS/ohs1 but there isn’t any.
    I used the following Documentation for configuring the DADs which is for HTTP Server 11g Release 1 (version 11.1.1), because I could not find one for version 10.3.6.0:
    http://docs.oracle.com/cd/E23943_01/web.1111/e10144/under_mods.htm#i1055269
    So probably there are differences between configuring version 10.3.6.0 and version 11.1.1 and so something is wrong configured or missing...
    Thank you in advance for your help
    Udo

    Hi Raj,
    it is a Sparc Solaris 10
    and yes that's my enviorment.
    After some more tests it's seems it's not a real bug but no realy nice working solution.
    Eclipse uses for all instances the same secure storage, where OEPE also saves the password.
    And if I look right the pasword was saved without the user context, so if you use an other user he takes the same password from the old user.
    and I doesn't know how do OEPE check the connection in reality or only reply the last failed login message.
    After deleting the complete secure storage and test it again with the juno version it works well.

  • Write permissions issues / lots of "ACL found but not expected" errors / hardware failure? on brand new Mac Mini (still within warranty). OSX Mavericks 10.9.1.

    I was hoping that I could receive some feedback from you fine folks here
    My situation:
    I bought a 2012 Mac Mini 2.6 Ghz Intel Core i7 from the online Apple store. It came with Mavericks 10.9.1 pre-installed and was delivered two days ago (I know, the mini update is evident but I needed the machine).
    I noticed that I had to enter my password every time I created, moved or deleted a folder. I did not think much of it.
    I did, however, think much of not being able to install files from certain developers. I received the "The installer is damaged" notification as shown in this topic: https://discussions.apple.com/thread/5541793
    This screenshot is someone elses, I tried to install audio software.
    Based on that error, I contacted the developer of the software. But then I noticed that I got the same error for other developers too.
    I tried the solution that the topic starter marked as solving his issue in https://discussions.apple.com/thread/5541793. It involves booting in OSX Recovery (command+R) and excecuting the 'resetpassword' command. That did not work for me. It also looks like my password data isn't stored as I do not see the 'obfuscated' password dots that the screenshot shows in that topic, even when I entered and saved it multiple times -- but I'm not sure if that is part of the main issue (which I'm gettting to).
    I also made sure gatekeeper allows applications to be installed from unidentified developers, as shown here: http://www.instantteamspeak.com/static/en/img/mac-gatekeeper-anywhere.png That didn't help either.
    Next I opened up Disk Utility and ran a check on write permissions. That got me worried.
    The check ran for a long time, spitting out "ACL found but not expected" errors.
    I proceeded to restore write permissions. That took 20-25 minutes.
    Once it finished I checked write permissions again. An equal amount of permissions needed to be restored! It's as if Mavericks didn't remember anything it did.
    The good news is that I could now install the files I previously couldn't, but the fact that I've restored write permissions three times now, and each time it seems as if nothing of that is remembered, has gotten me worried.
    I've made a video with some explanation here http://youtu.be/a0hKQvy-Km8 - my sincerest apologies for the shaky camera.
    I then checked the hard disk and the partition above it. The Macintosh HD gave me the green 'ok' light, but something weird happened when I checked the partition on the level above it. It will take ages to finish and I see Disk Utility doing some strange 'jumping around': http://youtu.be/hyLAEhLRnKc (warning - long video so you might want to skip through it. The point is to demonstrate how long it takes).
    When I checked the hard disk for a second and third time, I got 'everything ok' results pretty quickly.
    Checking both the HD and the partition above it again, this is what happens (and what now worries me the most): http://youtu.be/4l2Fb2RvOW4
    Edit: I sum up my findings at the end of the video, might be better to skip here and then watch the full thing only if it's not clear yet.
    There is some further explanation in the video. It basically comes down to Disk Utility not finishing/not providing any conslusion, while Activity Monitor shows it's not doing anything -- please bare with me when watching the video, I know it's not the most exhiting video ever posted on YouTube but it does bring my point across (there is some more talk in this one; not sure if that's an improvement in terms of entertainment value though ).
    ** Is my hard disk failing? In that case I'll return the Mac immediately.
    ** Or just a software issue?
    As said, this Mac Mini is brand new. If at some stage anyone would feel the wise thing to do is to return my Mac, please do let me know. There is a 14 day return policy in The Netherlands (on top of other warranties) and I'd rather return it in case of doubt, than end up with technical issues with this machine once I've started working with it. I'm ok with doing some troubleshooting if the machine is fine, but I'd rather not take a gamble with a 1200 € machine under warranty.
    Thank you so much in advance - your help is highly appreciated. 
    Paul

    I was hoping that I could receive some feedback from you fine folks here
    My situation:
    I bought a 2012 Mac Mini 2.6 Ghz Intel Core i7 from the online Apple store. It came with Mavericks 10.9.1 pre-installed and was delivered two days ago (I know, the mini update is evident but I needed the machine).
    I noticed that I had to enter my password every time I created, moved or deleted a folder. I did not think much of it.
    I did, however, think much of not being able to install files from certain developers. I received the "The installer is damaged" notification as shown in this topic: https://discussions.apple.com/thread/5541793
    This screenshot is someone elses, I tried to install audio software.
    Based on that error, I contacted the developer of the software. But then I noticed that I got the same error for other developers too.
    I tried the solution that the topic starter marked as solving his issue in https://discussions.apple.com/thread/5541793. It involves booting in OSX Recovery (command+R) and excecuting the 'resetpassword' command. That did not work for me. It also looks like my password data isn't stored as I do not see the 'obfuscated' password dots that the screenshot shows in that topic, even when I entered and saved it multiple times -- but I'm not sure if that is part of the main issue (which I'm gettting to).
    I also made sure gatekeeper allows applications to be installed from unidentified developers, as shown here: http://www.instantteamspeak.com/static/en/img/mac-gatekeeper-anywhere.png That didn't help either.
    Next I opened up Disk Utility and ran a check on write permissions. That got me worried.
    The check ran for a long time, spitting out "ACL found but not expected" errors.
    I proceeded to restore write permissions. That took 20-25 minutes.
    Once it finished I checked write permissions again. An equal amount of permissions needed to be restored! It's as if Mavericks didn't remember anything it did.
    The good news is that I could now install the files I previously couldn't, but the fact that I've restored write permissions three times now, and each time it seems as if nothing of that is remembered, has gotten me worried.
    I've made a video with some explanation here http://youtu.be/a0hKQvy-Km8 - my sincerest apologies for the shaky camera.
    I then checked the hard disk and the partition above it. The Macintosh HD gave me the green 'ok' light, but something weird happened when I checked the partition on the level above it. It will take ages to finish and I see Disk Utility doing some strange 'jumping around': http://youtu.be/hyLAEhLRnKc (warning - long video so you might want to skip through it. The point is to demonstrate how long it takes).
    When I checked the hard disk for a second and third time, I got 'everything ok' results pretty quickly.
    Checking both the HD and the partition above it again, this is what happens (and what now worries me the most): http://youtu.be/4l2Fb2RvOW4
    Edit: I sum up my findings at the end of the video, might be better to skip here and then watch the full thing only if it's not clear yet.
    There is some further explanation in the video. It basically comes down to Disk Utility not finishing/not providing any conslusion, while Activity Monitor shows it's not doing anything -- please bare with me when watching the video, I know it's not the most exhiting video ever posted on YouTube but it does bring my point across (there is some more talk in this one; not sure if that's an improvement in terms of entertainment value though ).
    ** Is my hard disk failing? In that case I'll return the Mac immediately.
    ** Or just a software issue?
    As said, this Mac Mini is brand new. If at some stage anyone would feel the wise thing to do is to return my Mac, please do let me know. There is a 14 day return policy in The Netherlands (on top of other warranties) and I'd rather return it in case of doubt, than end up with technical issues with this machine once I've started working with it. I'm ok with doing some troubleshooting if the machine is fine, but I'd rather not take a gamble with a 1200 € machine under warranty.
    Thank you so much in advance - your help is highly appreciated. 
    Paul

  • VM Server stuck in "Error" state - cannot start or stop any VMs

    I have Oracle VM Server 3.0.2, VM Manager 3.0.2, and have a VM server stuck in an "Error" state. I've gone into all the Event tabs for the server + guests and acknowledged all the errors, but it's still in this state.
    When I try to start a VM for example, I get this error on screen (I've obfuscated the server names):
    OVMRU_005007E Virtual Machine: <vmname>, cannot be started/resumed on Server: <servername>. Reasons:
    Server: <servername>, is in error
    AdminServer-diagnostic.log reports:
    [2012-03-23T16:58:05.078+13:00] [AdminServer] [ERROR] [] [com.oracle.ovm.mgr.faces.model.EO] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 87aae679e5ee7e1d:-14aa5e4e:1363307a070:-8000-000000000000eb79,0] [APP: ovm_console] Programming error![[
    java.lang.NoSuchMethodException: com.oracle.ovm.mgr.api.collectable.ManagedObjectHandleImpl.getUser()
    at java.lang.Class.getMethod(Class.java:1605)
    at com.oracle.ovm.mgr.faces.model.EO.invokeStringAccessor(EO.java:551)
    at com.oracle.ovm.mgr.faces.model.EO.invokeStringAccessor(EO.java:1124)
    at com.oracle.ovm.mgr.faces.model.JobEO.getUsername(JobEO.java:608)
    at com.oracle.ovm.mgr.faces.backing.task.TaskFilter.isAssociatedUser(TaskFilter.java:216)
    at com.oracle.ovm.mgr.faces.backing.task.TaskFilter.isAssociatedWith(TaskFilter.java:241)
    at com.oracle.ovm.mgr.faces.model.collection.EOList.isAssociatedWith(EOList.java:239)
    at com.oracle.ovm.mgr.faces.model.collection.EventSupport.handleInsert(EventSupport.java:60)
    at com.oracle.ovm.mgr.faces.model.collection.EOList.handleInsert(EOList.java:211)
    at sun.reflect.GeneratedMethodAccessor1446.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.oracle.ovm.mgr.faces.model.ChangeSupport.fireChangeEvent(ChangeSupport.java:127)
    at com.oracle.ovm.mgr.faces.model.ChangeSupport.fireInsert(ChangeSupport.java:66)
    at com.oracle.ovm.mgr.faces.model.DataProvider$EventListener.fireInsert(DataProvider.java:312)
    at com.oracle.ovm.mgr.faces.model.DataProvider$EventListener.timerExpired(DataProvider.java:284)
    at weblogic.timers.internal.commonj.ListenerWrap.timerExpired(ListenerWrap.java:37)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Nothing gets written to AdminServer.log
    Any ideas?

    Hi Mannyabdon,
    Based on your description, I recommend to check the things below:
    1.  Run the PowerShell command below to check the status of the Secure Store Service:
    Get-SPServiceInstance |Where {$_.typename -like "Document Conversions Load Balancer Service"}
    If it is not showing online, please stop the service first and then start it to see if the issue still occurs (the
    <ServiceGUID> can be obtained obtained from the command above).
    Stop the service:
    Stop-SPServiceInstance -Identity <ServiceGUID>
    Start the service:
    Start-SPServiceInstance -Identity <ServiceGUID>
    2.  Check the ULS log for detailed error message.
    For SharePoint 2013, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS.
    Thanks,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Error while using jump developer desktop

    Buildfile: J:\Porting_WorkSpace\HelloWorld_jump_0\SonyEricsson J300\_default\RIM Blackberry 8310\ant\build.xml
    JumpEngineInit:
    [echo] ============================================================================
    [echo] Starting Jump for HelloWorld [SonyEricsson J300 -> RIM Blackberry 8310]
    [echo] ============================================================================
    [jump-engine-init] Jump event has been logged
    [null] Copying 1 file to J:\Porting_WorkSpace\HelloWorld_jump_0\SonyEricsson J300\_default\RIM Blackberry 8310\jump.context\packagingContext
    Time: 5.72s
    [delete] Deleting 1 files from J:\Porting_WorkSpace\HelloWorld_jump_0\SonyEricsson J300\_default\RIM Blackberry 8310\weaved-src
    [copy] Copying 1 file to J:\Porting_WorkSpace\HelloWorld_jump_0\SonyEricsson J300\_default\RIM Blackberry 8310\jump.context\sourceContext
    [copy] Copying 2 files to J:\Porting_WorkSpace\HelloWorld_jump_0\SonyEricsson J300\_default\RIM Blackberry 8310\jump.context\sourceContext
    ResourceJumplets:
    [jumplet-execute] Import Target Device Libraries (rev 7)
    [jumplet-execute] Connected to service at: http://services.tirajump.com/
    Overriding previous definition of reference to eclipse.ant.targetVector
    init:
    build:
    [echo] building 2FA03D635AE5EC98647CD9231118FBD10DD7FEB: C:\Documents and Settings\Administrator\.tirawireless\jump\jumplets-cache\2FA03D635AE5EC98647CD9231118FBD10DD7FEB\7\build.xml
    [Import Target Device Libraries] C:\Documents and Settings\Administrator\.tirawireless\jump\jumplets-cache\2FA03D635AE5EC98647CD9231118FBD10DD7FEB\7\TargetLib
    [Import Target Device Libraries] C:\Program Files\Tira Wireless\Jump Developer Desktop\eclipse\plugins/com.tirawireless.jumpdesktop.platform.sdk_4.1.0.142\device_stubs
    [Import Target Device Libraries] Executing Import Target Device Libraries
    [Import Target Device Libraries] Jumplet: [Import Target Device Libraries], Execution SUCCEEDED, Time: 0 seconds
    [jumplet-execute] Modify Icon (rev 0)
    Overriding previous definition of reference to eclipse.ant.targetVector
    init:
    build:
    [echo] building 658C57EA51966AD0728D0660118EBB1C648720F: C:\Documents and Settings\Administrator\.tirawireless\jump\jumplets-cache\658C57EA51966AD0728D0660118EBB1C648720F\0\build.xml
    [Modify Icon] Executing Modify Icon
    [Modify Icon] Interpolation in DB: bilinear
    [Modify Icon] Jumplet: [Modify Icon], Execution SUCCEEDED, Time: 0.02 seconds
    ResourceToSourceTransition:
    SourceJumplets:
    [jump-weaver-init] Initializing Jump Weaver port: 20080 timeout: 300
    [jump-weaver-init] adding to JumpPlatform.Plugin.classpath: C:\Program Files\Tira Wireless\Jump Developer Desktop\eclipse\plugins\com.tirawireless.jumpdesktop.platform.sdk_4.1.0.142\device_stubs\cldc11.zip
    [jump-weaver-init] adding to JumpPlatform.Plugin.classpath: C:\Program Files\Tira Wireless\Jump Developer Desktop\eclipse\plugins\com.tirawireless.jumpdesktop.platform.sdk_4.1.0.142\device_stubs\midpapi20.zip
    [jump-weaver-init] adding to JumpPlatform.Plugin.classpath: C:\Program Files\Tira Wireless\Jump Developer Desktop\eclipse\plugins\com.tirawireless.jumpdesktop.platform.sdk_4.1.0.142\device_stubs\mmapi.zip
    [jump-weaver-init] adding to JumpPlatform.Plugin.classpath: C:\Program Files\Tira Wireless\Jump Developer Desktop\eclipse\plugins\com.tirawireless.jumpdesktop.platform.sdk_4.1.0.142\device_stubs\wma.zip
    [jump-weaver-init] adding to JumpPlatform.Plugin.classpath: C:\Program Files\Tira Wireless\Jump Developer Desktop\eclipse\plugins\com.tirawireless.jumpdesktop.platform.sdk_4.1.0.142\device_stubs\jsr184.zip
    [jump-weaver-init] Connecting to weaver attempt 1
    [jump-weaver-init] Time: 3.38s
    [jumplet-execute] Nokia sound to MIDP 2.0 Implementation (rev 6)
    Overriding previous definition of reference to eclipse.ant.targetVector
    init:
    [mkdir] Created dir: C:\Documents and Settings\Administrator\.tirawireless\jump\jumplets-cache\2FA03D635AE5EC98429F61DA110B27B63578000\6\antbin
    build:
    [echo] building 2FA03D635AE5EC98429F61DA110B27B63578000: C:\Documents and Settings\Administrator\.tirawireless\jump\jumplets-cache\2FA03D635AE5EC98429F61DA110B27B63578000\6\build.xml
    [javac] Compiling 2 source files to C:\Documents and Settings\Administrator\.tirawireless\jump\jumplets-cache\2FA03D635AE5EC98429F61DA110B27B63578000\6\antbin
    [jar] Building jar: C:\Documents and Settings\Administrator\.tirawireless\jump\jumplets-cache\2FA03D635AE5EC98429F61DA110B27B63578000\6\2FA03D635AE5EC98429F61DA110B27B63578000.jar
    [Nokia sound to MIDP 2.0 Implementation] Executing Nokia API using Midp 2 impl
    [Nokia sound to MIDP 2.0 Implementation] Jumplet: [Nokia sound to MIDP 2.0 Implementation], Execution SUCCEEDED, Time: 0.47 seconds
    [jumplet-execute] Nokia UI to MIDP 2.0 Implementation (rev 7)
    Overriding previous definition of reference to eclipse.ant.targetVector
    init:
    [mkdir] Created dir: C:\Documents and Settings\Administrator\.tirawireless\jump\jumplets-cache\2FA03D635AE5EC98569C1795112244638067B8A\7\antbin
    build:
    [echo] building 2FA03D635AE5EC98569C1795112244638067B8A: C:\Documents and Settings\Administrator\.tirawireless\jump\jumplets-cache\2FA03D635AE5EC98569C1795112244638067B8A\7\build.xml
    [javac] Compiling 2 source files to C:\Documents and Settings\Administrator\.tirawireless\jump\jumplets-cache\2FA03D635AE5EC98569C1795112244638067B8A\7\antbin
    [jar] Building jar: C:\Documents and Settings\Administrator\.tirawireless\jump\jumplets-cache\2FA03D635AE5EC98569C1795112244638067B8A\7\2FA03D635AE5EC98569C1795112244638067B8A.jar
    [Nokia UI to MIDP 2.0 Implementation] Executing Nokia UI to MIDP2.0 impl
    [Nokia UI to MIDP 2.0 Implementation] Jumplet: [Nokia UI to MIDP 2.0 Implementation], Execution SUCCEEDED, Time: 0.19 seconds
    [jumplet-execute] Key Mapping (rev 12)
    Overriding previous definition of reference to eclipse.ant.targetVector
    init:
    build:
    [echo] building 2FA03D635AE5EC9855560CB4110E06C1C647FF8: C:\Documents and Settings\Administrator\.tirawireless\jump\jumplets-cache\2FA03D635AE5EC9855560CB4110E06C1C647FF8\12\build.xml
    [Key Mapping] Executing Key Mapping
    [Key Mapping] Could not map reference device: Key_EndCall
    [Key Mapping] Could not map reference device: Key_Send
    [Key Mapping] Could not map reference device: RightSoftKey
    [Key Mapping] Could not map reference device: LeftSoftKey
    [Key Mapping] Could not map reference device: Key_2
    [Key Mapping] Jumplet: [Key Mapping], Execution SUCCEEDED, Time: 1.45 seconds
    SourceToBytecodeTransition:
    [copy] Copying 12 files to J:\Porting_WorkSpace\HelloWorld_jump_0\SonyEricsson J300\_default\RIM Blackberry 8310\weaved-src
    Overriding previous definition of reference to JumpPlatform.app.compile.classpath
    [javac] Compiling 10 source files to J:\Porting_WorkSpace\HelloWorld_jump_0\SonyEricsson J300\_default\RIM Blackberry 8310\jump.context\bytecodeContext
    BytecodeJumplets:
    BytecodeToPackagingTransition:
    [jump-package] **************************************************************
    [jump-package] * Antenna 0.9.15 initialized for project "Jump" *
    [jump-package] * Using Sun Wireless Toolkit 2.5 (CLDC-1.1; MIDP-2.0) *
    [jump-package] **************************************************************
    [jump-package] Building jar: J:\Porting_WorkSpace\HelloWorld_jump_0\SonyEricsson J300\_default\RIM Blackberry 8310\jump.context\packagingContext\HelloWorld-RIM-Blackberry-8310.jar
    [jump-package] Updating JAD file J:\Porting_WorkSpace\HelloWorld_jump_0\SonyEricsson J300\_default\RIM Blackberry 8310\jump.context\packagingContext\HelloWorld-RIM-Blackberry-8310.jad
    [jump-package] Removing Ant-Version from manifest
    [jump-package] Removing Created-By from manifest
    [jump-package] MIDlet-Jar-URL:HelloWorld-RIM-Blackberry-8310.jar
    [jump-package] MIDlet-Jar-Size:12986
    PackagingJumplets:
    [jumplet-execute] Obfuscation (rev 10)
    Overriding previous definition of reference to eclipse.ant.targetVector
    init:
    build:
    [echo] building 2FA03D635AE5EC981A3CAF81106FCB092B7FE3: C:\Documents and Settings\Administrator\.tirawireless\jump\jumplets-cache\2FA03D635AE5EC981A3CAF81106FCB092B7FE3\10\build.xml
    [Obfuscation] Proguard Obfuscator: proguard39.jar
    [Obfuscation] Executing Obfuscation
    [exec] ProGuard, version 3.9
    [exec] Reading program jar [J:\Porting_WorkSpace\HelloWorld_jump_0\SonyEricsson J300\_default\RIM Blackberry 8310\jump.context\packagingContext\HelloWorld-RIM-Blackberry-8310.jar]
    [exec] Reading library zip [C:\Program Files\Tira Wireless\Jump Developer Desktop\eclipse\plugins\com.tirawireless.jumpdesktop.platform.sdk_4.1.0.142\device_stubs\cldc11.zip]
    [exec] Reading library zip [C:\Program Files\Tira Wireless\Jump Developer Desktop\eclipse\plugins\com.tirawireless.jumpdesktop.platform.sdk_4.1.0.142\device_stubs\midpapi20.zip]
    [exec] Reading library zip [C:\Program Files\Tira Wireless\Jump Developer Desktop\eclipse\plugins\com.tirawireless.jumpdesktop.platform.sdk_4.1.0.142\device_stubs\mmapi.zip]
    [exec] Note: duplicate definition of library class [javax.microedition.media.TimeBase]
    [exec] Note: duplicate definition of library class [javax.microedition.media.protocol.DataSource]
    [exec] Note: duplicate definition of library class [javax.microedition.media.control.ToneControl]
    [exec] Note: duplicate definition of library class [javax.microedition.media.control.VolumeControl]
    [exec] Note: duplicate definition of library class [javax.microedition.media.Control]
    [exec] Note: duplicate definition of library class [javax.microedition.media.Controllable]
    [exec] Note: duplicate definition of library class [javax.microedition.media.Manager]
    [exec] Note: duplicate definition of library class [javax.microedition.media.MediaException]
    [exec] Note: duplicate definition of library class [javax.microedition.media.Player]
    [exec] Note: duplicate definition of library class [javax.microedition.media.PlayerListener]
    [exec] Reading library zip [C:\Program Files\Tira Wireless\Jump Developer Desktop\eclipse\plugins\com.tirawireless.jumpdesktop.platform.sdk_4.1.0.142\device_stubs\wma.zip]
    [exec] Reading library zip [C:\Program Files\Tira Wireless\Jump Developer Desktop\eclipse\plugins\com.tirawireless.jumpdesktop.platform.sdk_4.1.0.142\device_stubs\jsr184.zip]
    [exec] Note: there were 10 duplicate class definitions.
    [exec] Error: You have to specify '-keep' options for the shrinking step.
    [exec] Result: 1
    [Obfuscation] Jumplet: [Obfuscation] FAILED: Obfuscator could not create a new JAR
    [Obfuscation] com.tirawireless.jumpdesktop.platform.sdk.exceptions.JumpProcessException: Obfuscator could not create a new JAR
    [Obfuscation] at com.tirawireless.jumplets.obfuscators.AbstractObfuscator.cleanup(AbstractObfuscator.java:64)
    [Obfuscation] at com.tirawireless.jumplets.obfuscators.Proguard.cleanup(Proguard.java:107)
    [Obfuscation] at com.tirawireless.jumplets.Obfuscator.jumpletExecute(Obfuscator.java:155)
    [Obfuscation] at com.tirawireless.jumpdesktop.platform.core.ant.task.JumpletExecuteTask.executeJumplet(JumpletExecuteTask.java:452)
    [Obfuscation] at com.tirawireless.jumpdesktop.platform.core.ant.task.JumpletExecuteTask.execute(JumpletExecuteTask.java:276)
    [Obfuscation] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [Obfuscation] at org.apache.tools.ant.Task.perform(Task.java:364)
    [Obfuscation] at org.apache.tools.ant.Target.execute(Target.java:341)
    [Obfuscation] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [Obfuscation] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [Obfuscation] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [Obfuscation] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [Obfuscation] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    [Obfuscation] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [Obfuscation] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
    [Obfuscation] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
    [Obfuscation] cleanup executed
    [Obfuscation] Jumplet: [Obfuscation], Execution FAILED: Obfuscator could not create a new JAR, Time: 1.34 seconds
    BUILD FAILED
    J:\Porting_WorkSpace\HelloWorld_jump_0\SonyEricsson J300\_default\RIM Blackberry 8310\ant\build.xml:315: com.tirawireless.jumpdesktop.platform.sdk.exceptions.JumpProcessException: Obfuscator could not create a new JAR
    Total time: 18 seconds
    Plz help me to fix this error.....
    Thanks
    MRaj

    Dear Rosrio:
    I have found my default Report Server Name by
    http://host:port/reports/rwservlet/getserverinfo
    I replace the host name with my Machine Name from where I am executing the Web Application.
    I have used following coding to invoke report on web
    DECLARE
         report_id Report_Object;
    ReportServerJob VARCHAR2(100);
    vc_rep_status VARCHAR2(100);
         vjob_id VARCHAR2(100);
         repsvr varchar2(25) := 'rep_najam-abdali_ora10g';
    BEGIN
    report_id:= find_report_object('REPORT1');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,file);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME,'rpout1.html');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,'HTMLCSS');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,repsvr);
    ReportServerJob:=run_report_object(report_id);
    vjob_id := substr(reportserverjob,length(repsvr)+2);
    vc_rep_status := REPORT_OBJECT_STATUS(ReportServerJob);
    WHILE vc_rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED', null)
    LOOP
    vc_rep_status:=REPORT_OBJECT_STATUS(ReportServerJob);
    END LOOP;
    IF vc_rep_status='FINISHED' THEN
    WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'|| vjob_id ||'?server='||repsvr,'_blank');
    ELSE
    message ('Report failed with error message '|| vc_rep_status);
    END IF;
    END;
    I think it is very similar to your coding.
    After invoking the report I found the following value appeared on the Left Top side of every report.
    ;background:#000000"
    Does anybody have idea about it.
    Best Regards,
    Hassan

  • Get error message from a nested/encrypted stored procedure

    Hi,
    I have an encrypted procedure, that is used inside my 'own' complex procedure as:
    Begin try
    Begin tran
    Do a lot
    insert into #tmp exec xp_encryptedSP
    Do a lot more
    commit tran
    end try
    begin catch
    print ERROR_MESSAGE()
    rollback tran
    end catch
    Some error occur on the insert into #tmp exec xp_encryptedSP row, and in this case it's correct that the error occur, but:
    If I run only exec xp_encryptedSP in query analyzer, I can see the root cause error message,
    but in my complex procedure all I get is:
    Cannot use the ROLLBACK statement within an INSERT-EXEC statement.
    I have tried to enclose the insert into #tmp exec xp_encryptedSP in an own try block, but all I get is the message above.
    Please help
    /Magnus
    Magnus Burk

    No, the error message has nothing to do with the fact that the procedure obfuscated. It is a limitation of INSERT-EXEC. A quite silly one, since a consequence of the error is that the transaction is rolled back...
    There are better ways to share data between stored procedures, but most of them assumes that you can change the procedure you call, and obviously this is not possible since this is a vendor procedure.
    So it looks like you are in for heavy artillery, that is the CLR. See here for an example:
    http://www.sommarskog.se/share_data.html#CLR
    I should warn you in advance that error handling when the CLR is involved is also a very difficult thing.
    Erland Sommarskog, SQL Server MVP, [email protected]

Maybe you are looking for

  • Display Image in Report Colum,  ORA-06502: PL/SQL whe column format is set

    Hi @all i created a small table CREATE TABLE my_sal201 ( grafikdid VARCHAR2(38) NULL, grafik BLOB NULL, mimetype VARCHAR2(255) NULL then i inserted one column with a page process BEGIN IF (:p6_filename IS NOT NULL) THEN INSERT INTO my_sal201 (grafikd

  • Filtering values in Matrix

    Hi All, We have a UDO with three tables. In fact it contains a Mater table, a child table and child to child. But in UDO we defined the  third table as a child to master itself. We created a  form in which we have header part for master table and two

  • Why would my canon t3i Eos say there is not a card in it, when there is?

    I saw this question asked, but not answered-beacuse they did not ive the product info- I have a rebel t3i EOS, I have a card in it, but the camera says it doesn't-any ideas-realitively new card-

  • Installing 11g database in Unix

    I was installing 11g database in Unix Port number 1521 was not free and I was hit by this issue Checking for ip_local_port_range=1024 - 65000; found ip_local_port_range=10000 - 65000. Failed <<<< In this case if I wanna use some port other than defau

  • Data types pls..

    Hi All, What are all the data types we have, let me know each data type purpose pls.... Akshitha.