J2ME dictionary code with errors

Hi,
i'm getting headache looking for error. im new to J2ME so i don't really understand the real problem. Please healp me to correct the code. i would appreciate very much helps from anyone. Thanks and please help!
code:
package util;
import java.util.*;
import java.io.*;
class Word {
String eng;
String rus;
int count;
public class Dictionary {
static boolean LARGE_DICTIONARY = true;
static final int FREQUENCY = LARGE_DICTIONARY ? 0 : 3;
static final int MAX_LENGTH = LARGE_DICTIONARY ? 64 : 25;
static final int MAX_FILE_SIZE = 16*1024;
static int split(int[] words, int[] bestParts, int[] currParts, int offs, int partNo, int minWords) {
if (++partNo < currParts.length) {
for (int i = offs+1; i < words.length; i++) {
currParts[partNo-1] = i;
minWords = split(words, bestParts, currParts, i, partNo, minWords);
} else {
int maxWords = 0;
for (int i = 0, j = 0; i < currParts.length; i++) {
int nWords = 0;
while (j < currParts) {
nWords += words[j++];
if (nWords > maxWords) {
maxWords = nWords;
if (maxWords < minWords) {
System.arraycopy(currParts, 0, bestParts, 0, currParts.length);
minWords = maxWords;
return minWords;
public static void main(String[] args) throws Exception {
     BufferedReader in = new BufferedReader(new FileReader("Mueller7GPL.win"));
     String line;
     TreeMap hash = new TreeMap();
nextLine:
     while ((line = in.readLine()) != null) {
     int i = line.indexOf(' ');
     if (i > 1) {
for (int j = 0; j < i; j++) {
char ch = line.charAt(j);
if (!(ch >= 'a' && ch <= 'z') && !(ch >= 'A' && ch <= 'Z')) {
continue nextLine;
          Word word = new Word();
          word.eng = line.substring(0, i).toLowerCase();
          boolean firstChar = true;
          int nBrackets = 0;
          StringBuffer buf = new StringBuffer();
          boolean skip = false;
          while (++i < line.length()) {
          char ch = line.charAt(i);
          switch (ch) {
          case '{':
          case '(':
          case '[':
               nBrackets += 1;
               continue;
          case '}':
          case ')':
          case ']':
               nBrackets -= 1;
               continue;
          case '_':
               skip = true;
               continue;
          case ' ':
               skip = false;
               if (!firstChar && nBrackets == 0) {
               buf.append(' ');
               continue;
          default:
               if (!skip && nBrackets == 0) {
               if (Character.isLetter(ch) && ch > 'z') {
                    firstChar = false;
                    buf.append(ch);
               } else if (!firstChar) {
                    word.rus = buf.toString().trim();
                    int len = word.rus.length();
                    if (len > 2 && len <= MAX_LENGTH ) {
if (hash.get(word.eng) == null) {
hash.put(word.eng, word);
                    continue nextLine;
if (FREQUENCY != 0) {
byte[] buf = new byte[1025*1024];
int rc;
FileInputStream fs = new FileInputStream("samples.txt");
while ((rc = fs.read(buf)) > 0) {
for (int i = 0; i < rc; i++) {
int j = i;
char ch;
while (j < rc && (((ch = (char)buf[j]) >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z'))) {
j += 1;
if (j > i) {
String key = new String(buf, i, j-i).toLowerCase();
Word word = (Word)hash.get(key);
if (word != null) {
word.count += 1;
i = j;
if (args.length > 0) {
int nParts = Integer.parseInt(args[0]);
int partNo = Integer.parseInt(args[1]);
Iterator iterator = hash.values().iterator();
char firstLetter = '\0';
int[] words = new int[26];
int i = -1;
while (iterator.hasNext()) {
Word word = (Word)iterator.next();
if (word.eng.charAt(0) != firstLetter) {
firstLetter = word.eng.charAt(0);
i += 1;
words[i] += 1;
int[] currParts = new int[nParts];
int[] bestParts = new int[nParts];
currParts[nParts-1] = words.length;
split(words, bestParts, currParts, 0, 0, Integer.MAX_VALUE);
iterator = hash.values().iterator();
i = 0;
if (partNo > 1) {
for (int n = bestParts[partNo-2]; i < n; i++) {
for (int j = words[i]; --j >= 0;) {
iterator.next();
TreeMap subset = new TreeMap();
for (int n = bestParts[partNo-1]; i < n; i++) {
for (int j = words[i]; --j >= 0;) {
Word word = (Word)iterator.next();
subset.put(word.eng, word);
hash = subset;
     FileOutputStream index = new FileOutputStream("dictionary.idx");
     FileOutputStream out = new FileOutputStream("volume.1");
     Iterator iterator = hash.values().iterator();
     int n = 0;
     int size = 0;
     int totalSize = 0;
int id = 1;
String prevWord = null;
StringBuffer ib = new StringBuffer();
     while (iterator.hasNext()) {
     Word word = (Word)iterator.next();
     if (word.count >= FREQUENCY) {
          StringBuffer sb = new StringBuffer();
String thisWord = word.eng;
if (prevWord == null) {
ib.append(thisWord);
ib.append(':');
sb.append(thisWord);
} else {
int prefix;
int len = thisWord.length() > prevWord.length() ? prevWord.length() : thisWord.length();
if (len > 9) {
len = 9;
for (prefix = 0; prefix < len && thisWord.charAt(prefix) == prevWord.charAt(prefix); prefix++);
if (prefix > 0) {
sb.append((char)(prefix + '0'));
sb.append(thisWord.substring(prefix));
} else {
sb.append(thisWord);
          sb.append(':');
          sb.append(word.rus);
          //sb.append('\r');
          sb.append('\n');
          byte[] bytes = sb.toString().getBytes();
if (size + bytes.length > MAX_FILE_SIZE) {
ib.append(prevWord);
ib.append('\n');
index.write(ib.toString().getBytes());
ib = new StringBuffer();
ib.append(thisWord);
ib.append(':');
out.close();
out = new FileOutputStream("volume." + ++id);
size = 0;
          size += bytes.length;
totalSize += bytes.length;
          n += 1;
prevWord = thisWord;
          out.write(bytes);
     out.close();
ib.append(prevWord);
ib.append('\n');
index.write(ib.toString().getBytes());
index.close();
     System.out.println("Words " + n + ", size " + totalSize);

Can some one take a look at this code and tell me how to get all my jlabels to line up alone side their jtf.
Because it looks like this the picture in the attached file and this is the code for it:
public customerPanel()
// Set the panel with line border
setBorder(new BevelBorder(BevelBorder.RAISED));
// Panel p1 for holding labels Name, Street, and City
JPanel p1 = new JPanel();
p1.setLayout(new GridLayout(5, 1));
p1.add(new JLabel("Registration Number:"));
p1.add(new JLabel("Seating Capacity:"));
p1.add(new JLabel("Engine Size:"));
p1.add(new JLabel("Start date of hire"));
p1.add(new JLabel("Duration of hire"));
JPanel p2 = new JPanel();
p2.setLayout(new GridLayout(5, 1));
p2.add(jtfRegistrationnumber);
p2.add(jtfSeatingcapacity);
p2.add(jtfEnginesize);
p2.add(jtfStartdateofhire);
p2.add(jtfDurationofhire);
//JPanel p3 = new JPanel();
//p3.add(p1, BorderLayout.WEST);
//p3.add(p2, BorderLayout.NORTH);
JPanel p4 = new JPanel();
p4.setLayout(new GridLayout(4, 1));
p4.add(new JLabel("Manufacture:"));
p4.add(new JLabel("Model:"));
p4.add(new JLabel("Mileage:"));
p4.add(new JLabel("Charge:"));
JPanel p5 = new JPanel();
p5.setLayout(new GridLayout(4, 1));
p5.add(jtfManufacture);
p5.add(jtfModel);
p5.add(jtfMileage);
p5.add(jtfCharge);
// JPanel p6 = new JPanel();
// p6.setLayout(new BorderLayout());
// p6.add(p4, BorderLayout.SOUTH);
// p6.add(p5, BorderLayout.EAST);
// Place p1 and p4 into CustomerPanel
setLayout(new BorderLayout());
add(p1, BorderLayout.WEST);
add(p2, BorderLayout.NORTH);
add(p4, BorderLayout.SOUTH);
add(p5, BorderLayout.EAST);
So could someone please help me and correct my code so that each text lable is lined up next to its jtf java text field.

Similar Messages

  • How find the ABAP code with Error message

    Hi
    How to  find the ABAP Code for Error Message?
    Example:
    Error Message: ZF026.
    Regards
    Odaiah Pelley
    Edited by: Odaiah Pelley on Aug 22, 2008 4:21 AM

    Hi
    Excellent Answer, I appreciate it.
    My question is with Error Message ZF026.
    How to find ABAP Code ?
    If I go for SE91 I will get same message as if I am getting error message.It is no use.
    Regards
    Odaiah Pelleyu

  • Client server code with errors could some one please help me!!!

    I am using a random access file to design the two interfaces for my client and my server is this the right thing to do? Oh could some one give me some example code of client server interfaces.
    I got an error in the code for the interfaces and I don't know what it is could some one please help me!!
    Heres the error in the code: This is for RegisterCustomer
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    class RegisterCustomer extends JPanel implements ActionListener
    // Button for registering a customer
    private JButton jbtRegister;
    // Customer information panel
    private CustomerPanel customerPanel; (The error is on this line and it says Field type customer panel is missing)
    // Random access file
    private RandomAccessFile raf;
    Second error: Its in the ViewCustomer:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    // View customer panel
    class ViewCustomer extends JPanel implements ActionListener
    // Buttons for viewing customer information
    private JButton jbtFirst, jbtNext, jbtPrevious, jbtLast;
    // Random access file
    private RandomAccessFile raf = null;
    // Current customer record
    private Customer customer = new Customer();
    // Create a customer panel
    private CustomerPanel customerPanel = new customerPanel(); (its on this line and it says field type CustomerPanel is missing)
    // File pointer in the random access file
    private long lastPos;
    private long currentPos;
    Heres the code for the customerPanel:
    // Customer Panel.java: Panel for displaying Customer information
    import javax.swing.*;
    import javax.swing.border.*;
    import java.awt.*;
    public class customerPanel extends JPanel
         JTextField jtfRegistrationnumber = new JTextField(30);
         JTextField jtfSeatingcapacity = new JTextField(20);
    JTextField jtfStartdateofhire = new JTextField(20);
    JTextField jtfDurationofhire = new JTextField(10);
    JTextField jtfManufacture = new JTextField(20);
    JTextField jtfModel = new JTextField(15);
         JTextField jtfEnginesize = new JTextField(15);
    JTextField jtfCharge = new JTextField(20);
    JTextField jtfMileage = new JTextField(10);
    // Constuct a customer panel
    public customerPanel()
    // Set the panel with line border
    setBorder(new BevelBorder(BevelBorder.RAISED));
    // Panel p1 for holding all the labels
    JPanel p1 = new JPanel();
    p1.setLayout(new GridLayout(3, 1));
    p1.add(new JLabel("Registration number"));
    p1.add(new JLabel("Seating capacity"));
    p1.add(new JLabel("Start date of hire"));
    p1.add(new JLabel("Duration of hire"));
    p1.add(new JLabel("Manufacture"));
    p1.add(new JLabel("Model"));
    p1.add(new JLabel("Engine size"));
    p1.add(new JLabel("Charge"));
    p1.add(new JLabel("Mileage"));
    // Panel jpRegistration number for registration number
    JPanel jpRegistrationnumber = new JPanel();
    jpRegistrationnumber.setLayout(new BorderLayout());
    jpRegistrationnumber.add(new JLabel("Registration number"), BorderLayout.WEST);
    jpRegistrationnumber.add(jtfRegistrationnumber, BorderLayout.CENTER);
    // Panel jpSeating capacity for holding Seating capacity
    JPanel jpSeatingcapacity = new JPanel();
    jpSeatingcapacity.setLayout(new BorderLayout());
    jpSeatingcapacity.add(new JLabel("Seating capacity"), BorderLayout.WEST);
    jpSeatingcapacity.add(jtfSeatingcapacity, BorderLayout.CENTER);
         // Panel jpStart date of hire for holding start date of hire
    JPanel jpStartdateofhire = new JPanel();
    jpStartdateofhire.setLayout(new BorderLayout());
    jpStartdateofhire.add(new JLabel("Start date of hire"), BorderLayout.WEST);
    jpStartdateofhire.add(jtfStartdateofhire, BorderLayout.CENTER);
    // Panel jpDuration of hire for holding Duration of hire
    JPanel jpDurationofhire = new JPanel();
    jpDurationofhire.setLayout(new BorderLayout());
    jpDurationofhire.add(new JLabel("Duration of hire"), BorderLayout.WEST);
    jpDurationofhire.add(jtfDurationofhire, BorderLayout.CENTER);
    // Panel p2 for holding jpRegistration number and jpSeating capacity and start date of hire and duration of hire
    JPanel p2 = new JPanel();
    p2.setLayout(new BorderLayout());
    p2.add(jpRegistrationnumber, BorderLayout.WEST);
    p2.add(jpSeatingcapacity, BorderLayout.CENTER);
    p2.add(jpStartdateofhire, BorderLayout.CENTER);
    p2.add(jpDurationofhire, BorderLayout.CENTER);
    // Panel p3 for holding jtfManufacture and p2
    JPanel p3 = new JPanel();
    p3.setLayout(new BorderLayout());
    p3.add(jtfManufacture, BorderLayout.CENTER);
    p3.add(p2, BorderLayout.EAST);
    // Panel p4 for holding jtfModel, jtfEngine size, charge and mileage and p3
    JPanel p4 = new JPanel();
    p4.setLayout(new GridLayout(3, 1));
    p4.add(jtfModel);
    p4.add(jtfEnginesize);
    p4.add(jtfCharge);
    p4.add(jtfMileage);
    p4.add(p3);
    // Place p1 and p4 into customerPanel
    setLayout(new BorderLayout());
    add(p1, BorderLayout.WEST);
    add(p4, BorderLayout.CENTER);
    // Get customer information from the text fields
    public Customer getCustomer()
    return new Customer(jtfRegistrationnumber.getText().trim(),
                             jtfSeatingcapacity.getText().trim(),
                                  jtfStartdateofhire.getText().trim(),
                             jtfDurationofhire.getText().trim(),
                             jtfManufacture.getText().trim(),
                             jtfModel.getText().trim(),
                                  jtfEnginesize.getText().trim(),
                             jtfCharge.getText().trim(),
                             jtfMileage.getText().trim());
    // Set customer information on the text fields
    public void setCustomer(Customer s)
    jtfRegistrationnumber.setText(s.getRegistrationnumber());
    jtfSeatingcapacity.setText(s.getSeatingcapacity());
    jtfStartdateofhire.setText(s.getStartdateofhire());
    jtfDurationofhire.setText(s.getDurationofhire());
    jtfManufacture.setText(s.getManufacture());
    jtfModel.setText(s.getModel());
    jtfEnginesize.setText(s.getEnginesize());
    jtfCharge.setText(s.getCharge());
    jtfMileage.setText(s.getMileage());
    Could someone please help me and tell me what these two errors mean and how I could get rid of them

    Can some one take a look at this code and tell me how to get all my jlabels to line up alone side their jtf.
    Because it looks like this the picture in the attached file and this is the code for it:
    public customerPanel()
    // Set the panel with line border
    setBorder(new BevelBorder(BevelBorder.RAISED));
    // Panel p1 for holding labels Name, Street, and City
    JPanel p1 = new JPanel();
    p1.setLayout(new GridLayout(5, 1));
    p1.add(new JLabel("Registration Number:"));
    p1.add(new JLabel("Seating Capacity:"));
    p1.add(new JLabel("Engine Size:"));
    p1.add(new JLabel("Start date of hire"));
    p1.add(new JLabel("Duration of hire"));
    JPanel p2 = new JPanel();
    p2.setLayout(new GridLayout(5, 1));
    p2.add(jtfRegistrationnumber);
    p2.add(jtfSeatingcapacity);
    p2.add(jtfEnginesize);
    p2.add(jtfStartdateofhire);
    p2.add(jtfDurationofhire);
    //JPanel p3 = new JPanel();
    //p3.add(p1, BorderLayout.WEST);
    //p3.add(p2, BorderLayout.NORTH);
    JPanel p4 = new JPanel();
    p4.setLayout(new GridLayout(4, 1));
    p4.add(new JLabel("Manufacture:"));
    p4.add(new JLabel("Model:"));
    p4.add(new JLabel("Mileage:"));
    p4.add(new JLabel("Charge:"));
    JPanel p5 = new JPanel();
    p5.setLayout(new GridLayout(4, 1));
    p5.add(jtfManufacture);
    p5.add(jtfModel);
    p5.add(jtfMileage);
    p5.add(jtfCharge);
    // JPanel p6 = new JPanel();
    // p6.setLayout(new BorderLayout());
    // p6.add(p4, BorderLayout.SOUTH);
    // p6.add(p5, BorderLayout.EAST);
    // Place p1 and p4 into CustomerPanel
    setLayout(new BorderLayout());
    add(p1, BorderLayout.WEST);
    add(p2, BorderLayout.NORTH);
    add(p4, BorderLayout.SOUTH);
    add(p5, BorderLayout.EAST);
    So could someone please help me and correct my code so that each text lable is lined up next to its jtf java text field.

  • Some simple code with error

    hello!
    i need some help in this code. just cant find the error here.
    thanks all!
    the problem is in line of the function private linkerCount page(String link,String word). it something with return,
    the error is :this method must return a result of type linkerCount/
    private linkerCount page(String link,String word) {
        String str=null;
        try
        {//Open the URL for reading
            URL u = new URL(link);
        // TODO Auto-generated method stub
               // buffer the input to increase performance
            InputStream in = new BufferedInputStream(u.openStream());
            // chain the InputStream to a Reader
            InputStreamReader theHTML = new InputStreamReader(in);
            str=StreamToString(theHTML);
            str = str.replaceAll("\\<.*?\\>", "");
            //System.out.println(countSubString(str,word)+link);
            int statistic=countSubString(str,word)/countWord(str);
            linkerCount s=new linkerCount(link,statistic);
            return s;
        catch (MalformedURLException e)
            System.err.println(e);
        catch (IOException e)
            System.err.println(e);
    package test;
    public class linkerCount {
        public linkerCount(String link, int count) {
            this.link=link;
            this.count=count;
        String link;
        int count;
    }

    >
    Thus, there are paths of execution that do not return a value of the type that the method is declared to return. That's what the compiler error message is telling you.If I'm not mistaken, can't you omit any return statement from within the try block and put one only at the end and it will still work fine? This would be because you only need the return statement at the end. It's not necessarily that there exist "paths" (plural) of execution that do not return a value but moreso that THE path of execution does not end with a return.
    The compiler just is not smart enough to know that the area after the try/catch stuff is never going to be called. It can't know that because the format could have been different. For example
    try
        stuff
    catch (Exception)
    more stuff
    try
        still more stuff
    catch (Exception)
    }In code like the above, it is apparent that the grammar allows for situations where you could return at the end of a try but the function overall might still not be covered. Similar to
    if(true)
        return 0;
    if(true)
        return 1The function that contains only the above will always successfully return an integer, but the compiler doesn't know that.
    I apologise if what you said said is contained within my explanation and I've just said the same thing in a different way without realising it. If so, hopefully it at least helps the original poster.

  • IDOC - process code with error "Application Object Type not planned'

    Hi all,
    I am doing an inbound idoc.... in TCODE we42, i trying to put function module which i created, attached to the process code.
    However, when i put my function module ZIDOC_INBOUND to the process code... it comes out error, 'Application Object Type not planned.'
    Why is this so?
    Please advice...
    Thanks and regards...
    William Wilstroth

    HI all,
    I had solved this problem. I should have gone to we57 to tie the function module.
    thanks.
    William Wilstroth

  • Execution failed with error code 1

    I am developing a simple Hello Server Application using the latest Netbeans 7.0 (Full Version that includes J2SE, J2ME,...etc). The code compiles fine and runs great on a Windows 7 SP1 (32-bit) just fine. but when trying to run it on a Windows 7 SP1 (64-bit) Windows, I get the following error:
    Jad URL for OTA execution: http://localhost:8082/servlet/org.netbeans.modules.mobility.project.jam.JAMServlet/E%3A/Development/NetBeansProjects/HelloServer/dist//HelloServer.jad
    Starting emulator in execution mode
    E:\Development\NetBeansProjects\HelloServer\nbproject\build-impl.xml:915: Execution failed with error code 1.
    BUILD FAILED (total time: 0 seconds)
    the content of build-impl.xml:915 is:
    <nb-run jadfile="${dist.dir}/${dist.jad}" jarfile="${dist.dir}/${dist.jar}" jadurl="${dist.jad.url}" device="${platform.device}" platformhome="${platform.home}" platformtype="${platform.type}" execmethod="${run.method}" securitydomain="${evaluated.run.security.domain}" commandline="${platform.runcommandline}" classpath="${platform.bootclasspath}:${dist.dir}/${dist.jar}" cmdoptions="${run.cmd.options}"/>
    This makes me believe that it is something related to 32/64 bit Java Platform for Windows. I have searched the net, and some posts suggest uninstalling Java 64-bit version for Windows and use 32-bit version instead? Is this true? if it is then we have a serious JAVA bug problem if not, I would like to get pointers on how to solve this problem. Thanks.

    It seems that indeed this has to do with the 64-bit JAVA platform version as well as the DEP protection on Windows 7. I will try to reproduce the error systematically and see how it goes.

  • Preverification failed with error code 1. BUILD FAILED

    Hallo Oracle,
    Am learning my first J2me application and when i build it am getting this error. can some one help me understand what it means
    Created dir: C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\build\preverifysrc
    Copying 1957 files to C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\build\preverifysrc
    Created dir: C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\build\preverified
    Preverifying 1957 file(s) into C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\build\preverified directory.
    Error preverifying class com.sun.activation.registries.MailcapFile
        VERIFIER ERROR com/sun/activation/registries/MailcapFile
    .<init>(Ljava/lang/String;)V:
    Cannot find class java/util/Map
    C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\nbproject\build-impl.xml:431: Preverification failed with error code 1.
    BUILD FAILED (total time: 25 seconds)
    this is the contents of build-impx.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- *** GENERATED FROM project.xml - DO NOT EDIT *** -->
    <project name="watsdownapp-impl" default="jar" basedir="..">
        <!--load-properties-->
        <target name="pre-load-properties">
            <property file="nbproject/private/private.properties"/>
            <property name="user.properties.file" location="${netbeans.user}/build.properties"/>
            <available property="user.properties.file.exists" file="${user.properties.file}"/>
        </target>
        <target name="exists.config.active" unless="config.active">
            <echo level="warning" message="Active configuration (config.active property) is not set - using default."/>
            <property value="" name="config.active"/>
        </target>
        <target name="exists.netbeans.user" unless="netbeans.user">
            <echo level="warning" message="NetBeans IDE user directory (netbeans.user property) is not set. By specifying this property many properties required by the project will be automatically evaluated (e.g.: ant-ext library home, ...). You could also open this project in the NetBeans IDE - in this case this property would be set automatically."/>
        </target>
        <target name="exists.user.properties.file" unless="user.properties.file.exists">
            <echo level="warning" message="User properties file (user.properties.file) property is not set. By specifying this property many properties required by the project will be automatically evaluated (e.g.: libraries, platforms, ...)."/>
        </target>
        <target name="load-properties" depends="pre-load-properties,exists.config.active,exists.netbeans.user,exists.user.properties.file">
            <loadproperties srcfile="nbproject/project.properties">
                <filterchain>
                    <containsregex pattern="^configs\.${config.active}\.(.*)" replace="\1"/>
                    <concatfilter prepend="nbproject/project.properties"/>
                    <containsregex pattern="^platform.active=|^deployment.method=|^deployment.instance="/>
                </filterchain>
            </loadproperties>
            <property name="deployment.instance" value="default"/>
            <loadproperties srcfile="${user.properties.file}">
                <filterchain>
                    <replaceregex pattern="^platforms\.${platform.active}\." replace="platform."/>
                    <replaceregex pattern="^deployment\.${deployment.method}\.scriptfile=" replace="deployment.scriptfile="/>
                    <replaceregex pattern="^deployments\.${deployment.method}\.${deployment.instance}\.([^=]+)=" replace="\1="/>
                </filterchain>
            </loadproperties>
            <loadproperties srcfile="nbproject/project.properties">
                <filterchain>
                    <containsregex pattern="^configs\.${config.active}\.(.*)" replace="\1"/>
                    <concatfilter prepend="nbproject/project.properties"/>
                </filterchain>
            </loadproperties>
        </target>
        <!--basic-init-->
        <target name="exists.platform.active" unless="platform.active">
            <echo level="warning" message="Active platform (platform.active property) in not set. If you set this and user.properties.file property, many properties required by the project will be automatically evaluated (e.g.: platform home, platform classpath, ...)."/>
        </target>
        <target name="exists.platform.configuration" unless="platform.configuration">
            <echo level="warning" message="Platform configuration (platform.configuration) is not set. Using default (CLDC-1.0) configuration."/>
            <property name="platform.configuration" value="CLDC-1.0"/>
        </target>
        <target name="exists.platform.profile" unless="platform.profile">
            <echo level="warning" message="Platform profile (platform.profile) is not set. Using default (MIDP-1.0) profile."/>
            <property name="platform.profile" value="MIDP-1.0"/>
        </target>
        <target name="basic-init" depends="exists.platform.active,exists.platform.configuration,exists.platform.profile">
            <fail unless="libs.j2me_ant_ext.classpath">Classpath to J2ME Ant extension library (libs.j2me_ant_ext.classpath property) is not set. For example: location of mobility/modules/org-netbeans-mobility-antext.jar file in the IDE installation directory.</fail>
            <fail unless="platform.home">Platform home (platform.home property) is not set. Value of this property should be ${platform.active.description} emulator home directory location.</fail>
            <fail unless="platform.bootclasspath">Platform boot classpath (platform.bootclasspath property) is not set. Value of this property should be ${platform.active.description} emulator boot classpath containing all J2ME classes provided by emulator.</fail>
            <fail unless="src.dir">Must set src.dir</fail>
            <fail unless="build.dir">Must set build.dir</fail>
            <fail unless="dist.dir">Must set dist.dir</fail>
            <fail unless="dist.jar">Must set dist.jar</fail>
            <property name="javac.source" value="1.3"/>
            <property name="javac.target" value="1.1"/>
            <property name="javac.encoding" value="${file.encoding}"/>
            <property name="deployment.number" value="0.0.1"/>
            <property name="deployment.counter" value="000002"/>
            <condition property="no.deps">
                <istrue value="${no.dependencies}"/>
            </condition>
            <condition property="no.preprocess">
                <isfalse value="${use.preprocessor}"/>
            </condition>
            <condition property="no.javadoc.preview">
                <isfalse value="${javadoc.preview}"/>
            </condition>
            <condition property="filter.excludes.evaluated" value="${filter.excludes},${filter.more.excludes},**/*Test.java,**/test,**/test/**">
                <istrue value="${filter.exclude.tests}"/>
            </condition>
            <property name="filter.excludes.evaluated" value="${filter.excludes},${filter.more.excludes}"/>
            <condition property="deployment.do.override.jarurl" value="">
                <istrue value="${deployment.override.jarurl}"/>
            </condition>
            <condition property="config.active.name" value="DefaultConfiguration">
                <length string="${config.active}" trim="true" length="0"/>
            </condition>
            <property name="config.active.name" value="${config.active}"/>
            <taskdef resource="org/netbeans/mobility/antext/defs.properties">
                <classpath>
                    <pathelement path="${libs.j2me_ant_ext.classpath}"/>
                </classpath>
            </taskdef>
            <condition property="skip.deployment">
                <equals arg1="${deployment.method}" arg2="NONE" casesensitive="false" trim="true"/>
            </condition>
            <condition property="app-version.autoincrement.trigger">
                <istrue value="${app-version.autoincrement}"/>
            </condition>
            <condition property="debug.timeout" value="30000">
                <or>
                    <equals arg1="${debugger.timeout}" arg2="" trim="true"/>
                    <not>
                        <isset property="debugger.timeout"/>
                    </not>
                </or>
            </condition>
            <property name="debug.timeout" value="${debugger.timeout}"/>
            <nb-overrideproperty name="buildsystem.baton" value="${src.dir}"/>
        </target>
        <!--cldc-init-->
        <target name="cldc-pre-init">
            <condition property="cldc-platform.trigger">
                <equals arg1="CLDC" arg2="${platform.trigger}" casesensitive="false"/>
            </condition>
        </target>
        <target name="cldc-init" depends="cldc-pre-init" if="cldc-platform.trigger">
            <property name="preverify.sources.dir" location="${build.dir}/preverifysrc"/>
            <property name="manifest.build.file" location="${build.dir}/manifest.mf"/>
            <property name="platform.device" value=""/>
            <property name="dist.jad.url" value="file://"/>
            <property name="run.cmd.options" value=""/>
            <condition property="evaluated.run.security.domain" value="">
                <isfalse value="${run.use.security.domain}"/>
            </condition>
            <property name="evaluated.run.security.domain" value="${run.security.domain}"/>
            <condition property="override.jarurl.trigger">
                <and>
                    <istrue value="${cldc-platform.trigger}"/>
                    <istrue value="${deployment.override.jarurl}"/>
                </and>
            </condition>
            <property name="deployment.jad" location="${dist.dir}/${dist.jad}"/>
            <property name="deployment.jar" location="${dist.dir}/${dist.jar}"/>
            <property name="deployment.dir" location="${dist.dir}"/>
            <patternset id="deployment.patternset">
                <include name="${dist.jad}"/>
                <include name="${dist.jar}"/>
            </patternset>
        </target>
        <!--cdc-init-->
        <target name="cdc-init">
            <condition property="cdc-platform.trigger">
                <equals arg1="CDC" arg2="${platform.trigger}" casesensitive="false"/>
            </condition>
            <available file="${manifest.file}" property="manifest.available"/>
            <condition property="main.class.applet">
                <equals arg1="${main.class.class}" arg2="applet" casesensitive="false"/>
            </condition>
            <condition property="main.class.xlet">
                <equals arg1="${main.class.class}" arg2="xlet" casesensitive="false"/>
            </condition>
            <condition property="manifest.available+main.class+fat.jar">
                <and>
                    <isset property="manifest.available"/>
                    <isset property="main.class"/>
                    <istrue value="${platform.fat.jar}"/>
                    <not>
                        <equals arg1="${main.class}" arg2="" trim="true"/>
                    </not>
                </and>
            </condition>
            <condition property="manifest.available+main.class">
                <and>
                    <isset property="manifest.available"/>
                    <isset property="main.class"/>
                    <isfalse value="${platform.fat.jar}"/>
                    <not>
                        <equals arg1="${main.class}" arg2="" trim="true"/>
                    </not>
                </and>
            </condition>
            <condition property="application.version.invalid" value="true">
                <equals arg1="${deployment.number}" arg2="" trim="true"/>
            </condition>
            <fail if="application.version.invalid" message="Property deployment.number must not be empty and must contain version in format %d.%d.%d!"/>
            <condition property="sign.jar.trigger" value="true">
                <and>
                    <isset property="cdc-platform.trigger"/>
                    <istrue value="${sign.enabled}"/>
                </and>
            </condition>
        </target>
        <!--semc-init-->
        <target name="semc-pre-init" if="cdc-platform.trigger">
            <condition property="semc-platform.trigger">
                <equals arg1="semc" arg2="${platform.type}" casesensitive="false"/>
            </condition>
        </target>
        <target name="semc-init" depends="semc-pre-init" if="semc-platform.trigger">
            <condition property="semc.icon.invalid" value="true">
                <or>
                    <contains string="${semc.application.icon}" substring="$${"/>
                    <equals arg1="${semc.application.icon}" arg2="" trim="true"/>
                </or>
            </condition>
            <condition property="no.certificateorkey" value="true">
                <or>
                    <isset property="no.application.uid"/>
                    <equals arg1="${semc.certificate.path}" arg2="" trim="true"/>
                    <contains string="${semc.certificate.path}" substring="$${semc.certificate.path"/>
                    <equals arg1="${semc.private.key.path}" arg2="" trim="true"/>
                    <contains string="${semc.private.key.path}" substring="$${semc.private.key.path"/>
                </or>
            </condition>
            <property name="j9.dist" location="${build.dir}/j9/${semc.application.uid}.j9"/>
            <taskdef resource="org/netbeans/modules/j2me/cdc/project/defs.properties">
                <classpath>
                    <pathelement path="${libs.cdc-ant-utils.classpath}"/>
                </classpath>
            </taskdef>
            <taskdef resource="org/netbeans/modules/j2me/cdc/project/semc/defs.properties">
                <classpath>
                    <pathelement path="${libs.semc-ant-utils.classpath}"/>
                </classpath>
            </taskdef>
            <property name="deployment.dir" location="${dist.dir}"/>
            <patternset id="deployment.patternset">
                <include name="*.sis"/>
                <include name="*.SIS"/>
            </patternset>
        </target>
        <!--savaje-init-->
        <target name="savaje-pre-init" if="cdc-platform.trigger">
            <condition property="savaje-platform.trigger">
                <equals arg1="savaje" arg2="${platform.type}" casesensitive="false"/>
            </condition>
        </target>
        <target name="savaje-init" depends="savaje-pre-init" if="savaje-platform.trigger">
            <property name="savaje.application.uid" value="TBD"/>
            <condition property="savaje.bundle.base.invalid" value="true">
                <or>
                    <equals arg1="${savaje.bundle.base}" arg2="" trim="true"/>
                    <contains string="${savaje.bundle.base}" substring="$${savaje.bundle.base"/>
                </or>
            </condition>
            <condition property="savaje.unsupported.main" value="true">
                <or>
                    <equals arg1="${main.class.applet}" arg2="true"/>
                </or>
            </condition>
            <condition property="savaje.icon.invalid" value="true">
                <or>
                    <isset property="no.application.uid"/>
                    <contains string="${savaje.application.icon}" substring="$${"/>
                    <equals arg1="${savaje.application.icon}" arg2="" trim="true"/>
                </or>
            </condition>
            <property name="jnlp.dist" value="${build.dir}/jnlp/bundle.jnlp"/>
            <property name="deployment.dir" location="${dist.dir}"/>
            <patternset id="deployment.patternset">
                <include name="bundle.jnlp"/>
                <include name="bundle.policy"/>
                <include name="lib/*"/>
            </patternset>
        </target>
        <!--sjmc-init-->
        <target name="sjmc-pre-init" if="cdc-platform.trigger">
            <condition property="sjmc-platform.trigger">
                <equals arg1="sjmc" arg2="${platform.type}" casesensitive="false"/>
            </condition>
        </target>
        <target name="sjmc-init" depends="sjmc-pre-init" if="sjmc-platform.trigger"/>
        <!--ojec-init-->
        <target name="ojec-pre-init" if="cdc-platform.trigger">
            <condition property="ojec-platform.trigger">
                <equals arg1="ojec" arg2="${platform.type}" casesensitive="false"/>
            </condition>
        </target>
        <target name="ojec-init" depends="ojec-pre-init" if="ojec-platform.trigger"/>
        <!--cdc-hi-init-->
        <target name="cdc-hi-pre-init" if="cdc-platform.trigger">
            <condition property="cdc-hi-platform.trigger">
                <equals arg1="cdc-hi" arg2="${platform.type}" casesensitive="false"/>
            </condition>
        </target>
        <target name="cdc-hi-init" depends="cdc-hi-pre-init" if="cdc-hi-platform.trigger"/>
        <!--nokiaS80-init-->
        <target name="nokiaS80-pre-init" if="cdc-platform.trigger">
            <condition property="nokiaS80-platform.trigger">
                <equals arg1="nokiaS80" arg2="${platform.type}" casesensitive="false"/>
            </condition>
        </target>
        <target name="nokiaS80-init" depends="nokiaS80-pre-init" if="nokiaS80-platform.trigger">
            <property name="j9.dist" location="${build.dir}/j9/NOKIA.j9"/>
            <property name="manifest.build.file" location="${build.dir}/manifest.mf"/>
            <condition property="nokia.icon.invalid">
                <or>
                    <contains string="${nokiaS80.application.icon}" substring="$${"/>
                    <equals arg1="${nokiaS80.application.icon}" arg2="" trim="true"/>
                </or>
            </condition>
            <property name="deployment.dir" location="${dist.dir}"/>
            <patternset id="deployment.patternset">
                <include name="${dist.jar}"/>
            </patternset>
        </target>
        <!--init-->
        <target name="pre-init"/>
        <target name="post-init"/>
        <target name="init" depends="pre-init,load-properties,basic-init,cldc-init,cdc-init,semc-init,savaje-init,sjmc-init,ojec-init,cdc-hi-init,nokiaS80-init,post-init"/>
        <!--conditional clean-->
        <target name="conditional-clean-init">
            <uptodate property="no.clean.before.build" targetfile="${build.dir}/.timestamp">
                <srcfiles dir="nbproject">
                    <include name="project.properties"/>
                    <include name="build-impl.xml"/>
                </srcfiles>
            </uptodate>
        </target>
        <target name="conditional-clean" depends="init,conditional-clean-init" unless="no.clean.before.build" description="Clean project in case its meta information has changed.">
            <antcall target="do-clean" inheritall="true" inheritrefs="true"/>
        </target>
        <!--deps-jar-->
        <target name="deps-jar" depends="conditional-clean" unless="no.deps"/>
        <!--preprocess-->
        <target name="pre-preprocess"/>
        <target name="do-preprocess" unless="no.preprocess">
            <fail unless="preprocessed.dir">Must set preprocessed.dir</fail>
            <property name="abilities" value=""/>
            <property name="debug.level" value="debug"/>
            <mkdir dir="${preprocessed.dir}"/>
            <echo message="ignore me" file="${build.dir}/.timestamp"/>
            <nb-prep destdir="${preprocessed.dir}" preprocessfor="${config.active.name},${abilities},DebugLevel=${debug.level}" encoding="${javac.encoding}">
                <fileset dir="${buildsystem.baton}" defaultexcludes="${filter.use.standard}" excludes="${filter.excludes.evaluated}"/>
            </nb-prep>
            <copy todir="${preprocessed.dir}">
                <fileset dir="${buildsystem.baton}" defaultexcludes="${filter.use.standard}" excludes="${filter.excludes.evaluated},${build.classes.excludes}"/>
            </copy>
            <nb-overrideproperty name="buildsystem.baton" value="${preprocessed.dir}"/>
        </target>
        <target name="post-preprocess"/>
        <target name="preprocess" depends="deps-jar,pre-preprocess,do-preprocess,post-preprocess" description="Preprocess project sources."/>
        <!--compile-->
        <target name="pre-compile"/>
        <target name="do-compile">
            <fail unless="build.classes.dir">Must set build.classes.dir</fail>
            <mkdir dir="${build.classes.dir}"/>
            <javac includeantruntime="false" source="${javac.source}" target="${javac.target}" deprecation="${javac.deprecation}" optimize="${javac.optimize}" debug="${javac.debug}" destdir="${build.classes.dir}" srcdir="${buildsystem.baton}" bootclasspath="${platform.bootclasspath}" encoding="${javac.encoding}">
                <classpath>
                    <path path="${libs.classpath}"/>
                </classpath>
            </javac>
            <copy todir="${build.classes.dir}">
                <fileset dir="${buildsystem.baton}" defaultexcludes="${filter.use.standard}" excludes="${filter.excludes.evaluated},${build.classes.excludes}"/>
            </copy>
            <nb-overrideproperty name="buildsystem.baton" value="${build.classes.dir}"/>
        </target>
        <target name="extract-libs" description="Extracts all bundled libraries.">
            <mkdir dir="${build.classes.dir}"/>
            <nb-extract dir="${build.classes.dir}" excludeManifest="true" classpath="${libs.classpath}" excludeclasspath="${extra.classpath}"/>
        </target>
        <target name="post-compile"/>
        <target name="compile" depends="preprocess,pre-compile,extract-libs,do-compile,post-compile" description="Compile project classes."/>
        <!--compile-single-->
        <target name="pre-compile-single"/>
        <target name="do-compile-single">
            <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
            <mkdir dir="${build.classes.dir}"/>
            <javac includeantruntime="false" source="${javac.source}" target="${javac.target}" deprecation="${javac.deprecation}" optimize="${javac.optimize}" debug="${javac.debug}" srcdir="${buildsystem.baton}" destdir="${build.classes.dir}" bootclasspath="${platform.bootclasspath}" includes="${javac.includes}" encoding="${javac.encoding}">
                <classpath>
                    <path path="${libs.classpath}"/>
                </classpath>
            </javac>
        </target>
        <target name="post-compile-single"/>
        <target name="compile-single" depends="preprocess,pre-compile-single,do-compile-single,post-compile-single" description="Compile selected project classes."/>
        <!--proguard-->
        <target name="proguard-init" description="Up-to-date check before obfuscation.">
            <property name="obfuscation.level" value="0"/>
            <condition property="no.obfusc">
                <or>
                    <equals arg1="${obfuscation.level}" arg2="0"/>
                    <uptodate targetfile="${obfuscator.destjar}">
                        <srcfiles dir="${buildsystem.baton}"/>
                    </uptodate>
                </or>
            </condition>
            <uptodate property="obfuscation.up-to-date" targetfile="${obfuscator.destjar}">
                <srcfiles dir="${buildsystem.baton}"/>
            </uptodate>
        </target>
        <target name="skip-obfuscation" depends="proguard-init" if="obfuscation.up-to-date">
            <fail unless="obfuscated.classes.dir">Must set obfuscated.classes.dir</fail>
            <nb-overrideproperty name="buildsystem.baton" value="${obfuscated.classes.dir}"/>
        </target>
        <target name="proguard" depends="skip-obfuscation" description="Obfuscate project classes." unless="no.obfusc">
            <fail unless="obfuscated.classes.dir">Must set obfuscated.classes.dir</fail>
            <fail unless="obfuscator.srcjar">Must set obfuscator.srcjar</fail>
            <fail unless="obfuscator.destjar">Must set obfuscator.destjar</fail>
            <property name="obfuscator.classpath" value=""/>
            <dirname file="${obfuscator.srcjar}" property="obfuscator.srcjar.dir"/>
            <dirname file="${obfuscator.destjar}" property="obfuscator.destjar.dir"/>
            <mkdir dir="${obfuscator.srcjar.dir}"/>
            <mkdir dir="${obfuscator.destjar.dir}"/>
            <jar jarfile="${obfuscator.srcjar}" basedir="${buildsystem.baton}"/>
            <property name="obfuscation.custom" value=""/>
            <nb-obfuscate srcjar="${obfuscator.srcjar}" destjar="${obfuscator.destjar}" obfuscatorclasspath="${obfuscator.classpath}" classpath="${platform.bootclasspath}:${extra.classpath}" obfuscationLevel="${obfuscation.level}" extraScript="${obfuscation.custom}"/>
            <mkdir dir="${obfuscated.classes.dir}"/>
            <unjar src="${obfuscator.destjar}" dest="${obfuscated.classes.dir}"/>
            <nb-overrideproperty name="buildsystem.baton" value="${obfuscated.classes.dir}"/>
        </target>
        <!--obfuscate-->
        <target name="pre-obfuscate"/>
        <target name="post-obfuscate"/>
        <target name="obfuscate" depends="compile,pre-obfuscate,proguard,post-obfuscate" description="Obfuscate project classes."/>
        <!--lwuit-build-->
        <import file="lwuit.xml" optional="true"/>
        <target name="-lwuit-check">
            <condition property="lwuit.allowed">
                <and>
                    <available file="nbproject/lwuit.xml"/>
                    <isset property="is.mesdk_lwuit"/>
                </and>
            </condition>
        </target>
        <target name="-pre-lwuit-build" depends="-lwuit-check" if="lwuit.allowed"/>
        <target name="-lwuit-build" depends="-lwuit-check" if="lwuit.allowed">
            <antcall target="lwuit_build"/>
        </target>
        <target name="-post-lwuit-build" depends="-lwuit-check" if="lwuit.allowed"/>
        <target name="lwuit-build" depends="-lwuit-check,-pre-lwuit-build, -lwuit-build, -post-lwuit-build" if="lwuit.allowed"/>
        <!--preverify-->
        <target name="pre-preverify"/>
        <target name="do-preverify" if="cldc-platform.trigger">
            <fail unless="preverify.classes.dir">Must set preverify.classes.dir</fail>
            <mkdir dir="${preverify.sources.dir}"/>
            <copy todir="${preverify.sources.dir}">
                <fileset dir="${buildsystem.baton}" includes="**/*.class"/>
            </copy>
            <mkdir dir="${preverify.classes.dir}"/>
            <nb-preverify srcdir="${preverify.sources.dir}" destdir="${preverify.classes.dir}" classpath="${platform.bootclasspath}:${extra.classpath}" configuration="${platform.configuration}" platformhome="${platform.home}" platformtype="${platform.type}" commandline="${platform.preverifycommandline}"/>
            <copy todir="${preverify.classes.dir}">
                <fileset dir="${buildsystem.baton}" defaultexcludes="${filter.use.standard}" excludes="${filter.excludes.evaluated},${build.classes.excludes}"/>
            </copy>
            <nb-overrideproperty name="buildsystem.baton" value="${preverify.classes.dir}"/>
        </target>
        <target name="post-preverify"/>
        <target name="preverify" depends="obfuscate,lwuit-build,pre-preverify,do-preverify,post-preverify" description="Preverify project classes."/>
        <!--set-password-->
        <target name="set-password-init">
            <property name="sign.enabled" value="false"/>
            <condition property="skip-sign-keystore-password-input">
                <or>
                    <isfalse value="${sign.enabled}"/>
                    <and>
                        <isset property="sign.keystore"/>
                        <isset property="sign.keystore.password"/>
                        <not>
                            <equals arg1="${sign.keystore}" arg2="" trim="true"/>
                        </not>
                        <not>
                            <equals arg1="${sign.keystore.password}" arg2="" trim="true"/>
                        </not>
                    </and>
                </or>
            </condition>
            <condition property="skip-sign-alias-password-input">
                <or>
                    <isfalse value="${sign.enabled}"/>
                    <and>
                        <isset property="sign.keystore"/>
                        <isset property="sign.alias"/>
                        <isset property="sign.alias.password"/>
                        <not>
                            <equals arg1="${sign.keystore}" arg2="" trim="true"/>
                        </not>
                        <not>
                            <equals arg1="${sign.alias}" arg2="" trim="true"/>
                        </not>
                        <not>
                            <equals arg1="${sign.alias.password}" arg2="" trim="true"/>
                        </not>
                    </and>
                </or>
            </condition>
        </target>
        <target name="set-keystore-password" if="netbeans.home" unless="skip-sign-keystore-password-input">
            <nb-enter-password keystore="${sign.keystore}" passwordproperty="sign.keystore.password"/>
        </target>
        <target name="set-alias-password" if="netbeans.home" unless="skip-sign-alias-password-input">
            <nb-enter-password keystore="${sign.keystore}" keyalias="${sign.alias}" passwordproperty="sign.alias.password"/>
        </target>
        <target name="set-password" depends="set-password-init,set-keystore-password,set-alias-password"/>
        <!--create JAD-->
        <target name="add-configuration" unless="contains.manifest.configuration">
            <nb-output file="${dist.dir}/${dist.jad}" encoding="UTF-8" append="true">MicroEdition-Configuration: ${platform.configuration}
    </nb-output>
            <nb-output file="${manifest.build.file}" encoding="UTF-8" append="true">MicroEdition-Configuration: ${platform.configuration}
    </nb-output>
        </target>
        <target name="add-profile" unless="contains.manifest.profile">
            <nb-output file="${dist.dir}/${dist.jad}" encoding="UTF-8" append="true">MicroEdition-Profile: ${platform.profile}
    </nb-output>
            <nb-output file="${manifest.build.file}" encoding="UTF-8" append="true">MicroEdition-Profile: ${platform.profile}
    </nb-output>
        </target>
        <target name="create-jad" if="cldc-platform.trigger">
            <fail unless="dist.jad">Must set dist.jad</fail>
            <mkdir dir="${build.dir}"/>
            <dirname file="${dist.dir}/${dist.jad}" property="dist.jad.dir"/>
            <mkdir dir="${dist.jad.dir}"/>
            <condition property="evaluated.manifest.apipermissions" value="${manifest.apipermissions}">
                <not>
                    <equals arg1="${platform.profile}" arg2="MIDP-1.0"/>
                </not>
            </condition>
            <condition property="evaluated.manifest.pushregistry" value="${manifest.pushregistry}">
                <not>
                    <equals arg1="${platform.profile}" arg2="MIDP-1.0"/>
                </not>
            </condition>
            <condition property="contains.manifest.configuration">
                <contains substring="MicroEdition-Configuration: " string="${manifest.others}"/>
            </condition>
            <condition property="contains.manifest.profile">
                <contains substring="MicroEdition-Profile: " string="${manifest.others}"/>
            </condition>
            <property value="" name="evaluated.manifest.apipermissions"/>
            <property value="" name="evaluated.manifest.pushregistry"/>
            <property name="manifest.jad" value=""/>
            <property name="manifest.manifest" value=""/>
            <nb-output file="${dist.dir}/${dist.jad}" encoding="UTF-8">${manifest.midlets}${evaluated.manifest.apipermissions}${evaluated.manifest.pushregistry}${manifest.others}${manifest.jad}</nb-output>
            <nb-output file="${manifest.build.file}" encoding="UTF-8">${manifest.midlets}${evaluated.manifest.apipermissions}${evaluated.manifest.pushregistry}${manifest.others}${manifest.manifest}</nb-output>
            <antcall target="add-configuration" inheritall="true" inheritrefs="true"/>
            <antcall target="add-profile" inheritall="true" inheritrefs="true"/>
            <property name="manifest.available" value="true"/>
        </target>
        <!--do-extra-libs-->
        <target name="do-extra-libs" if="extra.classpath">
            <property name="dist.lib.dir" value="${dist.dir}/lib"/>
            <mkdir dir="${dist.lib.dir}"/>
            <copy todir="${dist.lib.dir}">
                <path path="${extra.classpath}"/>
                <flattenmapper/>
            </copy>
        </target>
        <!--nokiaS80-manifest-->
        <target name="nokiaS80-prepare-j9" if="nokiaS80-platform.trigger">
            <fail message="Main class is not set!">
                <condition>
                    <equals arg1="${main.class}" arg2="" trim="true"/>
                </condition>
            </fail>
            <mkdir dir="${build.dir}/j9"/>
            <taskdef name="j9builder" classname="org.netbeans.modules.j2me.cdc.project.J9Builder" classpath="${libs.cdc-ant-utils.classpath}"/>
            <j9builder jvmargs="${run.jvmargs}" mainclass="${main.class}" args="${application.args}" home="${platform.home}" dist="${j9.dist}" id="NOKIA" platform="${platform.type}" xlet="${main.class.xlet}" applet="${main.class.applet}" jarname="${dist.jar}"/>
            <copy file="${manifest.file}" tofile="${manifest.build.file}" failonerror="false"/>
            <property name="manifest.available" value="true"/>
            <loadfile property="nokia.manifest.j9" srcFile="${j9.dist}"/>
        </target>
        <target name="nokiaS80-prepare-manifest" depends="nokiaS80-prepare-j9" if="nokiaS80-platform.trigger" unless="nokia.icon.invalid">
            <pathconvert property="logo.icon.name" pathsep=" ">
                <path path="${nokiaS80.application.icon}"/>
                <chainedmapper>
                    <flattenmapper/>
                    <globmapper from="*" to="*"/>
                </chainedmapper>
        

    The error says class file is missing, you can try to clean and build.

  • Preverification failed with error code 255

    Hello,
    I am having some problems to run a simple Hello World MIDlet application on Ubuntu (2.6.20-15-generic #2 SMP Sun Apr 15 06:17:24 UTC 2007 x86_64 GNU/Linux). I am using Netbeans 6 Beta 2 (with Mobility Pack 2.5.2 ).
    I am getting an error in the preverification process:
    Preverifying 1 file(s) into /home/brunogh/NetBeansProjects/MobileApplication3/build/preverified directory.
    /home/brunogh/NetBeansProjects/MobileApplication3/nbproject/build-impl.xml:424: Preverification failed with error code 255.
    I am not sure if it could be a WTK problem, Mobility Pack problem or anything else... I've googled and could not find anything with the error 255, just with the error 1... any ideas/suggestions?
    The whole output is below
    pre-init:
    pre-load-properties:
    exists.config.active:
    exists.netbeans.user:
    exists.user.properties.file:
    load-properties:
    exists.platform.active:
    exists.platform.configuration :
    exists.platform.profile:
    basic-init:
    cldc-pre-init:
    cldc-init:
    cdc-init:
    ricoh-pre-init:
    ricoh-init:
    semc-pre-init:
    semc-init:
    savaje-pre-init:
    savaje-init:
    nokiaS80-pre-init:
    nokiaS80-init:
    nsicom-pre-init:
    nsicom-init:
    post-init:
    init:
    conditional-clean-init:
    conditional-clean:
    pre-clean:
    clean-timestamp:
    clean-preprocessed:
    clean-classes:
    Deleting directory /home/brunogh/NetBeansProjects/MobileApplication3/build/compiled
    clean-obfuscated:
    clean-preverified:
    Deleting directory /home/brunogh/NetBeansProjects/MobileApplication3/build/preverifysrc
    Deleting directory /home/brunogh/NetBeansProjects/MobileApplication3/build/preverified
    clean-manifest:
    clean-jar:
    clean-jad:
    clean-javadoc:
    clean-j9:
    clean-ricoh:
    clean-semc:
    clean-savaje:
    post-clean:
    do-clean:
    deps-jar:
    pre-preprocess:
    do-preprocess:
    post-preprocess:
    preprocess:
    pre-compile:
    extract-libs:
    Created dir: /home/brunogh/NetBeansProjects/MobileApplication3/build/compiled
    do-compile:
    Compiling 1 source file to /home/brunogh/NetBeansProjects/MobileApplication3/build/compiled
    post-compile:
    compile:
    pre-obfuscate:
    proguard-init:
    proguard:
    Building jar: /home/brunogh/NetBeansProjects/MobileApplication3/build/before-obfuscation.jar
    ProGuard, version 4.0.1
    Reading program jar [home/brunogh/NetBeansProjects/MobileApplication3/build/before- obfuscation.jar]
    Reading library jar [home/brunogh/WTK2.5.1/lib/wma20.jar]
    Reading library jar [home/brunogh/WTK2.5.1/lib/jsr082.jar]
    Reading library jar [home/brunogh/WTK2.5.1/lib/j2me-xmlrpc.jar]
    Reading library jar [home/brunogh/WTK2.5.1/lib/satsa- jcrmi.jar]
    Note: duplicate definition of library class [java.rmi.Remote]
    Note: duplicate definition of library class [java.rmi.RemoteException]
    Reading library jar [home/brunogh/WTK2.5.1/lib/satsa-apdu.jar]
    Note: duplicate definition of library class [ com.sun.satsa.acl.ACEntry]
    Note: duplicate definition of library class [com.sun.satsa.acl.ACFile]
    Note: duplicate definition of library class [com.sun.satsa.acl.ACLFileReader]
    Note: duplicate definition of library class [ com.sun.satsa.acl.ACLPermissions]
    Note: duplicate definition of library class [com.sun.satsa.acl.ACList]
    Note: duplicate definition of library class [com.sun.satsa.acl.APDUPermissions]
    Note: duplicate definition of library class [ com.sun.satsa.acl.AccessControlManager]
    Note: duplicate definition of library class [com.sun.satsa.acl.JCRMIPermission]
    Note: duplicate definition of library class [com.sun.satsa.acl.JCRMIPermissions]
    Note: duplicate definition of library class [ com.sun.satsa.acl.PINAttributes]
    Note: duplicate definition of library class [com.sun.satsa.acl.PINData]
    Note: duplicate definition of library class [com.sun.satsa.acl.PINEntryDialog]
    Note: duplicate definition of library class [ java.lang.UnsupportedOperationException]
    Reading library jar [home/brunogh/WTK2.5.1/lib/satsa-crypto.jar]
    Reading library jar [home/brunogh/WTK2.5.1/lib/jsr179.jar]
    Reading library jar [home/brunogh/WTK2.5.1/lib/satsa- pki.jar]
    Note: duplicate definition of library class [com.sun.satsa.acl.ACEntry]
    Note: duplicate definition of library class [com.sun.satsa.acl.ACFile]
    Note: duplicate definition of library class [com.sun.satsa.acl.ACLFileReader ]
    Note: duplicate definition of library class [com.sun.satsa.acl.ACLPermissions]
    Note: duplicate definition of library class [com.sun.satsa.acl.ACList]
    Note: duplicate definition of library class [com.sun.satsa.acl.APDUPermissions ]
    Note: duplicate definition of library class [com.sun.satsa.acl.AccessControlManager]
    Note: duplicate definition of library class [com.sun.satsa.acl.JCRMIPermission]
    Note: duplicate definition of library class [ com.sun.satsa.acl.JCRMIPermissions]
    Note: duplicate definition of library class [com.sun.satsa.acl.PINAttributes]
    Note: duplicate definition of library class [com.sun.satsa.acl.PINData]
    Note: duplicate definition of library class [ com.sun.satsa.acl.PINEntryDialog]
    Reading library jar [home/brunogh/WTK2.5.1/lib/jsr75.jar]
    Reading library jar [home/brunogh/WTK2.5.1/lib/jsr180.jar]
    Reading library jar [home/brunogh/WTK2.5.1/lib/jsr238.jar]
    Reading library jar [home/brunogh/WTK2.5.1/lib/jsr229.jar]
    Reading library jar [home/brunogh/WTK2.5.1/lib/j2me-ws.jar]
    Reading library jar [home/brunogh/WTK2.5.1/lib/jsr234.jar]
    Reading library jar [home/brunogh/WTK2.5.1/lib/jsr226.jar]
    Reading library jar [home/brunogh/WTK2.5.1/lib/jsr184.jar]
    Reading library jar [home/brunogh/WTK2.5.1/lib/mmapi.jar]
    Reading library jar [home/brunogh/WTK2.5.1/lib/jsr239.jar]
    Note: duplicate definition of library class [ java.lang.UnsupportedOperationException]
    Reading library jar [home/brunogh/WTK2.5.1/lib/jsr211.jar]
    Reading library jar [home/brunogh/WTK2.5.1/lib/cldcapi10.jar]
    Reading library jar [home/brunogh/WTK2.5.1/lib/midpapi10.jar]
    Note: duplicate definition of library class [com.sun.cldc.i18n.j2me.UTF_8_Reader]
    Note: there were 29 duplicate class definitions.
    Preparing output jar [home/brunogh/NetBeansProjects/MobileApplication3/build/obfuscated.jar]
    Copying resources from program jar [home/brunogh/NetBeansProjects/MobileApplication3/build/before-obfuscation.jar]
    Created dir: /home/brunogh/NetBeansProjects/MobileApplication3/build/obfuscated
    Expanding: /home/brunogh/NetBeansProjects/MobileApplication3/build/obfuscated.jar into /home/brunogh/NetBeansProjects/MobileApplication3/build/obfuscated
    post-obfuscate:
    obfuscate:
    pre-preverify:
    do-preverify:
    Created dir: /home/brunogh/NetBeansProjects/MobileApplication3/build/preverifysrc
    Copying 1 file to /home/brunogh/NetBeansProjects/MobileApplication3/build/preverifysrc
    Created dir: /home/brunogh/NetBeansProjects/MobileApplication3/build/preverified
    Preverifying 1 file(s) into /home/brunogh/NetBeansProjects/MobileApplication3/build/preverified directory.
    /home/brunogh/NetBeansProjects/MobileApplication3/nbproject/build- impl.xml:424: Preverification failed with error code 255.
    BUILD FAILED (total time: 5 seconds)
    Thanks,
    Bruno

    pre-init:
    pre-load-properties:
    exists.config.active:
    exists.netbeans.user:
    exists.user.properties.file:
    load-properties:
    exists.platform.active:
    exists.platform.configuration:
    exists.platform.profile:
    init:
    post-init:
    pre-preprocess:
    deps-jar:
    conditional-clean:
    pre-clean:
    do-clean:
    post-clean:
    preprocess:
    Created dir: C:\prakash\sip\build\preprocessed
    Pre-processing 2 file(s) into C:\prakash\sip\build\preprocessed directory.
    post-preprocess:
    extract-libs:
    Created dir: C:\prakash\sip\build\compiled
    pre-compile:
    compile:
    Compiling 2 source files to C:\prakash\sip\build\compiled
    Copying 1 file to C:\prakash\sip\build\compiled
    post-compile:
    obfuscate-check:
    pre-obfuscate:
    obfuscate:
    Building jar: C:\prakash\sip\build\before-obfuscation.jar
    Copying jar file (C:\prakash\sip\build\before-obfuscation.jar) to C:\prakash\sip\build\obfuscated.jar.
    Created dir: C:\prakash\sip\build\obfuscated
    Expanding: C:\prakash\sip\build\obfuscated.jar into C:\prakash\sip\build\obfuscated
    post-obfuscate:
    pre-preverify:
    preverify:
    Created dir: C:\prakash\sip\build\preverified
    Preverifying 1698 file(s) into C:\prakash\sip\build\preverified directory.
    Error preverifying class com.sun.midp.jadtool.AppDescriptor
    VERIFIER ERROR com/sun/midp/jadtool/AppDescriptor.storeKeyStore(Ljava/lang/String;[C)V:
    Cannot find class java/io/FileOutputStream
    C:\prakash\sip\nbproject\build-impl.xml:269: Preverification failed with error code 1.
    BUILD FAILED (total time: 1 minute 7 seconds)
    Question:
    how can i resolve this problem?
    can anyone help me? .........

  • Transport control program tp ended with error code 0212

    Hi all,
    I have created a two system landscape of development & production server. But while I am releasing any request from develpoment server a error is showing: " Transport control program tp ended with error code 0212 Errors: could not access file as supposed (see dev_tp or S".I have chosen development server as domain controller. TMS alert viewer error message also contains the following information------>command: TMS_MGR_READ_TRANSPORT_QUEUE
                                                                           service: transport service
                                                                           start : online
                                                                           Function: TMS_TP_SHOW_BUFFER
                                                                           message: TP_REPORTED_ERROR
    In import monitor it's showing : "tp finished: could not access file as supposed (see dev_tp or SLOG1113.K"
    Can you tell me how to resolve this issue?

    dev_tp contains:    
    This is R3trans.exe version 6.14 (release 700 - 09.04.10 - 11:26:00).
    unicode enabled version
    usage: R3trans.exe [<options>] <control_file>
    The control_file describes what R3trans has to do.
    The following options are possible:
    -c f1 f2 : Copy file f1 to f2 with character set conversion.
    -d       : DB connect. Test if SAP database is available.
    -i file  : Import from file without using a control file.
    -l file  : List the contents of file to the log file.
    -m file  : List the contents of file to allow tp to create a cofile.
    -t       : Test. All database changes are rolled back.
    -t4      : Trace level 4. Switch on developer trace.
    -u <int> : Unconditional modes. See below.
    -v       : Verbose. Write more details to the log file.
    -w file  : Log file. The default log file is 'trans.log'.
    -x       : DB connect without access on any SAP table.
    R3trans.exe finished (0012).
    & the slog file is not there in the trans/log directory

  • Can't update, get "Photoshop 13.1.2 for Creative Cloud Done with Errors. Error Code: U44M1P6" Help!

    Have tried several times to Update Photoshop Mac CS6, always get "
    Photoshop 13.1.2 for Creative Cloud
    Done with Errors. Error Code: U44M1P6"
    What gives and how can I fix?

    In this case since it is a feature bearing update for Creative Cloud Bpolatty will need to download the update through the Adobe Application Manager/
    Bpolatty I would recommend reviewing the installation log file for the Photoshop 13.1.2 update.  You can find details on how to locate and interpret the log file at Troubleshoot with install logs | CS5, CS5.5, CS6 - http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html.

  • Installation of Photoshop update 13.1.2 for creative cloud fails with error code U44M1P7 I need help

    I need help installing update 13.1.2 for Photoshop creative cloud, installation fails with error code: U44M1P7. Could someone please help?

    Sorry to bother you.
    I could find the answer after searching previous posts about this language problem.
    Had to change my language in AAM profile and then download PS CS6 again ( english version ).
    Then open the actual Photoshop and in preferences > interface you can besides the Dutch also option for English.
    restart application and Voila.
    Greetz, Jeroen

  • SAP on V6R1 - ABAP Import:Program 'Migration Monitor' exits with error code

    Hello,
    We are doing an installation of SAP NW 7.01 SR1 on V6R1.
    <br>
    We were getting error in SAPAPPL2.TSK.bck we merged the files with following command:R3load --merge_only <TSK file> and refering sap note:Note 455195 - R3load: Use of TSK files.
    <br>
    We are again getting error in following steps:
    <br>
    sapinst.log
    <br>
    <br>WARNING 2009-09-30 23:25:28.477
    Execution of the command "Y:\QOpenSys\QIBM\ProdData\JavaVM\jdk14\64bit\bin\java -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst" finished with return code 103. Output:
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)
    IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 OS400 ppc64-64 j9ap64142sr13-20090310 (JIT enabled)
    J9VM - 20090309_31291_BHdSMr
    JIT  - 20090210_1447ifx1_r8
    GC   - 200902_24)
    I<br>mport Monitor jobs: running 1, waiting 27, completed 0, failed 0, total 28.
    <br>Loading of 'SAPNTAB' import package: OK
    <br>Import Monitor jobs: running 0, waiting 27, completed 1, failed 0, total 28.
    Import Monitor jobs: running 1, waiting 26, completed 1, failed 0, total 28.<br>
    Import Monitor jobs: running 2, waiting 25, completed 1, failed 0, total 28.<br>
    Import Monitor jobs: running 3, waiting 24, completed 1, failed 0, total 28.<br>
    Loading of 'DOKCLU' import package: OK
    Import Monitor jobs: running 2, waiting 24, completed 2, failed 0, total 28.<br>
    Import Monitor jobs: running 3, waiting 23, completed 2, failed 0, total 28.<br>
    Loading of 'SAPAPPL1' import package: OK
    Import Monitor jobs: running 2, waiting 23, completed 3, failed 0, total 28.<br>
    Import Monitor jobs: running 3, waiting 22, completed 3, failed 0, total 28.<br>
    Loading of 'SAPAPPL2' import package: ERROR
    Import Monitor jobs: running 2, waiting 22, completed 3, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 21, completed 3, failed 1, total 28.<br>
    Loading of 'DD03L' import package: OK
    Import Monitor jobs: running 2, waiting 21, completed 4, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 20, completed 4, failed 1, total 28.<br>
    Loading of 'SCPRSVALS' import package: OK
    Import Monitor jobs: running 2, waiting 20, completed 5, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 19, completed 5, failed 1, total 28.<br>
    Loading of 'SAPSDIC' import package: OK
    Import Monitor jobs: running 2, waiting 19, completed 6, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 18, completed 6, failed 1, total 28.<br>
    Loading of 'SCPRVALS' import package: OK
    Import Monitor jobs: running 2, waiting 18, completed 7, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 17, completed 7, failed 1, total 28.<br>
    Loading of 'SAPSSRC' import package: OK
    Import Monitor jobs: running 2, waiting 17, completed 8, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 16, completed 8, failed 1, total 28.<br>
    Loading of 'FUPARAREF' import package: OK
    Import Monitor jobs: running 2, waiting 16, completed 9, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 15, completed 9, failed 1, total 28.<br>
    Loading of 'TODIR' import package: OK
    Import Monitor jobs: running 2, waiting 15, completed 10, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 14, completed 10, failed 1, total 28.<br>
    Loading of 'SEOSUBCODF' import package: OK
    Import Monitor jobs: running 2, waiting 14, completed 11, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 13, completed 11, failed 1, total 28.<br>
    Loading of 'E071K' import package: OK
    Import Monitor jobs: running 2, waiting 13, completed 12, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 12, completed 12, failed 1, total 28.<br>
    Loading of 'SAPPOOL' import package: OK
    Import Monitor jobs: running 2, waiting 12, completed 13, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 11, completed 13, failed 1, total 28.<br>
    Loading of 'SAPSPROT' import package: OK
    Import Monitor jobs: running 2, waiting 11, completed 14, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 10, completed 14, failed 1, total 28.<br>
    Loading of 'SAPSDOCU' import package: OK
    Import Monitor jobs: running 2, waiting 10, completed 15, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 9, completed 15, failed 1, total 28.<br>
    Loading of 'SAPCLUST' import package: OK
    Import Monitor jobs: running 2, waiting 9, completed 16, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 8, completed 16, failed 1, total 28.<br>
    Loading of 'SAPSLOAD' import package: OK
    Import Monitor jobs: running 2, waiting 8, completed 17, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 7, completed 17, failed 1, total 28.<br>
    Loading of 'SAPSLEXC' import package: OK
    Import Monitor jobs: running 2, waiting 7, completed 18, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 6, completed 18, failed 1, total 28.<br>
    Loading of 'SAPUSER' import package: OK
    Import Monitor jobs: running 2, waiting 6, completed 19, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 5, completed 19, failed 1, total 28.<br>
    Loading of 'SAPDDIM' import package: OK
    Import Monitor jobs: running 2, waiting 5, completed 20, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 4, completed 20, failed 1, total 28.<br>
    Loading of 'SAPDFACT' import package: OK
    Import Monitor jobs: running 2, waiting 4, completed 21, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 3, completed 21, failed 1, total 28.<br>
    Loading of 'SAPDODS' import package: OK
    Import Monitor jobs: running 2, waiting 3, completed 22, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 2, completed 22, failed 1, total 28.<br>
    Loading of 'SAPUSER1' import package: OK
    Import Monitor jobs: running 2, waiting 2, completed 23, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 1, completed 23, failed 1, total 28.<br>
    Loading of 'SAP0000' import package: OK
    Import Monitor jobs: running 2, waiting 1, completed 24, failed 1, total 28.<br>
    Loading of 'SAPAPPL0' import package: OK
    Import Monitor jobs: running 1, waiting 1, completed 25, failed 1, total 28.<br>
    Loading of 'SAPSSEXC' import package: OK
    Import Monitor jobs: running 0, waiting 1, completed 26, failed 1, total 28.<br>
    <br>
    WARNING[E] 2009-09-30 23:25:28.524
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log,
    <br>
    ERROR 2009-09-30 23:25:28.914
    FCO-00011  The step runMigrationMonitor with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR .
    <br>
    <br>import_monitor.log.
    <br>****************************************************************************************************************************************************
    <br>INFO: 2009-09-30 23:26:33 com.sap.inst.migmon.LoadTask run
    Loading of 'SAP0000' import package is successfully completed.
    <br>
    INFO: 2009-09-30 23:30:31 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPAPPL0' import package is successfully completed.
    <br>
    INFO: 2009-09-30 23:31:16 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPSSEXC' import package is successfully completed.
    <br>
    WARNING: 2009-09-30 23:31:31
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2009-09-30 23:31:31
    1 error(s) during processing of packages.
    INFO: 2009-09-30 23:31:31
    Import Monitor is stopped.
    <br>*************************************************************************************************************************************************
    <br>SAPAPPL02.LOG
    <br>**************************************************************************************************************************************************
    <br>TVV1 in *LIBL type *FILE not found. MSGID= Job=015908/SAPINST/QJVAEXEC
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    (DB) INFO: TVV1 created #20091001110304
    <br>
    (DB) INFO: TVV1 deleted/truncated #20091001110304
    <br>
    (IMP) INFO: import of TVV1 completed (0 rows) #20091001110304
    <br>
    (DB) ERROR: DDL statement failed<br>
    (ALTER TABLE "TVV1" DROP PRIMARY KEY )<br>
    DbSlExecute: rc = 99<br>
      (SQL error -539)<br>
      error message returned by DbSl:
    Table TVV1 in R3E04DATA does not have a primary or unique key. MSGID= Job=015908/SAPINST/QJVAEXEC
    Your inputs will help a lot.
    Regards,
    Prasad

    Hello,
    We are doing an installation of SAP NW 7.01 SR1 on V6R1.
    <br>
    We were getting error in SAPAPPL2.TSK.bck we merged the files with following command:R3load --merge_only <TSK file> and refering sap note:Note 455195 - R3load: Use of TSK files.
    <br>
    We are again getting error in following steps:
    <br>
    sapinst.log
    <br>
    <br>WARNING 2009-09-30 23:25:28.477
    Execution of the command "Y:\QOpenSys\QIBM\ProdData\JavaVM\jdk14\64bit\bin\java -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst" finished with return code 103. Output:
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)
    IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 OS400 ppc64-64 j9ap64142sr13-20090310 (JIT enabled)
    J9VM - 20090309_31291_BHdSMr
    JIT  - 20090210_1447ifx1_r8
    GC   - 200902_24)
    I<br>mport Monitor jobs: running 1, waiting 27, completed 0, failed 0, total 28.
    <br>Loading of 'SAPNTAB' import package: OK
    <br>Import Monitor jobs: running 0, waiting 27, completed 1, failed 0, total 28.
    Import Monitor jobs: running 1, waiting 26, completed 1, failed 0, total 28.<br>
    Import Monitor jobs: running 2, waiting 25, completed 1, failed 0, total 28.<br>
    Import Monitor jobs: running 3, waiting 24, completed 1, failed 0, total 28.<br>
    Loading of 'DOKCLU' import package: OK
    Import Monitor jobs: running 2, waiting 24, completed 2, failed 0, total 28.<br>
    Import Monitor jobs: running 3, waiting 23, completed 2, failed 0, total 28.<br>
    Loading of 'SAPAPPL1' import package: OK
    Import Monitor jobs: running 2, waiting 23, completed 3, failed 0, total 28.<br>
    Import Monitor jobs: running 3, waiting 22, completed 3, failed 0, total 28.<br>
    Loading of 'SAPAPPL2' import package: ERROR
    Import Monitor jobs: running 2, waiting 22, completed 3, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 21, completed 3, failed 1, total 28.<br>
    Loading of 'DD03L' import package: OK
    Import Monitor jobs: running 2, waiting 21, completed 4, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 20, completed 4, failed 1, total 28.<br>
    Loading of 'SCPRSVALS' import package: OK
    Import Monitor jobs: running 2, waiting 20, completed 5, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 19, completed 5, failed 1, total 28.<br>
    Loading of 'SAPSDIC' import package: OK
    Import Monitor jobs: running 2, waiting 19, completed 6, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 18, completed 6, failed 1, total 28.<br>
    Loading of 'SCPRVALS' import package: OK
    Import Monitor jobs: running 2, waiting 18, completed 7, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 17, completed 7, failed 1, total 28.<br>
    Loading of 'SAPSSRC' import package: OK
    Import Monitor jobs: running 2, waiting 17, completed 8, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 16, completed 8, failed 1, total 28.<br>
    Loading of 'FUPARAREF' import package: OK
    Import Monitor jobs: running 2, waiting 16, completed 9, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 15, completed 9, failed 1, total 28.<br>
    Loading of 'TODIR' import package: OK
    Import Monitor jobs: running 2, waiting 15, completed 10, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 14, completed 10, failed 1, total 28.<br>
    Loading of 'SEOSUBCODF' import package: OK
    Import Monitor jobs: running 2, waiting 14, completed 11, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 13, completed 11, failed 1, total 28.<br>
    Loading of 'E071K' import package: OK
    Import Monitor jobs: running 2, waiting 13, completed 12, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 12, completed 12, failed 1, total 28.<br>
    Loading of 'SAPPOOL' import package: OK
    Import Monitor jobs: running 2, waiting 12, completed 13, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 11, completed 13, failed 1, total 28.<br>
    Loading of 'SAPSPROT' import package: OK
    Import Monitor jobs: running 2, waiting 11, completed 14, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 10, completed 14, failed 1, total 28.<br>
    Loading of 'SAPSDOCU' import package: OK
    Import Monitor jobs: running 2, waiting 10, completed 15, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 9, completed 15, failed 1, total 28.<br>
    Loading of 'SAPCLUST' import package: OK
    Import Monitor jobs: running 2, waiting 9, completed 16, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 8, completed 16, failed 1, total 28.<br>
    Loading of 'SAPSLOAD' import package: OK
    Import Monitor jobs: running 2, waiting 8, completed 17, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 7, completed 17, failed 1, total 28.<br>
    Loading of 'SAPSLEXC' import package: OK
    Import Monitor jobs: running 2, waiting 7, completed 18, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 6, completed 18, failed 1, total 28.<br>
    Loading of 'SAPUSER' import package: OK
    Import Monitor jobs: running 2, waiting 6, completed 19, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 5, completed 19, failed 1, total 28.<br>
    Loading of 'SAPDDIM' import package: OK
    Import Monitor jobs: running 2, waiting 5, completed 20, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 4, completed 20, failed 1, total 28.<br>
    Loading of 'SAPDFACT' import package: OK
    Import Monitor jobs: running 2, waiting 4, completed 21, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 3, completed 21, failed 1, total 28.<br>
    Loading of 'SAPDODS' import package: OK
    Import Monitor jobs: running 2, waiting 3, completed 22, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 2, completed 22, failed 1, total 28.<br>
    Loading of 'SAPUSER1' import package: OK
    Import Monitor jobs: running 2, waiting 2, completed 23, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 1, completed 23, failed 1, total 28.<br>
    Loading of 'SAP0000' import package: OK
    Import Monitor jobs: running 2, waiting 1, completed 24, failed 1, total 28.<br>
    Loading of 'SAPAPPL0' import package: OK
    Import Monitor jobs: running 1, waiting 1, completed 25, failed 1, total 28.<br>
    Loading of 'SAPSSEXC' import package: OK
    Import Monitor jobs: running 0, waiting 1, completed 26, failed 1, total 28.<br>
    <br>
    WARNING[E] 2009-09-30 23:25:28.524
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log,
    <br>
    ERROR 2009-09-30 23:25:28.914
    FCO-00011  The step runMigrationMonitor with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR .
    <br>
    <br>import_monitor.log.
    <br>****************************************************************************************************************************************************
    <br>INFO: 2009-09-30 23:26:33 com.sap.inst.migmon.LoadTask run
    Loading of 'SAP0000' import package is successfully completed.
    <br>
    INFO: 2009-09-30 23:30:31 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPAPPL0' import package is successfully completed.
    <br>
    INFO: 2009-09-30 23:31:16 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPSSEXC' import package is successfully completed.
    <br>
    WARNING: 2009-09-30 23:31:31
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2009-09-30 23:31:31
    1 error(s) during processing of packages.
    INFO: 2009-09-30 23:31:31
    Import Monitor is stopped.
    <br>*************************************************************************************************************************************************
    <br>SAPAPPL02.LOG
    <br>**************************************************************************************************************************************************
    <br>TVV1 in *LIBL type *FILE not found. MSGID= Job=015908/SAPINST/QJVAEXEC
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    (DB) INFO: TVV1 created #20091001110304
    <br>
    (DB) INFO: TVV1 deleted/truncated #20091001110304
    <br>
    (IMP) INFO: import of TVV1 completed (0 rows) #20091001110304
    <br>
    (DB) ERROR: DDL statement failed<br>
    (ALTER TABLE "TVV1" DROP PRIMARY KEY )<br>
    DbSlExecute: rc = 99<br>
      (SQL error -539)<br>
      error message returned by DbSl:
    Table TVV1 in R3E04DATA does not have a primary or unique key. MSGID= Job=015908/SAPINST/QJVAEXEC
    Your inputs will help a lot.
    Regards,
    Prasad

  • SAP ECC error:'Migration Monitor' exits with error code 103.

    Hi All,
    I am doing SAP ECC installation for windows 32 bit with MAXDB as backend.
    I am stuck at the import ABAP.Getting error
    ERROR 2008-08-08 16:10:53
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    1) imort_monitor.java.log-->contains
    java version "1.4.2_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
    Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)
    Import Monitor jobs: running 1, waiting 0, completed 18, failed 0, total 19.
    Loading of 'SAPVIEW' import package: ERROR
    Import Monitor jobs: running 0, waiting 0, completed 18, failed 1, total 19.
    2)import_monitor.log
    ERROR: 2008-08-08 16:10:36 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPVIEW' import package is interrupted with R3load error.
    Process 'D:\usr\sap\EC6\SYS\exe\uc\NTI386\R3load.exe -i SAPVIEW.cmd -dbcodepage 4103 -l SAPVIEW.log -nolog -c 0' exited with return code 2.
    For mode details see 'SAPVIEW.log' file.
    Standard error output:
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    INFO: 2008-08-08 16:10:52
    All import packages are processed.
    WARNING: 2008-08-08 16:10:52
    1 error(s) during processing of packages.
    INFO: 2008-08-08 16:10:52
    Import Monitor is stopped.
    3)SAPVIEW.log
      error message returned by DbSl:
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    (DB) ERROR: DDL statement failed
    (CREATE VIEW "Z_T_CO_BW" ( "KOKRS" , "KOSTL" , "VERSN" , "KSTAR" , "WOG001" , "MEG001"  ) AS SELECT T0002."KOKRS", T0002."KOSTL", T0001."VERSN", T0001."KSTAR", T0001."WOG001",  T0001."MEG001" FROM "COSS" T0001, "CSKS" T0002 WHERE T0002."MANDT" = T0001."MANDT")
    DbSlExecute: rc = 103
      (SQL error -942)
      error message returned by DbSl:
    (DB) INFO: disconnected from DB
    D:\usr\sap\EC6\SYS\exe\uc\NTI386\R3load.exe: job finished with 3108 error(s)
    D:\usr\sap\EC6\SYS\exe\uc\NTI386\R3load.exe: END OF LOG: 20080808174211
    Only SAPDB: SAPSID srvice of SAP DB is only up.
    No other services of database are  up.And i am not able to up the other services also.
    Is it required to up the other services?
    If not?
    Why this error is occuring?
    Any help will be appreciated.
    Thanks&Regards
    Manisha das

    Hello Manisha,
    The one of the possible reasons for this is due to lack of H/W.
    Increase your RAM size to atleast 2GB and utilise the same while you are installing ECC in database parameters step..
    If the issue is with H/W, then this should fix the issue.
    Hope it helps,
    Regards,
    Satish.

  • DAG - Backup failing on 1 DB only with error - The Microsoft Exchange Replication service VSS Writer instance ID failed with error code 80070020 when preparing for a backup of database 'DB012'

    Hi Board,
    i´ve search across the board, technet and symantec sites but did not found a hint about my problem.
    we drive a 2 node DAG (Location1-Ex1-mb1 
    Location2-exc1-mb1), on SP2 RU4 patchlevel with 40 Databases.
    Since some time the backup of one - and only one DB - is failing with these events, logged on the Mailboxserver on which the passive DB is hosted.
    Log Name:      Application
    Source:        MSExchangeRepl
    Date:          28.09.2012 00:37:17
    Event ID:      2112
    Task Category: Exchange VSS Writer
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Location1-Exc1-MB1
    Description: The Microsoft Exchange Replication service VSS Writer instance 1ab7d204-609a-4aea-b0a7-70afb0db38de failed with error code 80070020 when preparing for a backup of database 'DB012'.
    Followed by
    Log Name:      Application
    Source:        MSExchangeRepl
    Date:         
    01.10.2012 03:33:06
    Event ID:      2024
    Task Category: Exchange VSS Writer
    Level:         Error
    Keywords:      Classic
    User:         
    N/A
    Computer:      Location1-Exc1-MB1
    Description:
    The Microsoft Exchange Replication service VSS Writer (Instance 42916d80-36c1-4f73-86d0-596d30226349) failed with error 80070020 when preparing for a backup.
    The backup Application - Symantec Backup Exec 2010 R3 – states, this error
    Snapshot provider error (0xE000FED1): A failure occurred querying the Writer status.
    Check the Windows Event Viewer for details.
    Writer Name: Exchange Server, Writer ID: {76FE1AC4-15F7-4BCD-987E-8E1ACB462FB7}, Last error: The VSS Writer failed, but the operation can be retried (0x800423f3), State: Stable (1).
    Symatec suggests within http://www.symantec.com/business/support/index?page=content&id=TECH184095
    to restart the MS Exchange Replication Service – BUT the mentioned eventID
    8229 isn´t present on any of the both Mailboxservers.
    The affected Database is active on Location2-Exc1-Mb1 Server and in an overall healthy state. I found during my research, that below Location2-Exc1-Mb1 Server, there are not removed shadow copies present!
    This confuses me, since all Backups are normally taken from the passive copy of a Database.
    So my questions to the board are:
    * Does anyone is facing similar issues?
    * Can someone explain why snapshots are present on the Mailboxserver hosting the Active Database, whilst the errors are logged on the passive one?
    -          * Does someone know the conditions, why shadows copies remain and
    aren´t removed in a proper manner?
    What can cause the circumstance, that only 1 DB is facing such issues?
    Any suggestion is welcome!
    BR
    Markus

    Hi Lenora,
    I´ve encreases VSS / Exchange Backup Log levels to expert, before starting
    those things i´ve all tried now:
    - Backup from passive DB (forced within Symantec Backup Exec)
    - Backup from active DB (forced within Symantec Backup Exec)
    - Backup from passive DB without GRT enabled (forced within Symantec Backup Exec)
    - Backup from active DB without GRT enabled(forced within Symantec Backup Exec)
    All those attempts failed.
    But brought some more details - the backup against the active DB states, that there is still a backup in progress and therefore this backup is cancelled by VSS.
    The Solution was, that i´ve needed to restart the Exchange Replication Service on the Mailbox Server hosting the passive DB.
    Backups are working again on all DBs!
    THX for your replys.
    Best regards
    Markus

  • Stock variance report Crashes with error code REP-56048

    SR : 6990718.992
    gtcr : http://qmon.oraclecorp.com/qmon3/quickpicks.pl?t=t&q=6990718.992
    Problem Statement : When the user is trying to generate report for Stock variance report from Oracle Retail Merchandising System the report crashes with error code REP-56048.
    The steps to reproduce are specific to Oracle Retail Merchandising system application and hence I have not mentioned here.
    The REP-56048 error seems to be generic. Could you please advise me on this issue.
    Thanks & Regards,
    Sameer

    You can review the following Oracle Metalink Document;
    Comprehensive REP-56048 Troubleshooting and Overview Guide: Doc ID: Note:285281.1
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:88153902823984055::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,285281.1,1,1,1,helvetica
    Hope it would be useful.
    Adith

Maybe you are looking for

  • Mail 3 and gmail issues, notes/todo's in Mail

    Hello, I use Mail 3 with my google mail account using IMAP. I'd like to use the new notes/todo function provided by Mail. When I create a new note, it will be reset to the default values after a minute or two. And it doesn't appear in my iCal calende

  • How to fill a new single field in a Infocube with historical data

    Hello Everybody, We have an SD infocube with historical data since 1997. Some of the infoobjects (fields) of the infocube were empty during all this time. Now we require to fill a single field of the infocube with historical data from R/3. We were th

  • Dreamweaver template to update file other than html?

    Hi, I am using Dreamweaver CS4 to manage my website. The problem is i cannot get Dreamweaver to update my .tpl (php template) Any idea? Thanks

  • Product Line Items In Opportunity Form

    Hi All, I have Product Lookup in Lead form and i Kept Price Lookup also on Lead Form so whenever select Product on Lead Form the Corresponding Default Price List is getting from Product and keeping on Lead Form. So from this Lead Form when i am Quali

  • Root.sh failed:Raw devices for OEL 5.3 and 10.2.0.4 RAC

    Hi We have OEL 5.3 and Oracle RAC 10.2.0.4 While installing clusterware and running root.sh we are getting the error Failed to upgrade the cluster registry. Further the ocrconfig.log are as below: ocrconfig_20527.log Oracle Database 10g CRS Release 1