Cannot Compile when using FileInputStream

I am trying to read data from a file...
I cannot compile this and I have tried importing all of the java.io.* classes and it still does not compile.
Help!
I have the following imports:
import net.rim.device.api.ui.*;
import net.rim.device.api.system.Application;
import javax.microedition.io.*;
import javax.microedition.io.file.*;
import java.io.*;
import net.rim.device.api.ui.component.*;
import net.rim.device.api.ui.container.*;
import net.rim.device.api.system.Bitmap;
import net.rim.device.api.system.*;
import JavaProjects.JDE42.EmergInfo.Resource.*;
import net.rim.device.api.i18n.*;
And the code snippet:
private void ReadDataFile()
try {
FileInputStream fstream = new FileInputStream(_resources.getString(EmergInfoResResource.DWI_DATAFILE));
DataInputStream in = new DataInputStream(fstream);
BufferedReader br = new BufferedReader(new InputStreamReader(in));
String strLine;
//Read File Line By Line
while ((strLine = br.readLine()) != null) {
// Print the content on the console
System.out.println (strLine);
//Close the input stream
in.close();
}catch (Exception e){//Catch exception if any
System.err.println("Error: " + e.getMessage());
On compile, I get the following errors:
Building EmergInfo_DWI
C:\Program Files\Research In Motion\BlackBerry JDE 5.0.0\bin\rapc.exe -quiet codename=EmergInfo_DWI EmergInfo_DWI.rapc warnkey=0x52424200;0x52525400;0x52435200 import="C:\Program Files\Research In Motion\BlackBerry JDE 5.0.0\lib\net_rim_api.jar" D:\JavaProjects\JDE42\EmergInfo\img\DWI_Main.jpg D:\JavaProjects\JDE42\EmergInfo\img\DWI_Main_bw.jpg D:\JavaProjects\JDE42\EmergInfo\Resource\EmergInfoRes.rrc D:\JavaProjects\JDE42\EmergInfo\Resource\EmergInfoRes.rrh D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main_Screen.java
D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java:68: cannot find symbol
symbol : class FileInputStream
location: class Source.DWI_Main
FileInputStream fstream = new FileInputStream(_resources.getString(EmergInfoResResource.DWI_DATAFILE));
^
D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java:68: cannot find symbol
symbol : class FileInputStream
location: class Source.DWI_Main
FileInputStream fstream = new FileInputStream(_resources.getString(EmergInfoResResource.DWI_DATAFILE));
^
D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java:72: cannot find symbol
symbol : class BufferedReader
location: class Source.DWI_Main
BufferedReader br = new BufferedReader(new InputStreamReader(in));
^
D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java:72: cannot find symbol
symbol : class BufferedReader
location: class Source.DWI_Main
BufferedReader br = new BufferedReader(new InputStreamReader(in));
^
4 errors

What I have installed:
Blackberry JDE 4.2.0
Blackberry JDE 5.0.0
Java DB 10.5.3.0
Java SE Development Kit Update 22
Java Platform, Enterprise Edition 5 SDK
Seems I do not have the ME stuff installed...
Edited by: 802969 on Oct 16, 2010 2:07 PM

Similar Messages

  • "Error running javac.exe compiler" when using ant to compile Eclipse plugin

    Hi
    I encounter an error "Error running C:\jdk1.5.0_06\bin\javac.exe compiler" when building my project using ant1.7.
    My project has 10 eclipse plugins, and each plugin is compiled by invoking following ant target
    <!-- ===================================================================
    Compile specified plugin
         target parameters:
              param.plugin.dir: the plugin directory
              param.plugin.targetJarFile: the name of jar file for the given plugin
              param.plugin.src.dir: the folder name of source codes. Note: it is relative path name
              param.fork: indicate if another process is forked to run javac
    =================================================================== -->
    <target name="compilePlugin">
         <!-- Prepare compile environment -->
         <!-- Delete obsolete build folder -->
         <delete dir="${param.plugin.dir}/${build.dir}" quiet="true"/>
         <!-- Delete obsolete jar file -->
         <delete file="${param.plugin.dir}/${param.plugin.targetJarFile}" quiet="true"/>
         <mkdir dir="${param.plugin.dir}/${build.dir}"/>
         <!-- Compile source codes -->
         <javac      srcdir="${param.plugin.dir}/${param.plugin.src.dir}"
                   destdir="${param.plugin.dir}/${build.dir}"
                   failonerror="${javacFailOnError}"
                   verbose="${javacVerbose}"
                   debug="${javacDebugInfo}"
                   deprecation="${javacDeprecation}"
              optimize="${javacOptimize}"
                   source="${javacSource}"
                   target="${javacTarget}"     
                   fork="${param.fork}" memoryInitialSize="256m" memoryMaximumSize="512m">
              <classpath refid="compile.classpath" />
         </javac>
         <!-- Create plugin jar file -->
         <copy todir="${param.plugin.dir}/${build.dir}" failonerror="true">
              <fileset dir="${param.plugin.dir}/${param.plugin.src.dir}" excludes="**/*.java, **/package.htm*" />
         </copy>
         <jar jarfile="${param.plugin.dir}/${param.plugin.targetJarFile}" basedir="${param.plugin.dir}/${build.dir}"/>
         <delete dir="${param.plugin.dir}/${build.dir}" quiet="true"/>
    </target>
    Since each of first 9 plugins contains less than 500 java source files, we always set "param.fork" to false when invoking this ant target.
    For the 10th plugin, it has about 1000 source files. If we set "param.fork" to false, we will get the error "Error running javac.exe compiler". So we have to set "param.fork" to true when compiling it. This week, this plugin contains about 1250 files and we get the same error again when compiling it. I tried to increase the "memoryMaximumSize" to "768", but still couldn't get through it.
    BTW, There are about 150 jar files in our classpath for compiling plugins. Do many jar files cause this problem?
    Any help is highly appreciated.
    Many thanks
    Oceanman

    I encountered a very similar error and I was able to resolve it by removing the following parameters from the javac task:
    fork="${param.fork}"
    memoryInitialSize="256m"
    memoryMaximumSize="512m"My values were not the same as yours, before I removed them, the values were set to:
    fork="true"
    memoryInitialSize="256m"
    memoryMaximumSize="256m" Not sure why this fixed my problem but it did. I was using Ant 1.7 and Java 1.6_07 hope this helps.

  • Error Compiling when using RGB Color Corrector and Unsharp Mask

    If I apply the RGB Color Corrector and and Unsharp mask to a clip within a sequence and try to render the sequence or a small portion of the work area I get the Error Compiling: Unknown error.
    This is occurring within a project I have updated to Premiere CS6 from Premiere CS5. 
    I have tried creating a new sequence and importing the same clip and other clips.  Anytime I try to use both the Unsharp Mask and RGB Color Corrector I am unable to render.  I have tried this with Mercury Playback both in hardware and software modes with the same result.
    Has anyone else seen something like this?

    Okay, glad this occurs for others too and I am not experiencing something isolated. The issue here is this shouldn't be happening at all. 
    Premiere CS5 has no problem with this.
    Yeah if I turn off one effect or the other no problem.  Unfortunately it doesn't matter the order I place the effects in I get the same error regardless of which is placed first.
    Nesting does work.  If I create a sequence, apply one or the other to the clip in the sequence then embed the sequence in another sequence and apply the remaining filter to the sequence containing the clip then I can get my color correction and edge definition.  But this is a work around. 
    There seems to a bug here since there were no issues when using RGB Color Corrector and Unsharp Mask simultaneously applied to one clip in CS5.  I doubt there will be a fix for this anytime soon so it looks like I will have to use another method for color correcting or apply RGB color correction to clips already embedded in a sequence as I move forward into solely using CS6.
    (How this can become an issue is that after applying effects and color correction to several clips within a sequence I like to render that entire sequence.  Then this sequence is ebedded in another main sequence and I can add additional effects and transitions and overlays without killing the live playback speed and only have to render smaller amounts of content from additional tracks.  It ends up saving a lot of time after the initial length of rendering.)
    Thanks for the suggestions.

  • Cannot bind when using "pwdLastSet" attribute in Active Directory

    Admin resets the password & enables user has to change password at next logon, when i try to change user password, I couldn't able to bind the user & it shows error Such as
    Since Authentication fails, he could able to modify the attribute[pwdLastSet].
    please suggest me any solution
    Error occured
    xyz is not authenticated javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 773, vece
    javax.naming.NamingException: [LDAP: error code 1 - 00000000: LdapErr: DSID-0C090A1A, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, vece
    Since i couldn't able to bind the user, i cann;t able to change user password. Here is my program :
    {code}public class Fastbindclient_changePwd extends HttpServlet{
    class ldapfastbind {
    class FastBindConnectionControl implements Control {
    public byte[] getEncodedValue() {
    return null;
    public String getID() {
    return "2.16.840.1.113730.3.4.2";
    public boolean isCritical() {
    return Control.CRITICAL;
    public ldapfastbind(String ldapurl) {
    env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PROTOCOL, "ssl");
    env.put(Context.PROVIDER_URL, ldapurl);
    connCtls = new Control[] { new FastBindConnectionControl() };
    try {
    ctx = new InitialLdapContext(env,connCtls);
    catch (NamingException e) {
    public int Authenticate(String username, String password, HttpServletRequest request, HttpServletResponse response) throws LDAPException{
    try {
    ctx.addToEnvironment(Context.SECURITY_PRINCIPAL,username);
    ctx.addToEnvironment(Context.SECURITY_CREDENTIALS,password);
    ctx.reconnect(connCtls);
    System.out.println(username + " is authenticated");
    return 0;
    catch (AuthenticationException e) {
    int index5= errMsg.indexOf("data 773");
    if(index5 != -1)
    try {
    pwdLastSet = 1;
    System.out.println("Password Last Set "+pwdLastSet);
    String j_username=request.getParameter("j_username");
    String j_password=request.getParameter("j_password");
    String new_password=request.getParameter("new_password");
    String change_password=request.getParameter("change_password");
    boolean isChanged = ctxFast.ChangePassword(j_username, j_password, new_password, request, response);
    } catch (IOException e1) {
    catch (NamingException e) {
    return 0;
    public boolean ChangePassword(String sUserName, String sOldPassword, String sNewPassword, HttpServletRequest request, HttpServletResponse response) throws UnsupportedEncodingException {
    try {
    ModificationItem[] mods = new ModificationItem[1];
    ModificationItem[] mods1 = new ModificationItem[1];
    String oldQuotedPassword = "\"" + sOldPassword + "\"";
    byte[] oldUnicodePassword = oldQuotedPassword.getBytes("UTF-16LE");
    String newQuotedPassword = "\"" + sNewPassword + "\"";
    byte[] newUnicodePassword = newQuotedPassword.getBytes("UTF-16LE");
    System.out.println("newUnicodePassword" + newUnicodePassword);
    System.out.println("printed before modify");
    mods[0] = new ModificationItem(LdapContext.REPLACE_ATTRIBUTE, new BasicAttribute("unicodePwd", newUnicodePassword));
    ctx.modifyAttributes("cn="+sUserName+",cn=Users,dc=tc,dc=com", mods);
    mods1[0] = new ModificationItem(LdapContext.REPLACE_ATTRIBUTE, new BasicAttribute("pwdLastSet", "-1"));
    System.out.println("pwdLastSet Replaced");
    /* mods[0] = new ModificationItem(DirContext.REMOVE_ATTRIBUTE, new BasicAttribute("unicodePwd", oldUnicodePassword));
    mods[1] = new ModificationItem(DirContext.ADD_ATTRIBUTE, new BasicAttribute("unicodePwd", newUnicodePassword));
    ctx.modifyAttributes("cn="+sUserName+",cn=Users,dc=tc,dc=com", mods1);
    ctx.close();
    return true;
    catch (AuthenticationException e) {
    if(index5 != -1)
    try {
    pwdLastSet = 1;
    System.out.println("Password Last Set "+pwdLastSet);
    String j_username=request.getParameter("j_username");
    String j_password=request.getParameter("j_password");
    String new_password=request.getParameter("new_password");
    String change_password=request.getParameter("change_password");
    boolean isChanged = ctxFast.ChangePassword(j_username, j_password, new_password, request, response);
    } catch (IOException e1) {
    // TODO Auto-generated catch block
    e1.printStackTrace();
    return false;
    catch (NamingException e) {
    return false;
    public void finito() {
    try {
    ctx.close();
    System.out.println("Context is closed");
    catch (NamingException e) {
    System.out.println("Context close failure " + e);
    public void bindClient(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    String ldapurl = "ldaps://172.22.0.99:636";
    String keystore = "D:/j2sdk1.4.2_04/jre/lib/security/CACert.ks";
    System.setProperty("javax.net.ssl.trustStore",keystore);
    ctxFast = new ldapfastbind(ldapurl);
    try {
    IsAuthenticated = ctxFast.Authenticate(request.getParameter("j_username"),request.getParameter("j_password"), request, response);
    boolean isChangedNrml;
    if(pwdLastSet == 0)
    isChangedNrml = ctxFast.ChangePassword(j_username, j_password, new_password, request, response);
    System.out.println("b4 change");
    System.out.println("After change 1");
    } catch (LDAPException e) {
    System.out.println("LDAP Exception : " + e.getLDAPResultCode() + "LDAPMessage : " + e.getLDAPErrorMessage()+ "message : " + e.getMessage());
    e.printStackTrace();
    String errMsg = e.getMessage();
    System.out.println("error msa"+errMsg);
    ctxFast.finito();
    public ldapfastbind ctxFast = null;
    public int pwdLastSet = 0;
    }please suggest me solution
    Thanks in Advance..

    See my other reply concerning "user must change password" and the chicken & egg problem.
    In addition when using the LDAP Fast Bind control, it is only used to authenticate a user (verify credentials).
    If the user has the "user must change password" setting enabled, then the LDAP Fast Bind Connection Control will always fail the authentication attempt.
    Furthermore, the LDAP Fast Bind control does not create a Windows token, and even of the user had successfully authenticated, it does not permit the user to perform other operations againts the directory such as modify attribute values or change passwords.
    You must perform a full LDAP bind in order to allow a user to change their password or to modify other attribute values.

  • Compile error in bitset when using 12.4 beta with -std=c++11

    When using the new -std=c++11 option, there is a compile error in SolarisStudio12.4-beta_mar14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.7.2/bitset.
    On line 86, there is a cpp conditional that is using the sizeof() operator.
    Can you use an operator like that in a preprocessor conditional?
    I grepped the other files in that directory and this seems to be the only instance of this usage.
    You can easily reproduce this by compiling a trivial program.
    foo.c:
    #include <bitset>
    int main( void ) { return 0; }
    CC -std=c++11 foo.c
    "/export/home/SolarisStudio12.4-beta_mar14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.7.2/bitset'", line 86: Error: Badly formed constant expression.
    "/export/home/SolarisStudio12.4-beta_mar14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.7.2/bitset", line 89: Error: "}" expected instead of "{".
    "/export/home/SolarisStudio12.4-beta_mar14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.7.2/bitset", line 238: Error: _M_do_left_shift is not a member of std::_Base_bitset<_Nw>.
    "/export/home/SolarisStudio12.4-beta_mar14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.7.2/bitset", line 264: Error: _M_do_right_shift is not a member of std::_Base_bitset<_Nw>.
    "/export/home/SolarisStudio12.4-beta_mar14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.7.2/bitset", line 291: Error: _M_do_to_ulong is not a member of std::_Base_bitset<_Nw>.
    "/export/home/SolarisStudio12.4-beta_mar14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.7.2/bitset", line 302: Error: _M_do_to_ullong is not a member of std::_Base_bitset<_Nw>.
    "/export/home/SolarisStudio12.4-beta_mar14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.7.2/bitset", line 319: Error: _M_do_find_first is not a member of std::_Base_bitset<_Nw>.
    "/export/home/SolarisStudio12.4-beta_mar14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.7.2/bitset", line 335: Error: _M_do_find_next is not a member of std::_Base_bitset<_Nw>.
    I didn't look into lines 238+ yet. Figured that was likely a side-effect from the earlier problem once the parsing got off-track.

    SFV wrote:
    > it means <memory> can't be included either.
    There should be no problem with <memory> related to this issue and I dont see how it could change with non-supported platform
    (as we bring those headers with the compiler).
    So if it does not work for you then it is something new and it would be nice to know details.
    stedding /tmp $ cat mem.cc
    #include <memory>
    stedding /tmp $ sunCC mem.cc -c -std=c++11
    "/opt/SolarisStudio12.4-beta_mar14-linux-x86/lib/compilers/CC-gcc/include/c++/4.7.2/ext/concurrence.h", line 202: Error: Cannot assign ? to pthread_mutex_t.
    "/opt/SolarisStudio12.4-beta_mar14-linux-x86/lib/compilers/CC-gcc/include/c++/4.7.2/ext/concurrence.h", line 202: Error: Cannot assign ? to pthread_mutex_t.
    2 Error(s) detected.
    The problematic line is:
        __gthread_recursive_mutex_t _M_mutex = __GTHREAD_RECURSIVE_MUTEX_INIT;

  • Compiling problem when using ansi c compiler on solaris 11

    Hello
    I'm using solaris 11 on sparc T4 server.
    I was trying to generate tpch benchmark data set on the server. I downloaded the tpch files from http://www.tpc.org/tpch/default.asp website. There's a makefile that is used to compile the data generation program. In the makefile, there's a line that specifies which compiler to use. After searching the web, I think it might be "cc" on solaris. so I installed oracle solaris studio 12.3, gcc-3, gcc-45 and set the environment variable:
    export PATH=$ORACLE_HOME/bin:$ORACLE_BASE/oracle_solaris_studio/SolarisStudio12.3-solaris-sparc-bin/solarisstudio12.3/bin:$PATH
    export MANPATH=$ORACLE_BASE/oracle_solaris_studio/SolarisStudio12.3-solaris-sparc-bin/solarisstudio12.3/man:$MANPATH
    -bash-4.1$ which cc
    /export/home/oracle/oracle_solaris_studio/SolarisStudio12.3-solaris-sparc-bin/solarisstudio12.3/bin/cc
    when I run $make, I got the following error. Do you know what the problem might be? Am I using the correct compiler?
    Thank you very much. I appreciate any help.
    -bash-4.1$ make
    cc -g -DDBNAME=\"dss\" -DSUN -DORACLE -DTPCH -DRNG_TEST -D_FILE_OFFSET_BITS=64 -c build.c
    "build.c", line 35: cannot find include file: <stdio.h>
    "build.c", line 36: cannot find include file: <string.h>
    "build.c", line 38: cannot find include file: <sys/types.h>
    "build.c", line 41: cannot find include file: <unistd.h>
    "/usr/include/iso/math_iso.h", line 13: cannot find include file: <sys/feature_tests.h>
    "/usr/include/iso/math_c99.h", line 12: cannot find include file: <sys/feature_tests.h>
    "/usr/include/floatingpoint.h", line 39: cannot find include file: <stdio_tag.h>
    "/usr/include/floatingpoint.h", line 45: syntax error before or at: FILE
    "/usr/include/floatingpoint.h", line 164: syntax error before or at: FILE
    "dss.h", line 84: cannot find include file: <stdio.h>
    "dss.h", line 85: cannot find include file: <stdlib.h>
    "dss.h", line 210: warning: old-style declaration or incorrect type for: FILE
    "dss.h", line 210: syntax error before or at: *
    "dss.h", line 210: warning: old-style declaration or incorrect type for: tbl_open
    "dss.h", line 471: syntax error before or at: FILE
    "dss.h", line 471: warning: undefined or missing type for: FILE
    "dss.h", line 471: warning: undefined or missing type for: void
    "dss.h", line 471: warning: undefined or missing type for: int
    "dss.h", line 471: warning: undefined or missing type for: int
    "build.c", line 89: warning: implicit function declaration: sprintf
    "build.c", line 115: warning: implicit function declaration: strlen
    "build.c", line 160: undefined symbol: NULL
    "build.c", line 160: warning: improper pointer/integer combination: op "="
    "build.c", line 160: non-constant initializer: op "NAME"
    "build.c", line 172: warning: improper pointer/integer combination: op "=="
    "build.c", line 189: warning: implicit function declaration: strcpy
    "build.c", line 348: warning: implicit function declaration: memcpy
    "build.c", line 368: undefined symbol: NULL
    "build.c", line 368: warning: improper pointer/integer combination: op "="
    "build.c", line 368: non-constant initializer: op "NAME"
    cc: acomp failed for build.c
    *** Error code 2
    make: Fatal error: Command failed for target `build.o'

    Thank you very much for your reply.
    system/header is not installed on the server, but when I tried to install it , I got an error that said there was a conflict. How should I solve this?
    -bash-4.1$ sudo pkg install system/header
    Creating Plan /
    pkg install: No matching version of system/header can be installed:
    Reject: pkg://solaris/system/[email protected],5.11-0.175.0.0.0.2.1:20111019T073158Z
    Reason: This version is excluded by installed incorporation pkg://solaris/consolidation/osnet/[email protected],5.11-0.175.0.4.0.5.1:20120206T225911Z
    -bash-4.1$ sudo pkg install pkg:/system/header
    Creating Plan /
    pkg install: No matching version of system/header can be installed:
    Reject: pkg://solaris/system/[email protected],5.11-0.175.0.0.0.2.1:20111019T073158Z
    Reason: This version is excluded by installed incorporation pkg://solaris/consolidation/osnet/[email protected],5.11-0.175.0.4.0.5.1:20120206T225911Z

  • Compile err mkfifo: cannot create fifo / using SSHFS

    mkfifo: cannot create fifo '/compile/firefox/logpipe.uagECToo': Operation not permitted
    I did open acces to user root to this directory after this happend.
    It did not help.
    It is a sshfs by sshd directory/filesystem on ext4.
    My pc compiles and uses anothers pc free disk space.
    (Another pc can not compile because it has unauthorised(forbidden) memory access error(SIGVI of something similar) when compiiling firefox. I think I have to reinstall system,it has experienced 0 free space on root partition)

    Looks like an sshfs limitation.

  • [Microsoft][SQL Server Native Client 11.0][SQL Server]The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator.  'Items' (OITM) (OITM)

    Dear Experts,
    i am getting the below error when i was giving * (Star) to view all the items in DB
    [Microsoft][SQL Server Native Client 11.0][SQL Server]The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator.  'Items' (OITM) (OITM)
    As i was searching individually it is working fine
    can any one help me how to find this..
    Regards,
    Meghanath.S

    Dear Nithi Anandham,
    i am not having any query while finding all the items in item master data i am giving find mode and in item code i was trying to type *(Star) and enter while typing enter the above issue i was facing..
    Regards,
    Meghanath

  • Error in SQL Query The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator. for the query

    hi Experts,
    while running SQL Query i am getting an error as
    The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator. for the query
    select  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price ,
    T2.LineText
    from OQUT T0  INNER JOIN QUT1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN
    QUT10 T2 ON T1.DocEntry = T2.DocEntry where T1.DocEntry='590'
    group by  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price
    ,T2.LineText
    how to resolve the issue

    Dear Meghanath,
    Please use the following query, Hope your purpose will serve.
    select  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price ,
    CAST(T2.LineText as nvarchar (MAX))[LineText]
    from OQUT T0  INNER JOIN QUT1 T1 ON T0.DocEntry = T1.DocEntry LEFT OUTER JOIN
    QUT10 T2 ON T1.DocEntry = T2.DocEntry --where T1.DocEntry='590'
    group by  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price
    ,CAST(T2.LineText as nvarchar (MAX))
    Regards,
    Amit

  • I cannot open pdf files from one supplier when using Adobe Reader but I can using another Viewer

    I cannot open pdf files from one supplier when using Adobe Reader but I can open it if using Google PDF viewer or another viewer. The Adobe reader gives the error "There was an error opening this document. The file is damaged and could not be repaired" when I try to open the file. The version of Adobe Reader is 10.1.7, however I have tried other versions and they all fail the same way.  I have tested on a number of different PC's in different networks and all fail using Adobe Reader but work using alternate viewer. Also the PC's will open a PDF from any other source.

    Newer Reader versions are more strict than older versions (and other PDF viewers).  If certain minimum requirements are not met, Reader will tell you that the PDF is damaged.  This can happen when a document was created with software that does not adhere to PDF standards, or when the file was damaged during a download or email transmission.
    You should contact the creator of these PDFs.

  • Compiler error when useing switch statements in an inner class

    I have defined several constants in a class and want to use this constans also in an inner class.
    All the constants are defined as private static final int.
    All works fine except when useing the switch statement in the inner class. I get the compiler error ""constant expression required". If I change the definition from private static final to protected static final it works, but why?
    What's the difference?
    Look at an example:
    public class Switchtest
       private static final int AA = 0;     
       protected static final int BB = 1;     
       private static int i = 0;
       public Switchtest()
          i = 0; // <- OK
          switch(i)
             case AA: break; //<- OK, funny no problem
             case BB: break; //<- OK
             default: break;
      private class InnerClass
          public InnerClass()
             i = 0; // <- OK: is accessible
             if (AA == i) // <- OK: AA is seen by the inner class; i  is also accessible
                i = AA + 1;
             switch(i)
                case AA: break; // <- STRANGE?! Fail: Constant expression required
                case BB: break; // <- OK
                default: break;
    }Thank's a lot for an explanation.

    Just a though:
    Maybe some subclass of Switchtest could decalare its own variable AA that is not final, but it can not declare its own BB because it is visible from the superclass. Therefore the compiler can not know for sure that AA is final.

  • I tried to send a mail message to too many addees. when the rejection came back "cannot send message using the server..." the window is too long to be able to see the choices at the bottom of it. how can i see the choices at the bottom of that window?

    I tried to send a mail message to too many addees. when the rejection came back "cannot send message using the server..." the window is too long to be able to see the choices at the bottom of it. how can I see the choices at the bottom of that window?

    I tried to send it through gmail and the acct is  a POP acct
    I'm not concerned about sending to the long address list. I just can't get the email and window that says "cannot send emai using the server..." to go away. The default must be "retry", because although I cannot see the choices at the bottom of the window if I hit return it trys again... and then of course comes back with the very long pop up window that I cannot see the bottom of so I can tell it to quit trying...

  • When I connect my iPod touch to my stereo, I cannot skip tracks using my iPod or the stereo controls.

    When I connect my iPod touch to my stereo, I cannot change tracks using the iPod or the stereo controls. I did not have this problem with my iPod nano. I have the software update 4.2.1 installed. Is it a problem with the software or the stereo? Please help.

    Here:
    iPhone, iPad, iPod touch: How to restart the Apple Mobile Device Service (AMDS) on Windows

  • Need help please. When using Safari while banking online I cannot get rid of Pop ups although I have ticket no Pop ups. Any ideas ?

    Need your help please. When using Safari while banking online- I cannot get rid of the Pop ups although I have ticked the correct place. Any ideas ?
    A few months ago I downloaded a program someone suggested.

    Get Adblock or GlimmerBlocker.

  • When using safari, I cannot reduce a page to see another page I previously opened.  The reduce bottom is not at the top of the page.

    When using safari to search, I cannot reduce the page to pull up another page I previously searched.  The button at the top of the page to reduce is not there any more.  Can you help me bring it back?  I used to be able to see many screens I had previously used and reduced. 

    You can feedback to Apple
    http://www.apple.com/feedback/ipad.html

Maybe you are looking for